| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
(ppc_linux_init_abi): Register it as our bfd_entry_point address.
|
|
|
|
|
|
|
|
| |
* arch-utils.c (generic_bfd_entry_point): New function.
* arch-utils.h (generic_bfd_entry_point): New declaration.
* gdbarch.c, gdbarch.h: Regenerated.
* solib-svr4.c (enable_break): Call it, instead of accessing
tmp_bfd->start_address directly.
|
| |
|
|
|
|
|
|
| |
function.
(ppc_linux_init_abi): Register it as the
CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
|
| |
|
|
|
|
| |
correctly.
|
|
|
|
|
|
|
|
| |
* arch-utils.c (generic_bfd_entry_point): New function.
* arch-utils.h (generic_bfd_entry_point): New declaration.
* gdbarch.c, gdbarch.h: Regenerated.
* solib-svr4.c (enable_break): Call it, instead of accessing
tmp_bfd->start_address directly.
|
|
|
|
| |
Linux entry point symbols for _dl_debug_state, too.
|
|
|
|
|
|
|
|
| |
(enable_break): Pass SEC_CODE as the SECT_FLAGS argument to
bfd_lookup_symbol, since we only want symbols in code sections.
(look_for_base): Pass zero as the SECT_FLAGS argument to
bfd_lookup_symbol, since we're not concerned about which section
the symbol is in.
|
|
|
|
|
|
| |
function.
(ppc_linux_init_abi): Register it as the
CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
|
|
|
|
| |
long.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* arch-utils.h (always_use_struct_convention): New prototype.
* alpha-tdep.c (alpha_use_struct_convention): Delete.
(alpha_gdbarch_init): Register always_use_struct_convention,
instead of alpha_use_struct_convention.
* cris-tdep.c (cris_use_struct_convention): Delete.
(cris_gdbarch_init): Register always_use_struct_convention,
instead of cris_use_struct_convention.
* frv-tdep.c (frv_use_struct_convention): Delete.
(frv_gdbarch_init): Register always_use_struct_convention,
instead of frv_use_struct_convention.
* h8300-tdep.c (h8300_use_struct_convention): Delete.
(h8300_gdbarch_init): Register always_use_struct_convention,
instead of h8300_use_struct_convention.
* mips_o32-tdep.c (mips_o32_use_struct_convention): Delete.
(mips_o32_gdbarch_init): Register always_use_struct_convention,
instead of mips_o32_use_struct_convention.
|
|
|
|
|
| |
(ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
method.
|
|
|
|
| |
(ppc64_standard_linkage_target): Use it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct
insn_pattern, insns_match_pattern, d_field, ds_field): New
functions, macros, and types for working with PPC instructions.
(ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN,
ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target,
ppc64_skip_trampoline_code): New functions, variables, and macros
for recognizing and skipping linkage functions.
(ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and
ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
register offsets for both the 32- and 64-bit interfaces.
|
| |
|
|
|
|
|
| |
(ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
method.
|
|
|
|
| |
(ppc64_standard_linkage_target): Use it.
|
|
|
|
|
|
|
| |
2003-05-29 Kevin Buettner <kevinb@redhat.com>
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (skip_prologue): Improve support for 64-bit code.
|
|
|
|
|
| |
offsets for floating-point registers in both 32- and 64-bit
interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ppc-linux-tdep.c (insn_d, insn_ds, insn_xfx, read_insn, struct
insn_pattern, insns_match_pattern, d_field, ds_field): New
functions, macros, and types for working with PPC instructions.
(ppc64_standard_linkage, PPC64_STANDARD_LINKAGE_LEN,
ppc64_in_solib_call_trampoline, ppc64_standard_linkage_target,
ppc64_skip_trampoline_code): New functions, variables, and macros
for recognizing and skipping linkage functions.
(ppc_linux_init_abi): Use ppc64_in_solib_call_trampoline and
ppc64_skip_trampoline_code for the 64-bit PowerPC Linux ABI.
Use gdbarch methods for solib stuff on PowerPC Linux.
* config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE,
SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will
show through. Remove later #definition of SKIP_TRAMPOLINE_CODE.
(ppc_linux_skip_trampoline_code): Delete declaration.
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here,
giving the same effect as the #definitions above.
(ppc_linux_skip_trampoline_code): Make this static.
|
|
|
|
|
|
|
|
|
|
|
| |
* config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE,
SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will
show through. Remove later #definition of SKIP_TRAMPOLINE_CODE.
(ppc_linux_skip_trampoline_code): Delete declaration.
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here,
giving the same effect as the #definitions above.
(ppc_linux_skip_trampoline_code): Make this static.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-29 Jim Blandy <jimb@redhat.com>
Support gdbserver on 64-bit PowerPC Linux.
* configure.tgt (powerpc64-*-linux*): Build gdbserver, please.
* regformats/reg-ppc64.dat: New file.
gdb/gdbserver/ChangeLog:
2003-05-29 Jim Blandy <jimb@redhat.com>
Add support for Linux on the 64-bit PowerPC.
* linux-ppc64-low.c: New file.
* configure.srv (powerpc64-*-linux*): New case.
(powerpc*-*-linux*): Adjust case pattern not to match
powerpc64-*-linux*.
* Makefile.in (linux-ppc64-low.o, reg-ppc64.o, reg-ppc64.c): New
rules.
(clean): Delete reg-ppc64.c, too.
|
| |
|
| |
|
|
|
|
|
|
| |
PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise,
if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing
away part of the register's value.
|
| |
|
|
|
|
|
|
|
|
|
| |
* config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE,
SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will
show through.
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here,
giving the same effect as the #definitions above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-29 Jim Blandy <jimb@redhat.com>
Support gdbserver on 64-bit PowerPC Linux.
* configure.tgt (powerpc64-*-linux*): Build gdbserver, please.
* regformats/reg-ppc64.dat: New file.
gdb/gdbserver/ChangeLog:
2003-05-29 Jim Blandy <jimb@redhat.com>
Add support for Linux on the 64-bit PowerPC.
* linux-ppc64-low.c: New file.
* configure.srv (powerpc64-*-linux*): New case.
(powerpc*-*-linux*): Adjust case pattern not to match
powerpc64-*-linux*.
* Makefile.in (linux-ppc64-low.o, reg-ppc64.o, reg-ppc64.c): New
rules.
(clean): Delete reg-ppc64.c, too.
|
|
|
|
|
|
| |
PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise,
if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing
away part of the register's value.
|
|
|
|
|
| |
argument to ptrace to int; the system headers should give it the
right type, and pointers don't fit in ints on powerpc64-*-*.
|
|
|
|
| |
using the tdep's wordsize, not just '4'.
|
|
|
|
| |
'long' on ppc64-*-linux*.
|
|
|
|
|
|
| |
powerpc-*-*; treat the former as an architecture this test doesn't
support. At the moment, the asm-source test program hangs and
becomes an unkillable process on PPC64 Linux.
|
|
|
|
|
|
|
|
|
|
|
| |
powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and
powerpc/linux.mt.
* config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh:
New files.
* ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ
isn't #defined, assume the register doesn't exist: act as if
tdep->ppc_mq_regnum were -1.
|
|
|
|
|
|
|
|
|
|
|
| |
powerpc64-*-linux, selecting powerpc/ppc64-linux.mh and
powerpc/linux.mt.
* config/powerpc/ppc64-linux.mh, config/powerpc/nm-ppc64-linux.mh:
New files.
* ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQ
isn't #defined, assume the register doesn't exist: act as if
tdep->ppc_mq_regnum were -1.
|
| |
|
|
|
|
| |
* configure: Regenerate.
|
|
|
|
| |
(mips_elf_link_hash_table): Likewise.
|
| |
|
|
|
|
|
|
|
|
| |
* stabsread.c (dbx_lookup_type): Make static.
(read_type): Ditto.
(add_undefined_type): Ditto.
* stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do
not export.
|