diff options
author | Fred Fish <fnf@specifix.com> | 1996-07-26 03:01:51 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-07-26 03:01:51 +0000 |
commit | b607efe7149f91512dc5fd9dbfc4c6156cdf9a93 (patch) | |
tree | b90b82aac0d802ec179525d8d80635a44c562f1e /gdb/alpha-tdep.c | |
parent | dc88c64e2c0dbc786d0cee2b3bde0bdee8fcf2d1 (diff) | |
download | gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.zip gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.gz gdb-b607efe7149f91512dc5fd9dbfc4c6156cdf9a93.tar.bz2 |
See gdb ChangeLog entry with header:
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
for a rather huge set of changes. I was going to put them here, but it
made cvs dump core. :-(
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r-- | gdb/alpha-tdep.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index d778bf2..08cd6d4 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -37,6 +37,8 @@ extern struct obstack frame_cache_obstack; /* Forward declarations. */ +static alpha_extra_func_info_t push_sigtramp_desc PARAMS ((CORE_ADDR low_addr)); + static CORE_ADDR read_next_frame_reg PARAMS ((struct frame_info *, int)); static CORE_ADDR heuristic_proc_start PARAMS ((CORE_ADDR)); @@ -155,11 +157,12 @@ struct linked_proc_info guarantee that we are in the middle of a sigreturn syscall. Don't think this will be a problem in praxis, though. */ + long alpha_linux_sigtramp_offset (CORE_ADDR pc) { unsigned int i[3], w; - long off, res; + long off; if (read_memory_nobpt(pc, (char *) &w, 4) != 0) return -1; @@ -209,8 +212,9 @@ alpha_osf_skip_sigtramp_frame (frame, pc) the signal-handler return code starting at address LOW_ADDR. The descriptor is added to the linked_proc_desc_table. */ -alpha_extra_func_info_t -push_sigtramp_desc (CORE_ADDR low_addr) +static alpha_extra_func_info_t +push_sigtramp_desc (low_addr) + CORE_ADDR low_addr; { struct linked_proc_info *link; alpha_extra_func_info_t proc_desc; @@ -233,6 +237,7 @@ push_sigtramp_desc (CORE_ADDR low_addr) PROC_PC_REG (proc_desc) = 26; PROC_LOCALOFF (proc_desc) = 0; SET_PROC_DESC_IS_DYN_SIGTRAMP (proc_desc); + return (proc_desc); } |