diff options
author | Doug Evans <dje@google.com> | 2010-03-04 16:39:56 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-03-04 16:39:56 +0000 |
commit | a1b0b74c2c4185fba42b2198fb429f57216a7097 (patch) | |
tree | 62d0875cebfb3172b9998876c758ad3304550c8e | |
parent | 56e3b00367a23ec5ccbaa37e63405c2f97c9c2f7 (diff) | |
download | gdb-a1b0b74c2c4185fba42b2198fb429f57216a7097.tar.gz |
* arm-tdep.c (arm_stub_unwind_sniffer): Add comment.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 128cc9afede..b0861d04f3e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-04 Doug Evans <dje@google.com> + + * arm-tdep.c (arm_stub_unwind_sniffer): Add comment. + 2010-03-04 Pedro Alves <pedro@codesourcery.com> * breakpoint.c (update_watchpoint): Create a sentinel location if diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 80be2ccf630..353bc487f37 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -1236,6 +1236,8 @@ arm_stub_unwind_sniffer (const struct frame_unwind *self, addr_in_block = get_frame_address_in_block (this_frame); if (in_plt_section (addr_in_block, NULL) + /* We also use the stub winder if the target memory is unreadable + to avoid having the prologue unwinder trying to read it. */ || target_read_memory (get_frame_pc (this_frame), dummy, 4) != 0) return 1; |