From: rdbrown@mira.net
To: gdb-patches@sources.redhat.com
Subject: Patch: gdb/hppa-tdep.c fix compilation.
Date: Sun, 15 Dec 2002 08:05:00 -0000 [thread overview]
Message-ID: <20021215071024.GB4792@urtur> (raw)
Fix compilation of hppa-tdep.c and remove implicit declarations.
1213/gdb/hppa-tdep.c: In function `hppa_pop_frame':
1213/gdb/hppa-tdep.c:1607:\
incompatible type for argument 2 of `set_momentary_breakpoint'
1213/gdb/hppa-tdep.c: In function `hppa_fix_call_dummy':
1213/gdb/hppa-tdep.c:2296: warning:\
implicit declaration of function `som_solib_get_solib_by_pc'
1213/gdb/hppa-tdep.c: In function `hppa_prepare_to_proceed':
1213/gdb/hppa-tdep.c:4640: warning:\
implicit declaration of function `hppa_switched_threads'
2002-12-15 Rodney Brown <rbrown64@csc.com.au>
* hppa-tdep.c: Prototype som_solib_get_solib_by_pc,
hppa_switched_threads.
(hppa_pop_frame): null_frame_id in set_momemtary_breakpoint.
--- /home/rdb/gdb+dejagnu-20021208/gdb/hppa-tdep.c 2002-12-15 17:31:09.000000000 +1100
+++ ./hppa-tdep.c 2002-12-15 14:29:21.000000000 +1100
@@ -146,7 +146,9 @@ int hppa_cannot_store_register (int regn
CORE_ADDR hppa_frame_args_address (struct frame_info *fi);
CORE_ADDR hppa_frame_locals_address (struct frame_info *fi);
CORE_ADDR hppa_smash_text_address (CORE_ADDR addr);
+pid_t hppa_switched_threads (pid_t pid);
int hppa_coerce_float_to_double (struct type *formal, struct type *actual);
+CORE_ADDR som_solib_get_solib_by_pc (CORE_ADDR addr);
typedef struct
{
@@ -1604,7 +1606,7 @@ hppa_pop_frame (void)
for "return_command" will print the frame we returned to. */
sal = find_pc_line (target_pc, 0);
sal.pc = target_pc;
- breakpoint = set_momentary_breakpoint (sal, NULL, bp_finish);
+ breakpoint = set_momentary_breakpoint (sal, null_frame_id, bp_finish);
breakpoint->silent = 1;
/* So we can clean things up. */
next reply other threads:[~2002-12-15 6:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-15 8:05 rdbrown [this message]
2002-12-16 8:25 ` Joel Brobecker
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=20021215071024.GB4792@urtur \
--to=rdbrown@mira.net \
--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