mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 10:35:12 +08:00
Wed Sep 6 23:15:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
* remote-rdi.c (voiddummy): Update function signature to match struct Dbg_HostosInterface's reset method. * remote-rdp.c (rdp_step): Fix handle parameter to remote_rdp_insert_breakpoint and remote_rdp_remove_breakpoint. * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default definition. (arm_init_extra_frame_info): Use.
This commit is contained in:
parent
492055e633
commit
3bb04bddc3
@ -1,3 +1,14 @@
|
|||||||
|
Wed Sep 6 23:15:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* remote-rdi.c (voiddummy): Update function signature to match
|
||||||
|
struct Dbg_HostosInterface's reset method.
|
||||||
|
* remote-rdp.c (rdp_step): Fix handle parameter to
|
||||||
|
remote_rdp_insert_breakpoint and remote_rdp_remove_breakpoint.
|
||||||
|
|
||||||
|
* arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default
|
||||||
|
definition.
|
||||||
|
(arm_init_extra_frame_info): Use.
|
||||||
|
|
||||||
2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||||
|
|
||||||
* m68hc11-tdep.c (m68hc11_store_return_value): Store the value
|
* m68hc11-tdep.c (m68hc11_store_return_value): Store the value
|
||||||
|
@ -51,8 +51,13 @@
|
|||||||
done. It should not be necessary to modify the code below where
|
done. It should not be necessary to modify the code below where
|
||||||
this macro is used. */
|
this macro is used. */
|
||||||
|
|
||||||
#ifndef SIGCONTEXT_REGISTER_ADDRESS
|
#ifdef SIGCONTEXT_REGISTER_ADDRESS
|
||||||
#define SIGCONTEXT_REGISTER_ADDRESS 0
|
#ifndef SIGCONTEXT_REGISTER_ADDRESS_P
|
||||||
|
#define SIGCONTEXT_REGISTER_ADDRESS_P() 1
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define SIGCONTEXT_REGISTER_ADDRESS(SP,PC,REG) 0
|
||||||
|
#define SIGCONTEXT_REGISTER_ADDRESS_P() 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void _initialize_arm_tdep (void);
|
extern void _initialize_arm_tdep (void);
|
||||||
@ -1040,7 +1045,7 @@ arm_init_extra_frame_info (int fromleaf, struct frame_info *fi)
|
|||||||
to first fetch the name of the function and then pass this name
|
to first fetch the name of the function and then pass this name
|
||||||
to IN_SIGTRAMP. */
|
to IN_SIGTRAMP. */
|
||||||
|
|
||||||
if (SIGCONTEXT_REGISTER_ADDRESS
|
if (SIGCONTEXT_REGISTER_ADDRESS_P ()
|
||||||
&& (fi->signal_handler_caller || IN_SIGTRAMP (fi->pc, 0)))
|
&& (fi->signal_handler_caller || IN_SIGTRAMP (fi->pc, 0)))
|
||||||
{
|
{
|
||||||
CORE_ADDR sp;
|
CORE_ADDR sp;
|
||||||
|
@ -141,7 +141,7 @@ arm_rdi_start_remote (char *dummy)
|
|||||||
these to forward output from the target system and so forth. */
|
these to forward output from the target system and so forth. */
|
||||||
|
|
||||||
void
|
void
|
||||||
voiddummy (void)
|
voiddummy (void *dummy)
|
||||||
{
|
{
|
||||||
fprintf_unfiltered (gdb_stdout, "void dummy\n");
|
fprintf_unfiltered (gdb_stdout, "void dummy\n");
|
||||||
}
|
}
|
||||||
|
@ -1096,9 +1096,9 @@ rdp_step (void)
|
|||||||
char handle[4];
|
char handle[4];
|
||||||
CORE_ADDR pc = read_register (PC_REGNUM);
|
CORE_ADDR pc = read_register (PC_REGNUM);
|
||||||
pc = arm_get_next_pc (pc);
|
pc = arm_get_next_pc (pc);
|
||||||
remote_rdp_insert_breakpoint (pc, &handle);
|
remote_rdp_insert_breakpoint (pc, handle);
|
||||||
rdp_execute ();
|
rdp_execute ();
|
||||||
remote_rdp_remove_breakpoint (pc, &handle);
|
remote_rdp_remove_breakpoint (pc, handle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user