Blame gdb-false-gcc-warning.patch
|
Jan Kratochvil |
1bcf9b6 |
--- gdb-7.1.90.20100806/gdb/infcall.c.orig 2010-08-10 00:34:10.000000000 +0200
|
|
Jan Kratochvil |
1bcf9b6 |
+++ gdb-7.1.90.20100806/gdb/infcall.c 2010-08-10 00:36:03.000000000 +0200
|
|
Jan Kratochvil |
1bcf9b6 |
@@ -284,7 +284,7 @@ find_function_addr (struct value *functi
|
|
Jan Kratochvil |
1bcf9b6 |
struct type *ftype = check_typedef (value_type (function));
|
|
Jan Kratochvil |
1bcf9b6 |
struct gdbarch *gdbarch = get_type_arch (ftype);
|
|
Jan Kratochvil |
1bcf9b6 |
struct type *value_type = NULL;
|
|
Jan Kratochvil |
1bcf9b6 |
- CORE_ADDR funaddr;
|
|
Jan Kratochvil |
1bcf9b6 |
+ CORE_ADDR funaddr = 0; /* GCC false -fprofile-use warning. */
|
|
Jan Kratochvil |
1bcf9b6 |
|
|
Jan Kratochvil |
1bcf9b6 |
/* If it's a member function, just look at the function
|
|
Jan Kratochvil |
1bcf9b6 |
part of it. */
|