Andrew Cagney
8e65ff28b0
Add __FILE__ and __LINE__ parameter to internal_error() /
...
internal_verror().
2001-02-08 06:03:54 +00:00
Michael Snyder
c347ee3e51
2000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>
...
* arch-utils.c (default_frame_address): New function. Default
implementation of frame_args_address and frame_locals_address.
* arch-utils.h (default_frame_address): Export.
* d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address.
(d10v_frame_args_address, d10v_frame_locals_address): Delete.
* sh-tdep.c (sh_gdbarch_init): Use default_frame_address.
(sh_frame_args_address, sh_frame_locals_address): Delete.
* sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address.
(sparc_frame_address): Delete.
2001-01-02 20:21:53 +00:00
Kevin Buettner
b8c9b27d1e
Replace free() with xfree().
2000-12-15 01:01:51 +00:00
Andrew Cagney
88c72b7d71
Multiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,
...
DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM.
2000-12-04 04:01:16 +00:00
J.T. Conklin
ec3d358c9f
* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
...
set_gdbarch_from_file): Fix spelling error.
* v850-tdep.c (v850_target_architecture_hook): Likewise.
* gdbarch.sh: Fix spelling errors in comment.
* gdbarch.c, gdbarch.h: Regenerate.
* ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added. Adapt to register number
changes caused when powerpc target was multi-arched.
2000-10-27 19:17:57 +00:00
Peter Schauer
f517ea4ebb
* arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
...
New function.
* gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Add.
* gdbarch.c, gdbarch.h: Regenerate.
* valops.c (find_function_addr): Use CONVERT_FROM_FUNC_PTR_ADDR
unconditionally.
* config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Delete
definition.
* config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR): Remove
undef.
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Fix comment.
(rs6000_gdbarch_init): Register rs6000_convert_from_func_ptr_addr
if not ELFOSABI_LINUX.
2000-10-26 07:41:25 +00:00
David Anderson
b7d6b182e1
spelling correction: depdendant->dependent
2000-09-01 23:39:11 +00:00
Andrew Cagney
16f33e2966
Rename gdbarch_update() to gdbarch_update_p()
2000-08-11 01:30:11 +00:00
Andrew Cagney
7c7651b2d0
Multi-arch REGISTER_SIM_REGNO. Update d10v.
2000-08-02 11:05:50 +00:00
Kevin Buettner
fba45db2fa
Protoization.
2000-07-30 01:48:28 +00:00
Andrew Cagney
4b9b395931
Re-implement gdbach_dump() so that it prints out the macro values.
...
Add ``maint print arch'' command.
Add ``gdbarch_register()'' function that also takes gdbarch_dump_tdep().
Use in mips-tdep.c.
2000-06-10 05:37:47 +00:00
Andrew Cagney
1ba607adba
Use config.bfd to determine the default architecture and byte order.
...
Flush all BYTE_ORDER_DEFAULT macros from mips. Can rely on BFD's value.
2000-06-08 04:00:56 +00:00
Andrew Cagney
53904c9e67
Change signature of function add_set_enum_cmd() so that it uses
...
constant character pointers. Update everything.
As a consequence fix infrun's follow-fork plugging a small memory leak.
2000-06-08 00:52:56 +00:00
Andrew Cagney
b4a2023990
The attatched moves the remaining guff from gdbarch.{h,c,sh} to
...
arch-utils.{h,c}. The ``set architecutre'' and ``set endian''
commands (part of the move) were implemented to use add_set_enum_cmd()
so that ``set architecture <tab>'' works.
2000-06-07 04:38:02 +00:00
Andrew Cagney
193e3b1a00
Move generic_register_convertible_not and frame_num_args_unknown from
...
gdbarch.* to arch-utils.*.
2000-06-06 06:45:19 +00:00
Andrew Cagney
f0d4cc9e0e
Multiarch TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,
...
TARGET_LONG_DOUBLE_FORMAT. Update d10v.
2000-06-02 01:59:13 +00:00
Andrew Cagney
3339cf8b68
Move core_addr_lessthan and core_addr_greaterthan to arch-utils.
2000-05-15 03:56:30 +00:00
Andrew Cagney
dad41f9aa4
Convert SKIP_PROLOGUE_FRAMELESS_P into PROLOGUE_FRAMELESS_P.
2000-04-29 08:55:45 +00:00
Jim Blandy
71a9f22e4f
Bring RETURN_VALUE_ON_STACK under gdbarch's control.
...
* gdbarch.sh (RETURN_VALUE_ON_STACK): New entry.
* gdbarch.c, gdbarch.h: Regenerated.
* arch-utils.c (default_return_value_on_stack): New function.
* arch-utils.h (default_return_value_on_stack): New declaration.
* values.c (RETURN_VALUE_ON_STACK): Delete default definition.
2000-04-19 23:22:14 +00:00
Andrew Cagney
1ad03bde8a
Rename gdbarch-utils.[hc] to arch-utils.[hc]
2000-04-09 14:37:28 +00:00