From: Jim Blandy <jimb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: RFA: finish the job (gdbarching solib functions)
Date: Thu, 05 Jun 2003 22:49:00 -0000 [thread overview]
Message-ID: <vt2k7c0xhpu.fsf@zenia.home> (raw)
I missed another #definition of SKIP_TRAMPOLINE_CODE lower down in
tm-linux.h.
2003-06-05 Jim Blandy <jimb@redhat.com>
Actually finish the job started by my change of 2003-05-29.
* config/powerpc/tm-linux.h (SKIP_TRAMPOLINE_CODE): Remove the
other #definition of this.
(ppc_linux_skip_trampoline_code): Remove declaration.
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Make this
static.
(ppc_linux_init_abi): Register it as the skip_trampoline_code
method for GDBARCH.
Index: gdb/ppc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v
retrieving revision 1.30
diff -c -r1.30 ppc-linux-tdep.c
*** gdb/ppc-linux-tdep.c 2 Jun 2003 02:09:39 -0000 1.30
--- gdb/ppc-linux-tdep.c 5 Jun 2003 22:40:51 -0000
***************
*** 229,235 ****
&& insn_is_sigreturn (extract_unsigned_integer (buf, 4))));
}
! CORE_ADDR
ppc_linux_skip_trampoline_code (CORE_ADDR pc)
{
char buf[4];
--- 229,235 ----
&& insn_is_sigreturn (extract_unsigned_integer (buf, 4))));
}
! static CORE_ADDR
ppc_linux_skip_trampoline_code (CORE_ADDR pc)
{
char buf[4];
***************
*** 749,755 ****
/* Shared library handling. */
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
! set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
}
void
--- 749,755 ----
/* Shared library handling. */
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
! set_gdbarch_skip_trampoline_code (gdbarch, ppc_linux_skip_trampoline_code);
}
void
Index: gdb/config/powerpc/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/tm-linux.h,v
retrieving revision 1.12
diff -c -r1.12 tm-linux.h
*** gdb/config/powerpc/tm-linux.h 30 May 2003 03:44:05 -0000 1.12
--- gdb/config/powerpc/tm-linux.h 5 Jun 2003 22:40:51 -0000
***************
*** 48,57 ****
in symfile.c) */
#undef IBM6000_TARGET
- extern CORE_ADDR ppc_linux_skip_trampoline_code (CORE_ADDR pc);
- #undef SKIP_TRAMPOLINE_CODE
- #define SKIP_TRAMPOLINE_CODE(pc) ppc_linux_skip_trampoline_code (pc)
-
extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
#undef IN_SIGTRAMP
#define IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
--- 48,53 ----
next reply other threads:[~2003-06-05 22:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-05 22:49 Jim Blandy [this message]
2003-06-11 0:01 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vt2k7c0xhpu.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox