diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-02-16 02:17:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-02-16 02:17:02 +0000 |
commit | 55e5a6d08652d08d10e50b4c45208829885a990b (patch) | |
tree | ecc8fe5bd1c4cca59ef1a6f121d83fc87d523c47 /gdb | |
parent | 2bc0639d37c8608ded94a4a46cb8d726dd364267 (diff) | |
download | gdb-55e5a6d08652d08d10e50b4c45208829885a990b.zip gdb-55e5a6d08652d08d10e50b4c45208829885a990b.tar.gz gdb-55e5a6d08652d08d10e50b4c45208829885a990b.tar.bz2 |
* amd64-linux-tdep.c: Update copyright year.
(amd64_linux_sigtramp_start): Change argument to `struct
frame_info *'. Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust call to
amd64_linux_sigtramp_start.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/amd64-linux-tdep.c | 7 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 87c7d96..e1faf82 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2005-02-15 Mark Kettenis <kettenis@gnu.org> + + * amd64-linux-tdep.c: Update copyright year. + (amd64_linux_sigtramp_start): Change argument to `struct + frame_info *'. Use safe_frame_unwind_memory instead of + deprecated_read_memory_nobpt. + (amd64_linux_sigtramp_p): Adjust call to + amd64_linux_sigtramp_start. + 2004-02-15 Joel Brobecker <brobecker@gnat.com> From Paul Hilfinger <hilfinger@gnat.com> diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c index 2bca2e0..57eadf2 100644 --- a/gdb/amd64-linux-tdep.c +++ b/gdb/amd64-linux-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for GNU/Linux x86-64. - Copyright 2001, 2003, 2004 Free Software Foundation, Inc. + Copyright 2001, 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Jiri Smid, SuSE Labs. This file is part of GDB. @@ -98,7 +98,7 @@ amd64_linux_sigtramp_start (struct frame_info *next_frame) PC is not at the start of the instruction sequence, there will be a few trailing readable bytes on the stack. */ - if (!safe_frame_unwind_memory (next_frame, pc, buf, LINUX_SIGTRAMP_LEN)) + if (!safe_frame_unwind_memory (next_frame, pc, buf, sizeof buf)) return 0; if (buf[0] != LINUX_SIGTRAMP_INSN0) @@ -107,8 +107,7 @@ amd64_linux_sigtramp_start (struct frame_info *next_frame) return 0; pc -= LINUX_SIGTRAMP_OFFSET1; - - if (!safe_frame_unwind_memory (next_frame, pc, buf, LINUX_SIGTRAMP_LEN)) + if (!safe_frame_unwind_memory (next_frame, pc, buf, sizeof buf)) return 0; } |