]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.3-ppcdotsolib-20041022.patch
- obsolete file
[packages/gdb.git] / gdb-6.3-ppcdotsolib-20041022.patch
CommitLineData
3a58abaf
AM
12004-10-22 Andrew Cagney <cagney@gnu.org>
2
3 * solib-svr4.c (enable_break): Convert a symbol descriptor into
4 the corresponding function entry point.
5 (solib_break_names): Delete "._dl_debug_state", no longer needed.
6
72007-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8
9 Port to GDB-6.7.
10
11Index: gdb-6.7/gdb/solib-svr4.c
12===================================================================
13--- gdb-6.7.orig/gdb/solib-svr4.c 2007-10-09 20:03:30.000000000 +0200
14+++ gdb-6.7/gdb/solib-svr4.c 2007-10-12 22:34:03.000000000 +0200
15@@ -1089,7 +1089,15 @@ enable_break (void)
16 {
17 sym_addr = bfd_lookup_symbol (tmp_bfd, *bkpt_namep);
18 if (sym_addr != 0)
19- break;
20+ {
21+ /* The symbol might be a descriptor, convert to into the
22+ corresponding code address. */
23+ sym_addr = gdbarch_convert_from_func_ptr_addr (current_gdbarch,
24+ sym_addr,
25+ tmp_bfd_target);
26+ if (sym_addr != 0)
27+ break;
28+ }
29 }
30
31 if (sym_addr != 0)
This page took 0.038036 seconds and 4 git commands to generate.