mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
2004-04-06 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_breakpoint_from_pc): Make static. (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32): (hppa_breakpoint_from_pc): Delete.
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
2004-04-06 Andrew Cagney <cagney@redhat.com>
|
2004-04-06 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* hppa-tdep.c (hppa_breakpoint_from_pc): Make static.
|
||||||
|
(hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc
|
||||||
|
* config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32):
|
||||||
|
(hppa_breakpoint_from_pc): Delete.
|
||||||
|
|
||||||
* MAINTAINERS: Mark hppa-elf as buildable with -Werror.
|
* MAINTAINERS: Mark hppa-elf as buildable with -Werror.
|
||||||
|
|
||||||
2004-04-05 Andrew Cagney <cagney@redhat.com>
|
2004-04-05 Andrew Cagney <cagney@redhat.com>
|
||||||
|
@ -39,12 +39,6 @@ struct value;
|
|||||||
struct type;
|
struct type;
|
||||||
struct inferior_status;
|
struct inferior_status;
|
||||||
|
|
||||||
/* Sequence of bytes for breakpoint instruction. */
|
|
||||||
|
|
||||||
const unsigned char *hppa_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr);
|
|
||||||
#define BREAKPOINT_FROM_PC(PCPTR,LENPTR) hppa_breakpoint_from_pc ((PCPTR), (LENPTR))
|
|
||||||
#define BREAKPOINT32 0x10004
|
|
||||||
|
|
||||||
extern int hppa_pc_requires_run_before_use (CORE_ADDR pc);
|
extern int hppa_pc_requires_run_before_use (CORE_ADDR pc);
|
||||||
#define PC_REQUIRES_RUN_BEFORE_USE(pc) hppa_pc_requires_run_before_use (pc)
|
#define PC_REQUIRES_RUN_BEFORE_USE(pc) hppa_pc_requires_run_before_use (pc)
|
||||||
|
|
||||||
|
@ -658,7 +658,7 @@ find_unwind_entry (CORE_ADDR pc)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const unsigned char *
|
static const unsigned char *
|
||||||
hppa_breakpoint_from_pc (CORE_ADDR *pc, int *len)
|
hppa_breakpoint_from_pc (CORE_ADDR *pc, int *len)
|
||||||
{
|
{
|
||||||
static const unsigned char breakpoint[] = {0x00, 0x01, 0x00, 0x04};
|
static const unsigned char breakpoint[] = {0x00, 0x01, 0x00, 0x04};
|
||||||
@ -2727,6 +2727,8 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||||||
internal_error (__FILE__, __LINE__, "bad switch");
|
internal_error (__FILE__, __LINE__, "bad switch");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_gdbarch_breakpoint_from_pc (gdbarch, hppa_breakpoint_from_pc);
|
||||||
|
|
||||||
/* Frame unwind methods. */
|
/* Frame unwind methods. */
|
||||||
set_gdbarch_unwind_dummy_id (gdbarch, hppa_unwind_dummy_id);
|
set_gdbarch_unwind_dummy_id (gdbarch, hppa_unwind_dummy_id);
|
||||||
set_gdbarch_unwind_pc (gdbarch, hppa_unwind_pc);
|
set_gdbarch_unwind_pc (gdbarch, hppa_unwind_pc);
|
||||||
|
Reference in New Issue
Block a user