mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-04 08:08:01 +00:00
* solib-svr4.c (enable_break): Convert r_brk to a code address.
This commit is contained in:
parent
584206dbd5
commit
b36ec657cd
@ -1,3 +1,7 @@
|
||||
2008-02-22 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* solib-svr4.c (enable_break): Convert r_brk to a code address.
|
||||
|
||||
2008-02-21 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* remote.c (extended_remote_attach_1): Set attach_flag.
|
||||
|
@ -998,6 +998,11 @@ enable_break (void)
|
||||
{
|
||||
struct obj_section *os;
|
||||
|
||||
sym_addr = gdbarch_addr_bits_remove
|
||||
(current_gdbarch, gdbarch_convert_from_func_ptr_addr (current_gdbarch,
|
||||
sym_addr,
|
||||
¤t_target));
|
||||
|
||||
os = find_pc_section (sym_addr);
|
||||
if (os != NULL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user