* gdbarch-utils.h, gdbarch-utils.c: New files.
authorAndrew Cagney <cagney@redhat.com>
Mon, 3 Apr 2000 00:00:32 +0000 (00:00 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 3 Apr 2000 00:00:32 +0000 (00:00 +0000)
commitc0e8c25248ec2df52f15aef6f66a5aefa189adb1
treeee81d1bdd523d0e55987b7e5940a202a4e08fba3
parented40e7aff99afebdda0cb546734fdea7d64b2109
* gdbarch-utils.h, gdbarch-utils.c: New files.
* Makefile.in (SFILES, COMMON_OBS): Update.
(gdbarch_utils_h) Define.
(gdbarch-utils.o): Add dependencies.

* gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
handling default method values.
(startup_gdbarch): Rename default_gdbarch, name misleading.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(register_name): Default to legacy_register_name.
(call_dummy_words): Default to legacy_call_dummy_words.
(sizeof_call_dummy_words): Default to
legacy_sizeof_call_dummy_words.
(register_convertible): Default to
generic_register_convertible_not.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(remote_translate_xfer_address): Default to
generic_remote_translate_xfer_address.
(frameless_function_invocation): Default to
generic_frameless_function_invocation_not.
gdb/ChangeLog
gdb/Makefile.in
gdb/gdbarch-utils.c [new file with mode: 0644]
gdb/gdbarch-utils.h [new file with mode: 0644]
gdb/gdbarch.c
gdb/gdbarch.sh