2003-01-08 Andrew Cagney <cagney@redhat.com>

* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
	get_frame_base.
This commit is contained in:
Andrew Cagney 2003-01-09 00:24:50 +00:00
parent 67f047db78
commit 1c615f7a40
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
get_frame_base.
2003-01-08 Andrew Cagney <ac131313@redhat.com>
* gdb_mbuild.sh: Edit the output of `maint print architecture'

View file

@ -96,7 +96,7 @@ alpha_linux_pc_in_sigtramp (CORE_ADDR pc, char *func_name)
static CORE_ADDR
alpha_linux_sigcontext_addr (struct frame_info *frame)
{
return (frame->frame - 0x298); /* sizeof(struct sigcontext) */
return (get_frame_base (frame) - 0x298); /* sizeof(struct sigcontext) */
}
static void