2003-06-11 22:03:16 +00:00
|
|
|
|
2003-06-11 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Set number of long double
|
|
|
|
|
bits to 128.
|
|
|
|
|
|
2003-06-11 19:38:27 +00:00
|
|
|
|
2003-06-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate
|
|
|
|
|
REGISTER_CONVERTIBLE.
|
|
|
|
|
(DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same.
|
|
|
|
|
(DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* arch-utils.h (deprecated_register_convertible_not): Rename
|
|
|
|
|
generic_register_convertible_not.
|
|
|
|
|
* arch-utils.c (deprecated_register_convertible_not): Rename
|
|
|
|
|
generic_register_convertible.
|
|
|
|
|
(legacy_convert_register_p, legacy_register_to_value): Update.
|
|
|
|
|
* sh-tdep.c (sh64_push_arguments): Update.
|
|
|
|
|
* m68klinux-tdep.c (m68k_linux_extract_return_value): Update.
|
|
|
|
|
* config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update.
|
|
|
|
|
* m68klinux-tdep.c (m68k_linux_store_return_value): Update.
|
|
|
|
|
* config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update.
|
|
|
|
|
* arch-utils.c (legacy_value_to_register): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
(rs6000_register_convert_to_raw): Make parameter "from" const.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
(mips_register_convert_to_raw): Make parameter"virt_buf" const.
|
|
|
|
|
* infcmd.c (default_print_registers_info): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
(ia64_register_convert_to_raw): Make parameter "from" const.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
(i386_register_convert_to_raw): Update.
|
|
|
|
|
|
2003-06-11 13:50:11 +00:00
|
|
|
|
2003-06-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote-fileio.c: Include "remote-fileio.h".
|
|
|
|
|
* Makefile.in (remote-fileio.o): Update dependencies.
|
|
|
|
|
(remote_fileio_h): Fix typo.
|
|
|
|
|
|
2003-06-11 13:16:30 +00:00
|
|
|
|
2003-06-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_push_return_address): Make static.
|
|
|
|
|
(xstormy16_save_dummy_frame_tos): Make static.
|
|
|
|
|
(_initialize_xstormy16_tdep): Add declaration.
|
|
|
|
|
* vax-tdep.c (_initialize_vax_tdep): Add declaration.
|
|
|
|
|
* v850-tdep.c: Make local functions static.
|
|
|
|
|
(_initialize_v850_tdep): Add declaration.
|
|
|
|
|
* sparc-tdep.c: Make local functions static.
|
|
|
|
|
(_initialize_sparc_tdep): Add declaration.
|
|
|
|
|
* sh-tdep.c: Make local functions static.
|
|
|
|
|
(_initialize_sh_tdep): Add declaration.
|
|
|
|
|
* sh3-rom.c (_initialize_sh3_rom): Add declaration.
|
|
|
|
|
* s390-tdep.c: Make local functions static.
|
|
|
|
|
(_initialize_s390_tdep): Add declaration.
|
|
|
|
|
* dbxread.c (find_stab_function_addr): Make static.
|
|
|
|
|
* ppc-bdm.c (_initialize_bdm_ppc): Add declaration.
|
|
|
|
|
* ocd.c (_initialize_remote_ocd): Add declaration.
|
|
|
|
|
* dink32-rom.c (_initialize_dink32_rom): Add declaration.
|
|
|
|
|
* ppcbug-rom.c (_initialize_ppcbug_rom): Add declaration.
|
|
|
|
|
* ns32k-tdep.c (_initialize_ns32k_tdep): Add declaration.
|
|
|
|
|
* ns32knbsd-tdep.c (_initialize_ns32knbsd_tdep): Add declaration.
|
|
|
|
|
* mips-tdep.c (_initialize_mips_tdep): Add declaration.
|
|
|
|
|
* remote-array.c (_initialize_array): Add declaration.
|
|
|
|
|
(_initialize_remote_monitors): Add declaration.
|
|
|
|
|
* remote-mips.c: Make local functions static.
|
|
|
|
|
(_initialize_remote_mips): Add declaration.
|
|
|
|
|
* mcore-tdep.c: Make all local functions static.
|
|
|
|
|
(_initialize_mcore_tdep): Add declaration.
|
|
|
|
|
* dbug-rom.c (_initialize_dbug_rom): Add declaration.
|
|
|
|
|
* abug-rom.c (_initialize_abug_rom): Add declaration.
|
|
|
|
|
* rom68k-rom.c (_initialize_rom68k): Add declaration.
|
|
|
|
|
* cpu32bug-rom.c (_initialize_cpu32bug_rom): Add declaration.
|
|
|
|
|
* m68k-tdep.c (_initialize_m68k_tdep): Add declaration.
|
|
|
|
|
* remote-est.c (_initialize_est): Add declaration.
|
|
|
|
|
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration.
|
|
|
|
|
(m68hc11_call_dummy_address): Make static.
|
|
|
|
|
* ia64-tdep.c: Make local functions static.
|
|
|
|
|
(_initialize_ia64_tdep): Add declaration.
|
|
|
|
|
* solib-legacy.c (_initialize_svr4_lm): Add declaration.
|
|
|
|
|
* monitor.c (monitor_wait_filter): Make static.
|
|
|
|
|
(_initialize_remote_monitors): Add declaration.
|
|
|
|
|
* remote-hms.c (_initialize_remote_hms): Add declaration.
|
|
|
|
|
* remote-e7000.c (fetch_regs_from_dump): Make static.
|
|
|
|
|
(expect_n): Make static.
|
|
|
|
|
(_initialize_remote_e7000): Add declaration.
|
|
|
|
|
* ser-e7kpc.c: Always include "defs.h".
|
|
|
|
|
(_initialize_ser_e7000pc): Add declaration.
|
|
|
|
|
* h8300-tdep.c (_initialize_h8300_tdep): Add declaration.
|
|
|
|
|
* cris-tdep.c: Make all but one function static.
|
|
|
|
|
(_initialize_cris_tdep): Add declaration.
|
|
|
|
|
* solib-svr4.c (_initialize_svr4_solib): Add declaration.
|
|
|
|
|
* solib.c (update_solib_list): Make static.
|
|
|
|
|
(_initialize_solib): Add declaration.
|
|
|
|
|
* avr-tdep.c (avr_breakpoint_from_pc): Make static.
|
|
|
|
|
(_initialize_avr_tdep): Add declaration.
|
|
|
|
|
* remote-rdi.c (voiddummy): Make static.
|
|
|
|
|
(_initialize_remote_rdi): Add declaration.
|
|
|
|
|
* arm-tdep.c (_initialize_arm_tdep): Add declaration.
|
|
|
|
|
* remote-rdp.c (send_rdp): Make static.
|
|
|
|
|
(_initialize_remote_rdp): Add declaration.
|
|
|
|
|
* alpha-tdep.c (_initialize_alpha_tdep): Add declaration.
|
|
|
|
|
|
2003-06-11 10:24:53 +00:00
|
|
|
|
2003-06-11 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote-fileio.c: Make ari happy.
|
|
|
|
|
|
2003-06-10 20:34:09 +00:00
|
|
|
|
2003-06-10 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* rs6000-nat.c (child_xfer_memory): Compute the right address when
|
|
|
|
|
fetching the trailing bytes of the buffer we are about to write.
|
|
|
|
|
|
2003-06-10 19:29:57 +00:00
|
|
|
|
2003-06-10 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H.
|
|
|
|
|
* Makefile.in (remote-fileio.o): Update dependencies.
|
|
|
|
|
* remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not
|
|
|
|
|
include <setjmp.h>, or <sys/types.h> conditional on USG.
|
|
|
|
|
(remote_fio_jmp_buf): Delete global variable.
|
|
|
|
|
|
2003-06-10 14:37:04 +00:00
|
|
|
|
2003-06-10 Corinna Vinschen <vinschen@redhat.com>
|
2003-06-10 19:45:19 +00:00
|
|
|
|
Martin M. Hunt <hunt@redhat.com>
|
2003-06-10 14:37:04 +00:00
|
|
|
|
|
2003-06-10 19:45:19 +00:00
|
|
|
|
* Makefile.in (REMOTE_OBS): Add remote-fileio.o
|
|
|
|
|
(SFILES): Add remote-fileio.c.
|
|
|
|
|
Add dependencies for building remote-fileio.o. Add remote-fileio.h to
|
|
|
|
|
dependencies for building remote.o.
|
2003-06-10 14:37:04 +00:00
|
|
|
|
* remote-fileio.c: New file implementing the remote File-I/O protocol.
|
|
|
|
|
* remote-fileio.h: New header file defining remote File-I/O interface.
|
|
|
|
|
* remote.c (remote_write_bytes, remote_read_bytes): Remove
|
|
|
|
|
static storage class.
|
|
|
|
|
(remote_wait, remote_async_wait): Call remote_fileio_request() on
|
|
|
|
|
'F' packet.
|
|
|
|
|
(_initialize_remote): Call initialize_remote_fileio().
|
|
|
|
|
* remote.h: Declare remote_write_bytes() and remote_read_bytes().
|
|
|
|
|
* defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin.
|
|
|
|
|
* main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin.
|
|
|
|
|
(captured_main): Initialize new ui_files.
|
|
|
|
|
* ui-file.c: Add read and fgets input functions.
|
|
|
|
|
(ui_file_new): set ui_file_fputs and ui_file_read to null functions.
|
|
|
|
|
(null_file_read): New function.
|
|
|
|
|
(ui_file_read): New function.
|
|
|
|
|
(set_ui_file_read): New function.
|
|
|
|
|
(stdio_file_read): New function.
|
|
|
|
|
* ui-file.h: New type ui_file_read_ftype.
|
|
|
|
|
(set_ui_file_read): Declare.
|
|
|
|
|
(ui_file_read): Declare.
|
|
|
|
|
|
2003-06-09 22:20:43 +00:00
|
|
|
|
2003-06-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (deprecated_unwind_get_saved_register): Rename
|
|
|
|
|
generic_unwind_get_saved_register, update comments.
|
|
|
|
|
* mips-tdep.c (mips_get_saved_register): Update.
|
|
|
|
|
* frame.c (deprecated_unwind_get_saved_register): Update.
|
|
|
|
|
|
2003-06-09 20:08:56 +00:00
|
|
|
|
2003-06-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* vax-tdep.c (vax_frame_locals_address): Delete function.
|
|
|
|
|
(vax_gdbarch_init): Do not set frame_locals_address.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_frame_locals_address): Delete function.
|
|
|
|
|
(m68hc11_gdbarch_init): Do not set frame_locals_address.
|
|
|
|
|
* s390-tdep.c (s390_frame_args_address): Delete function.
|
|
|
|
|
(s390_gdbarch_init): Do not set frame_args_address or
|
|
|
|
|
frame_locals_address.
|
|
|
|
|
* ns32k-tdep.c (ns32k_frame_locals_address): Delete.
|
|
|
|
|
(ns32k_gdbarch_init): Do not set frame_locals_address.
|
|
|
|
|
* hppa-tdep.c (hppa_frame_args_address): Delete function.
|
|
|
|
|
(hppa_frame_locals_address): Delete function.
|
|
|
|
|
(hppa_gdbarch_init): Do not set frame_args_address, or
|
|
|
|
|
frame_locals_address.
|
|
|
|
|
* arm-tdep.c (arm_frame_args_address): Delete.
|
|
|
|
|
(arm_frame_locals_address): Delete.
|
|
|
|
|
(arm_gdbarch_init): Do not set frame_args_address, or
|
|
|
|
|
frame_locals_address.
|
|
|
|
|
|
2003-06-09 17:35:59 +00:00
|
|
|
|
2003-06-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (FRAME_NUM_ARGS): Change to function with predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* arch-utils.h (frame_num_args_unknown): Delete both declarations.
|
|
|
|
|
* arch-utils.c (frame_num_args_unknown): Delete function.
|
|
|
|
|
* stack.c (print_args_stub): Use FRAME_NUM_ARGS_P.
|
|
|
|
|
(frame_info): Use FRAME_NUM_ARGS_P.
|
|
|
|
|
* arm-tdep.c (arm_frame_num_args): Delete function.
|
|
|
|
|
(arm_gdbarch_init): Do not set frame_num_args.
|
|
|
|
|
* config/pa/tm-hppa64.h (FRAME_NUM_ARGS): Delete.
|
|
|
|
|
* hppa-tdep.c (hppa_frame_num_args): Delete function.
|
|
|
|
|
(hppa_gdbarch_init): Do not set frame_num_args.
|
|
|
|
|
* config/sparc/tm-sparc.h (FRAME_NUM_ARGS): Delete.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
|
|
|
|
|
frame_num_args to default frame_num_args_unknown.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-06-09 15:20:21 +00:00
|
|
|
|
2003-06-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* printcmd.c (print_frame_nameless_args): Moved to "stack.c".
|
|
|
|
|
(print_frame_args): Moved to "stack.c".
|
|
|
|
|
* stack.c: Include "gdb_assert.h".
|
|
|
|
|
(print_frame_nameless_args): Moved from "printcmd.c", made static.
|
|
|
|
|
(print_frame_args): Moved from "printcmd.c".
|
|
|
|
|
* frame.h (print_frame_args): Delete declaration.
|
|
|
|
|
* Makefile.in (stack.o): Update dependencies.
|
|
|
|
|
|
2003-06-09 02:10:35 +00:00
|
|
|
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): Remove reference to
|
|
|
|
|
frame_args_address_correct in comments.
|
|
|
|
|
* frame-base.c (default_frame_args_address): Delete code
|
|
|
|
|
conditional on FRAME_ARGS_ADDRESS_CORRECT.
|
|
|
|
|
* vax-tdep.c (vax_frame_args_address_correct): Delete.
|
|
|
|
|
(vax_frame_args_address): Merge in vax_frame_args_address_correct.
|
|
|
|
|
* config/vax/tm-vax.h (FRAME_ARGS_ADDRESS_CORRECT): Delete
|
|
|
|
|
(vax_frame_args_address_correct): Delete declaration.
|
|
|
|
|
|
2003-06-09 01:02:07 +00:00
|
|
|
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (UNWIND_SP): Add.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* frame.c (frame_sp_unwind): New function.
|
|
|
|
|
(get_frame_sp): New function.
|
|
|
|
|
* frame.h (get_frame_sp, frame_sp_unwind): Declare.
|
|
|
|
|
* regcache.c (read_sp): Rewrite, try each of TARGET_READ_SP,
|
|
|
|
|
gdbarch_unwind_sp and SP_REGNUM when looking for the SP register
|
|
|
|
|
value.
|
|
|
|
|
* d10v-tdep.c (d10v_unwind_sp): Replace d10v_read_sp.
|
|
|
|
|
(d10v_gdbarch_init): Set unwind_sp instead of read_sp.
|
|
|
|
|
|
2003-06-08 22:10:12 +00:00
|
|
|
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-06-08 22:51:49 +00:00
|
|
|
|
Deprecate BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT and
|
|
|
|
|
REMOTE_BREAKPOINT.
|
|
|
|
|
* remote.c: Update.
|
|
|
|
|
* config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT): Update.
|
|
|
|
|
(DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Update.
|
|
|
|
|
* config/m68k/tm-sun3.h: Update.
|
|
|
|
|
* config/m68k/tm-m68klynx.h: Update.
|
|
|
|
|
* config/h8300/tm-h8300.h (DEPRECATED_REMOTE_BREAKPOINT): Update.
|
|
|
|
|
|
2003-06-08 22:10:12 +00:00
|
|
|
|
* trad-frame.h (struct trad_frame_saved_reg): Rename "struct
|
|
|
|
|
trad_frame". Update comments.
|
|
|
|
|
* d10v-tdep.c (struct d10v_unwind_cache): Update.
|
|
|
|
|
* trad-frame.c (trad_frame_alloc_saved_regs): Update.
|
|
|
|
|
(trad_frame_register_value, trad_frame_prev_register): Update.
|
|
|
|
|
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
* acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen
from GCC's acinclude.m4.
* configure.in: Check for getopt's delcaration.
* aclocal.m4, config.in, configure: Re-generate.
* main.c (error_init): Delete declaration.
* defs.h (error_init): Declare.
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static.
(rs6000_convert_from_func_ptr_addr): Make static.
(_initialize_rs6000_tdep): Add declaration.
* cli/cli-cmds.c (dont_repeat): Delete declaration.
(show_commands, set_verbose, show_history): Delete declaration.
* top.h (set_verbose): Add declaration.
(show_history, set_history, show_commands): Add declaration.
(do_restore_instream_cleanup): Add declaration.
* objc-lang.c (specialcmp): Make static.
(print_object_command): Make static.
(find_objc_msgsend): Make static.
(find_objc_msgcall_submethod_helper): Make static.
(find_objc_msgcall_submethod): Make static.
(_initialize_objc_language): Add declaration.
(find_implementation_from_class): Make static.
(find_implementation): Make static.
* objc-exp.y (yylex): Delete lookup_struct_typedef declaration.
* objc-lang.h (lookup_struct_typedef): Add declaration.
* cli/cli-interp.c (_initialize_cli_interp): Add declaration.
* cli/cli-script.c (clear_hook_in_cleanup): Make static.
(do_restore_user_call_depth): Make static.
(do_restore_instream_cleanup): Delete declaration.
(dont_repeat): Delete declaration.
* cli/cli-decode.c (add_abbrev_cmd): Delete function.
* cli/cli-dump.c (_initialize_cli_dump): Add declaration.
* reggroups.c (_initialize_reggroup): Add declaration.
* cp-support.c (_initialize_cp_support): Add declaration.
* cp-abi.c (_initialize_cp_abi): Add declaration.
* hpacc-abi.c (_initialize_hpacc_abi): Add declaration.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Make static.
(_initialize_gnu_v3_abi): Add declaration.
* gnu-v2-abi.c (gnuv2_value_rtti_type): Make static.
(_initialize_gnu_v2_abi): Add declaration.
* frame-base.c (_initialize_frame_base): Add declaration.
* doublest.c (floatformat_from_length): Make static.
* frame-unwind.c (_initialize_frame_unwind): Add declaration.
* frame.c (create_sentinel_frame): Make static.
(_initialize_frame): Add declaration.
* top.c (do_catch_errors): Make static.
(gdb_rl_operate_and_get_next_completion): Make static.
* typeprint.c: Include "typeprint.h".
* sentinel-frame.c (sentinel_frame_prev_register): Make static.
(sentinel_frame_this_id): Make static.
* p-valprint.c (_initialize_pascal_valprint): Add declaration.
* ui-out.c (make_cleanup_ui_out_begin_end): Delete function.
* dwarf2-frame.c (dwarf2_frame_cache): Make static.
* p-exp.y (push_current_type, pop_current_type): ISO C declaration.
* dwarf2expr.h (dwarf_expr_context): ISO C declaration.
* maint.c (maintenance_print_architecture): Make static.
* signals/signals.c (_initialize_signals): Add declaration.
* std-regs.c (_initialize_frame_reg): Add declaration.
* jv-exp.y (push_variable): ISO C definition.
(push_qualified_expression_name): Ditto.
* memattr.c (_initialize_mem): Add declaration.
* remote.c (remote_check_watch_resources): Make static.
(remote_stopped_by_watchpoint): Make static.
(remote_stopped_data_address): Make static.
* d10v-tdep.c (nr_dmap_regs): Make static.
(a0_regnum): Make static.
(d10v_frame_unwind_cache): Make static.
(d10v_frame_p): Make static.
* osabi.c (show_osabi): Make static.
(_initialize_gdb_osabi): Add extern declaration.
* gdbtypes.c (make_qualified_type): Make static.
(safe_parse_type): Make static.
* macrocmd.c (_initialize_macrocmd): Add extern declaration.
* macrotab.c (macro_bcache_free): Make static.
* interps.c (interp_set_quiet): Make static.
(interpreter_exec_cmd): Make static.
* stack.h (select_frame_command): New file.
* stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete function.
(select_frame_command): Make global.
* infcall.c: Include "infcall.h".
* linespec.c: Include "linespec.h".
* symfile.c (sections_overlap): Make static.
* cp-support.h (cp_initialize_namespace): ISO C declaration.
* charset.c (_initialize_charset): Add missing prototype.
* regcache.c (init_legacy_regcache_descr): Make static.
(do_regcache_xfree): Make static.
(regcache_xfer_part): Make static.
(_initialize_regcache): Add missing prototype.
* breakpoint.c (parse_breakpoint_sals): Make static.
(breakpoint_sals_to_pc): Make static.
* interps.h (clear_interpreter_hooks): ISO C declaration.
* Makefile.in (stack_h): Define.
(stack.o, typeprint.o, mi-main.o): Update dependencies.
(mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies.
Index: mi/ChangeLog
2003-06-08 Andrew Cagney <cagney@redhat.com>
* mi-parse.c (_initialize_mi_parse): Delete function.
* mi-main.c: Include "mi-main.h".
* mi-interp.c (_initialize_mi_interp): Add declaration.
* mi-cmd-stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete extern declaration.
(mi_cmd_stack_select_frame): Replace select_frame_command_wrapper
with select_frame_command.
2003-06-08 18:27:14 +00:00
|
|
|
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen
|
|
|
|
|
from GCC's acinclude.m4.
|
|
|
|
|
* configure.in: Check for getopt's delcaration.
|
|
|
|
|
* aclocal.m4, config.in, configure: Re-generate.
|
|
|
|
|
* main.c (error_init): Delete declaration.
|
|
|
|
|
* defs.h (error_init): Declare.
|
|
|
|
|
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static.
|
|
|
|
|
(rs6000_convert_from_func_ptr_addr): Make static.
|
|
|
|
|
(_initialize_rs6000_tdep): Add declaration.
|
|
|
|
|
* cli/cli-cmds.c (dont_repeat): Delete declaration.
|
|
|
|
|
(show_commands, set_verbose, show_history): Delete declaration.
|
|
|
|
|
* top.h (set_verbose): Add declaration.
|
|
|
|
|
(show_history, set_history, show_commands): Add declaration.
|
|
|
|
|
(do_restore_instream_cleanup): Add declaration.
|
|
|
|
|
* objc-lang.c (specialcmp): Make static.
|
|
|
|
|
(print_object_command): Make static.
|
|
|
|
|
(find_objc_msgsend): Make static.
|
|
|
|
|
(find_objc_msgcall_submethod_helper): Make static.
|
|
|
|
|
(find_objc_msgcall_submethod): Make static.
|
|
|
|
|
(_initialize_objc_language): Add declaration.
|
|
|
|
|
(find_implementation_from_class): Make static.
|
|
|
|
|
(find_implementation): Make static.
|
|
|
|
|
* objc-exp.y (yylex): Delete lookup_struct_typedef declaration.
|
|
|
|
|
* objc-lang.h (lookup_struct_typedef): Add declaration.
|
|
|
|
|
* cli/cli-interp.c (_initialize_cli_interp): Add declaration.
|
|
|
|
|
* cli/cli-script.c (clear_hook_in_cleanup): Make static.
|
|
|
|
|
(do_restore_user_call_depth): Make static.
|
|
|
|
|
(do_restore_instream_cleanup): Delete declaration.
|
|
|
|
|
(dont_repeat): Delete declaration.
|
|
|
|
|
* cli/cli-decode.c (add_abbrev_cmd): Delete function.
|
|
|
|
|
* cli/cli-dump.c (_initialize_cli_dump): Add declaration.
|
|
|
|
|
* reggroups.c (_initialize_reggroup): Add declaration.
|
|
|
|
|
* cp-support.c (_initialize_cp_support): Add declaration.
|
|
|
|
|
* cp-abi.c (_initialize_cp_abi): Add declaration.
|
|
|
|
|
* hpacc-abi.c (_initialize_hpacc_abi): Add declaration.
|
|
|
|
|
* gnu-v3-abi.c (gnuv3_baseclass_offset): Make static.
|
|
|
|
|
(_initialize_gnu_v3_abi): Add declaration.
|
|
|
|
|
* gnu-v2-abi.c (gnuv2_value_rtti_type): Make static.
|
|
|
|
|
(_initialize_gnu_v2_abi): Add declaration.
|
|
|
|
|
* frame-base.c (_initialize_frame_base): Add declaration.
|
|
|
|
|
* doublest.c (floatformat_from_length): Make static.
|
|
|
|
|
* frame-unwind.c (_initialize_frame_unwind): Add declaration.
|
|
|
|
|
* frame.c (create_sentinel_frame): Make static.
|
|
|
|
|
(_initialize_frame): Add declaration.
|
|
|
|
|
* top.c (do_catch_errors): Make static.
|
|
|
|
|
(gdb_rl_operate_and_get_next_completion): Make static.
|
|
|
|
|
* typeprint.c: Include "typeprint.h".
|
|
|
|
|
* sentinel-frame.c (sentinel_frame_prev_register): Make static.
|
|
|
|
|
(sentinel_frame_this_id): Make static.
|
|
|
|
|
* p-valprint.c (_initialize_pascal_valprint): Add declaration.
|
|
|
|
|
* ui-out.c (make_cleanup_ui_out_begin_end): Delete function.
|
|
|
|
|
* dwarf2-frame.c (dwarf2_frame_cache): Make static.
|
|
|
|
|
* p-exp.y (push_current_type, pop_current_type): ISO C declaration.
|
|
|
|
|
* dwarf2expr.h (dwarf_expr_context): ISO C declaration.
|
|
|
|
|
* maint.c (maintenance_print_architecture): Make static.
|
|
|
|
|
* signals/signals.c (_initialize_signals): Add declaration.
|
|
|
|
|
* std-regs.c (_initialize_frame_reg): Add declaration.
|
|
|
|
|
* jv-exp.y (push_variable): ISO C definition.
|
|
|
|
|
(push_qualified_expression_name): Ditto.
|
|
|
|
|
* memattr.c (_initialize_mem): Add declaration.
|
|
|
|
|
* remote.c (remote_check_watch_resources): Make static.
|
|
|
|
|
(remote_stopped_by_watchpoint): Make static.
|
|
|
|
|
(remote_stopped_data_address): Make static.
|
|
|
|
|
* d10v-tdep.c (nr_dmap_regs): Make static.
|
|
|
|
|
(a0_regnum): Make static.
|
|
|
|
|
(d10v_frame_unwind_cache): Make static.
|
|
|
|
|
(d10v_frame_p): Make static.
|
|
|
|
|
* osabi.c (show_osabi): Make static.
|
|
|
|
|
(_initialize_gdb_osabi): Add extern declaration.
|
|
|
|
|
* gdbtypes.c (make_qualified_type): Make static.
|
|
|
|
|
(safe_parse_type): Make static.
|
|
|
|
|
* macrocmd.c (_initialize_macrocmd): Add extern declaration.
|
|
|
|
|
* macrotab.c (macro_bcache_free): Make static.
|
|
|
|
|
* interps.c (interp_set_quiet): Make static.
|
|
|
|
|
(interpreter_exec_cmd): Make static.
|
|
|
|
|
* stack.h (select_frame_command): New file.
|
|
|
|
|
* stack.c: Include "stack.h".
|
|
|
|
|
(select_frame_command_wrapper): Delete function.
|
|
|
|
|
(select_frame_command): Make global.
|
|
|
|
|
* infcall.c: Include "infcall.h".
|
|
|
|
|
* linespec.c: Include "linespec.h".
|
|
|
|
|
* symfile.c (sections_overlap): Make static.
|
|
|
|
|
* cp-support.h (cp_initialize_namespace): ISO C declaration.
|
|
|
|
|
* charset.c (_initialize_charset): Add missing prototype.
|
|
|
|
|
* regcache.c (init_legacy_regcache_descr): Make static.
|
|
|
|
|
(do_regcache_xfree): Make static.
|
|
|
|
|
(regcache_xfer_part): Make static.
|
|
|
|
|
(_initialize_regcache): Add missing prototype.
|
|
|
|
|
* breakpoint.c (parse_breakpoint_sals): Make static.
|
|
|
|
|
(breakpoint_sals_to_pc): Make static.
|
|
|
|
|
* interps.h (clear_interpreter_hooks): ISO C declaration.
|
|
|
|
|
* Makefile.in (stack_h): Define.
|
|
|
|
|
(stack.o, typeprint.o, mi-main.o): Update dependencies.
|
|
|
|
|
(mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies.
|
|
|
|
|
|
2003-06-08 16:09:46 +00:00
|
|
|
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (d10v-tdep.o): Update dependencies.
|
|
|
|
|
(SFILES): Add trad-frame.c.
|
|
|
|
|
(trad_frame_h): Define.
|
|
|
|
|
(COMMON_OBS): Add trad-frame.o.
|
|
|
|
|
(trad-frame.o): Specify dependencies.
|
|
|
|
|
* d10v-tdep.c: Include "trad-frame.h".
|
|
|
|
|
(saved_regs_unwinder): Delete function.
|
|
|
|
|
(d10v_frame_prev_register): Use trad_frame_prev_register.
|
|
|
|
|
(struct d10v_unwind_cache): Change type of "saved_regs" to "struct
|
|
|
|
|
trad_frame", delete "regs" and "prev_sp".
|
|
|
|
|
(prologue_find_regs): Use trad-frame.
|
|
|
|
|
* trad-frame.h, trad-frame.c: New files.
|
|
|
|
|
|
2003-06-08 12:43:02 +00:00
|
|
|
|
2003-06-08 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* dwarf2cfi.c, dwarf2cfi.h: Remove.
|
|
|
|
|
|
2003-06-08 02:31:24 +00:00
|
|
|
|
2003-06-07 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* gdb/objc-lang.c (FETCH_ARGUMENT): Remove macro.
|
|
|
|
|
(OBJC_FETCH_POINTER_ARGUMENT): Shorthand macro for
|
|
|
|
|
using FETCH_POINTER_ARGUMENT with Objective-C method arguments.
|
|
|
|
|
(find_implementation, resolve_msgsend, resolve_msgsend_stret,
|
|
|
|
|
resolve_msgsend_super, resolve_msgsend_super_stret):
|
|
|
|
|
Use it.
|
|
|
|
|
|
2003-06-07 23:50:23 +00:00
|
|
|
|
2003-06-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symfile.h: Re-indent, clean up comments.
|
|
|
|
|
|
2003-06-07 22:38:56 +00:00
|
|
|
|
2003-06-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* inferior.h (deprecated_write_sp): Replace
|
|
|
|
|
generic_target_write_sp.
|
|
|
|
|
* regcache.c (deprecated_write_sp): Replace
|
|
|
|
|
generic_target_write_sp.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Update.
|
|
|
|
|
|
2003-06-07 19:05:51 +00:00
|
|
|
|
2003-06-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2-frame.c (dwarf2_frame_cache): Add comments on PC_REGNUM.
|
|
|
|
|
Assert that PC_REGNUM is valid.
|
|
|
|
|
(dwarf2_frame_prev_register): Add comments on SP_REGNUM.
|
|
|
|
|
|
2003-06-07 18:08:25 +00:00
|
|
|
|
2003-06-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (TARGET_READ_SP): Add predicate, delete default.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* mn10300-tdep.c: Include "gdb_assert.h".
|
|
|
|
|
(mn10300_read_fp): New function.
|
|
|
|
|
(mn10300_gdbarch_init): Set deprecated_target_read_fp to
|
|
|
|
|
mn10300_read_fp. Do not set read_sp to generic_target_read_sp.
|
|
|
|
|
* ia64-tdep.c: Include "gdb_assert.h".
|
|
|
|
|
(ia64_read_fp): New function.
|
|
|
|
|
(ia64_gdbarch_init): Set deprecated_target_read_fp to
|
|
|
|
|
ia64_read_sp. Do not set read_sp to generic_target_read_sp.
|
|
|
|
|
* regcache.c (generic_target_read_sp): Delete function.
|
|
|
|
|
(read_sp): Try TARGET_READ_SP and SP_REGNUM for the SP register.
|
|
|
|
|
* inferior.h (generic_target_read_sp): Delete declaration.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Do not set read_sp to
|
|
|
|
|
generic_target_read_sp.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* Makefile.in (mn10300-tdep.o, ia64-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-06-07 17:09:19 +00:00
|
|
|
|
2003-06-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh: Comment each field of startup_gdbarch.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
|
2003-06-07 16:23:12 +00:00
|
|
|
|
2003-06-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (TARGET_READ_PC): Add predicate, remove default.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* regcache.c: Update comments on read_pc et.al.
|
|
|
|
|
(generic_target_read_pc): Delete function.
|
|
|
|
|
(read_pc_pid): Try TARGET_READ_PC and PC_REGNUM for a PC register.
|
|
|
|
|
* inferior.h (generic_target_read_pc): Delete declaration.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Do not set read_pc to
|
|
|
|
|
generic_target_read_pc.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-06-07 15:51:05 +00:00
|
|
|
|
2003-06-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* elfread.c (elf_symtab_read): Replace "special_local_sym_p" and
|
|
|
|
|
"index" with "special_local_sect". Use strcmp instead of STREQ.
|
|
|
|
|
Append period to coments.
|
|
|
|
|
|
2003-06-06 23:33:00 +00:00
|
|
|
|
2003-06-06 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX.
|
|
|
|
|
(elfstab_offset_sections): Likewise.
|
|
|
|
|
* gdb-stabs.h (stab_section_info): Likewise.
|
|
|
|
|
* i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise.
|
|
|
|
|
* objfiles.c (objfile_relocate): Likewise.
|
|
|
|
|
* pa64solib.c (pa64_solib_add_solib_objfile): Likewise.
|
|
|
|
|
* remote.c (get_offsets): Likewise.
|
|
|
|
|
(remote_cisco_objfile_relocate): Likewise.
|
|
|
|
|
* somread.c (som_symfile_offsets): Likewise.
|
|
|
|
|
* symfile.c (alloc_section_addr_info): New function.
|
|
|
|
|
(build_section_addr_info_from_section_tab): Use it.
|
|
|
|
|
(free_section_addr_info): Adjust.
|
|
|
|
|
(default_symfile_offsets): Avoid use of SECT_OFF_MAX.
|
|
|
|
|
(syms_from_objfile): Allocate local_addr dynamically.
|
|
|
|
|
(symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs
|
|
|
|
|
dynamically.
|
|
|
|
|
(add_symbol_file_command): Allocate sect_opts dynamically.
|
|
|
|
|
(reread_symbols): Avoid use of SECT_OFF_MAX.
|
|
|
|
|
* symfile.h (section_addr_info): Do not use MAX_SECTIONS.
|
|
|
|
|
(alloc_section_addr_info): Declare it.
|
|
|
|
|
* symtab.h (SIZEOF_SECTION_OFFSETS): Remove.
|
|
|
|
|
* win32-nat.c (solib_symbols_add): Allocate section_addrs
|
|
|
|
|
dynamically.
|
|
|
|
|
* xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX.
|
|
|
|
|
|
2003-06-06 21:27:35 +00:00
|
|
|
|
2003-06-06 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (struct d10v_unwind_cache): Delete "return_pc".
|
|
|
|
|
(d10v_frame_unwind_cache): Do not set "return_pc".
|
|
|
|
|
|
2003-06-06 18:48:08 +00:00
|
|
|
|
2003-06-06 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
|
|
|
|
* h8300-tdep.c: Make tidy (long lines).
|
|
|
|
|
|
2003-06-06 10:04:20 +00:00
|
|
|
|
2003-06-06 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums
|
|
|
|
|
to regcache_collect().
|
|
|
|
|
|
2003-06-06 00:22:00 +00:00
|
|
|
|
2003-06-05 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, setting
|
|
|
|
|
pc_in_sigtramp multiarch method.
|
|
|
|
|
(hppa_hpux_som_init_abi): Use it.
|
|
|
|
|
(hppa_hpux_elf_init_abi): Likewise.
|
|
|
|
|
* config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this
|
|
|
|
|
macro has been multiarched.
|
|
|
|
|
* config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this
|
|
|
|
|
macro here, as hppa64 isn't multiarched yet.
|
|
|
|
|
|
2003-06-05 20:59:16 +00:00
|
|
|
|
2003-06-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (value_h): Add $(frame_h).
|
|
|
|
|
* value.h: Include "frame.h".
|
|
|
|
|
(struct value): Replace "frame_addr" with "frame_id".
|
|
|
|
|
(VALUE_FRAME_ID): Replace VALUE_FRAME.
|
|
|
|
|
* values.c (allocate_value): Use VALUE_FRAME_ID.
|
|
|
|
|
(value_copy): Use VALUE_FRAME_ID.
|
|
|
|
|
* findvar.c (value_from_register): Use VALUE_FRAME_ID.
|
|
|
|
|
* valops.c (value_assign): Update. Use frame_find_by_id.
|
|
|
|
|
|
2003-06-05 18:54:34 +00:00
|
|
|
|
2003-06-05 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_push_arguments): Don't clear offset
|
|
|
|
|
in each pass.
|
|
|
|
|
|
2003-06-05 18:22:02 +00:00
|
|
|
|
2003-06-05 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* thread-db.c (check_event): For create/death event breakpoints,
|
|
|
|
|
loop through all messages to ensure that we read the message
|
|
|
|
|
corresponding to the breakpoint we are at.
|
|
|
|
|
|
2003-06-05 02:41:57 +00:00
|
|
|
|
2003-06-04 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn.
|
|
|
|
|
|
2003-06-04 21:03:23 +00:00
|
|
|
|
2003-06-04 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* dwarf2-frame.c (struct comp_unit): Add member `dbase'.
|
|
|
|
|
(read_encoded_value): Handle DW_EH_PE_datarel encoding.
|
|
|
|
|
(dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings
|
|
|
|
|
when handling .eh_frame sections.
|
|
|
|
|
|
2003-06-04 20:55:02 +00:00
|
|
|
|
2003-06-04 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the generic
|
|
|
|
|
prepare_to_proceed procedure instead of the hppa-specific one.
|
|
|
|
|
* hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used.
|
|
|
|
|
|
2003-06-04 20:51:29 +00:00
|
|
|
|
2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acconfig.h: Add HAVE_TKILL_SYSCALL definition check.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
* configure.in: Add test for syscall function and check for
|
|
|
|
|
__NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and
|
|
|
|
|
<sys/syscall.h>.
|
|
|
|
|
(kill_lwp): New function that uses tkill syscall or
|
|
|
|
|
uses kill, depending on whether threading model is nptl or not.
|
|
|
|
|
All callers of kill() changed to use kill_lwp().
|
|
|
|
|
(lin_lwp_wait): Make special check when WIFEXITED occurs to
|
|
|
|
|
see if all threads have already exited in the nptl model.
|
|
|
|
|
(stop_and_resume_callback): New callback function used by the
|
|
|
|
|
lin_lwp_wait thread exit handling code.
|
|
|
|
|
(stop_wait_callback): Check for threads already having exited and
|
|
|
|
|
delete such threads fromt the lwp list when discovered.
|
|
|
|
|
(stop_callback): Don't assert retcode of kill call.
|
|
|
|
|
|
|
|
|
|
Roland McGrath <roland@redhat.com>
|
|
|
|
|
* i386-linux-nat.c (ps_get_thread_area): New function needed by
|
|
|
|
|
nptl libthread_db.
|
|
|
|
|
|
2003-06-04 16:40:50 +00:00
|
|
|
|
2003-06-03 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-04 16:44:29 +00:00
|
|
|
|
* alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.
|
|
|
|
|
(alpha_sigtramp_frame_this_id): Use get_frame_memory.
|
|
|
|
|
(alpha_sigtramp_frame_prev_register): Likewise.
|
|
|
|
|
(alpha_heuristic_frame_prev_register): Likewise.
|
|
|
|
|
* alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
|
|
|
|
|
|
2003-06-04 16:40:50 +00:00
|
|
|
|
* alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): Use
|
|
|
|
|
alpha-specific register id names.
|
|
|
|
|
(alpha_mdebug_frame_unwind_cache): Likewise.
|
|
|
|
|
(alpha_mdebug_frame_prev_register): Likewise.
|
|
|
|
|
|
2003-06-04 06:22:17 +00:00
|
|
|
|
2003-06-03 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_dwarf2_init_abi): New.
|
|
|
|
|
* alpha-tdep.h (alpha_dwarf2_init_abi): Declare it.
|
|
|
|
|
* alpha-linux-tdep.c (alpha_linux_init_abi): Use it.
|
|
|
|
|
* alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug
|
|
|
|
|
unwind routines.
|
|
|
|
|
* alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
|
|
|
|
|
* config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
|
|
|
|
|
* config/alpha/nbsd.mt (TDEPFILES): Likewise.
|
|
|
|
|
|
|
|
|
|
* alpha-linux-tdep.c: Remove unnecessary includes.
|
|
|
|
|
* Makefile.in (alpha-linux-tdep.o): Update.
|
|
|
|
|
|
|
|
|
|
2003-06-03 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change.
|
|
|
|
|
(alphabsd_fill_fpreg): Likewise.
|
|
|
|
|
|
2003-06-04 05:50:35 +00:00
|
|
|
|
2003-06-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace
|
|
|
|
|
references to struct frame_info fields by calls to the equivalent
|
|
|
|
|
accessors. Necessary now that frame_info is opaque.
|
|
|
|
|
|
2003-06-04 05:44:13 +00:00
|
|
|
|
2003-06-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.
|
|
|
|
|
(alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep
|
|
|
|
|
structure, field no longer exists.
|
|
|
|
|
|
2003-06-04 05:25:10 +00:00
|
|
|
|
2003-06-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
|
|
|
|
|
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
|
|
|
|
|
|
2003-06-04 05:20:55 +00:00
|
|
|
|
2003-06-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Replace
|
|
|
|
|
references to struct frame_info fields by calls to the equivalent
|
|
|
|
|
accessors. Necessary now that frame_info is opaque.
|
|
|
|
|
|
2003-06-04 05:17:26 +00:00
|
|
|
|
2003-06-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete.
|
|
|
|
|
(alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep
|
|
|
|
|
structure, field no longer exists.
|
|
|
|
|
|
2003-06-04 04:31:37 +00:00
|
|
|
|
2003-06-03 Theodore A. Roth <troth@openavr.org>
|
|
|
|
|
|
|
|
|
|
* remote.c (init_remote_state): Compute sizeof_g_packet by
|
|
|
|
|
accumulation of the size of all registers instead of blindly using
|
|
|
|
|
DEPRECATED_REGISTER_BYTES.
|
|
|
|
|
|
2003-06-04 00:25:03 +00:00
|
|
|
|
2003-06-03 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/h8300/tm-h8300.h (h8300sxmode): Declare.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Set machine mode
|
|
|
|
|
for h8300sx.
|
|
|
|
|
|
2003-06-03 23:52:41 +00:00
|
|
|
|
2003-06-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.
|
|
|
|
|
* Makefile.in (alpha-osf1-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-06-03 21:02:49 +00:00
|
|
|
|
2003-06-03 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c (sparc_convert_to_virtual): Delete function.
|
|
|
|
|
(sparc_convert_to_raw): Delete function.
|
|
|
|
|
(sparc_gdbarch_init): Do not set register_convert_to_raw or
|
|
|
|
|
register_convert_to_virtual.
|
|
|
|
|
|
2003-06-03 20:00:56 +00:00
|
|
|
|
2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* thread-db.c (thread_db_mourn_inferior): Unpush thread target
|
|
|
|
|
layer if not dealing with a statically-linked threaded program.
|
|
|
|
|
|
2003-06-03 19:16:34 +00:00
|
|
|
|
2003-06-03 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
|
|
|
|
* solib.c (solib_open): Update comment to reflect actual search order.
|
|
|
|
|
|
2003-06-03 18:53:37 +00:00
|
|
|
|
2003-06-03 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_frame_memory_signed): New function.
|
|
|
|
|
(get_frame_memory, get_frame_memory_unsigned): New function.
|
|
|
|
|
(get_frame_arch): New function.
|
|
|
|
|
* frame.h (get_frame_signed_memory, get_frame_arch): Declare.
|
|
|
|
|
(get_frame_memory, get_frame_unsigned_memory): Declare.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_unwind_cache): Use
|
|
|
|
|
get_frame_memory_unsigned and get_frame_arch.
|
|
|
|
|
(d10v_frame_unwind_cache, saved_regs_unwinder): Ditto.
|
|
|
|
|
|
2003-06-03 09:55:51 +00:00
|
|
|
|
2003-06-03 Raoul Gough <RaoulGough@yahoo.co.uk>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (write after approval): Add myself.
|
|
|
|
|
|
2003-06-03 05:36:53 +00:00
|
|
|
|
2003-06-03 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* s390-nat.c (supply_gregset, fill_gregset): On the s390x, the
|
|
|
|
|
elements of gregset_t are 64 bits each, but access registers
|
|
|
|
|
are still 32 bits, so they're packed two per gregset_t
|
|
|
|
|
element. Unpack/pack them properly.
|
|
|
|
|
|
2003-06-03 02:56:04 +00:00
|
|
|
|
2003-06-02 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* linespec.c (find_methods): Break out code into
|
|
|
|
|
add_matching_methods and add_constructors.
|
|
|
|
|
(add_matching_methods): New.
|
|
|
|
|
(add_constructors): Ditto.
|
|
|
|
|
|
2003-06-03 01:24:42 +00:00
|
|
|
|
2003-06-02 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c (sparc_print_registers): Delete call to
|
|
|
|
|
REGISTER_CONVERTIBLE.
|
|
|
|
|
(sparc_gdbarch_init): Do not set register_convertible.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-06-02 23:20:47 +00:00
|
|
|
|
2003-06-02 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro.
|
|
|
|
|
* symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD.
|
|
|
|
|
(syms_from_objfile): Ditto.
|
|
|
|
|
|
2003-06-02 22:56:52 +00:00
|
|
|
|
2003-06-03 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ...
|
|
|
|
|
(_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn.
|
|
|
|
|
|
2003-06-02 22:54:01 +00:00
|
|
|
|
2003-06-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_register_reggroup_p): Zero is only
|
|
|
|
|
a member of all_reggroup.
|
|
|
|
|
|
2003-06-02 22:43:31 +00:00
|
|
|
|
2003-06-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_register_type): Change from _virtual_type.
|
|
|
|
|
(alpha_convert_flt_dbl, alpha_convert_dbl_flt): Remove.
|
|
|
|
|
(alpha_lds, alpha_sts): New.
|
|
|
|
|
(alpha_convert_register_p): Change from _register_convertible.
|
|
|
|
|
(alpha_register_to_value): Change from _convert_to_virtual;
|
|
|
|
|
restructure and fail for type sizes other than 4 or 8.
|
|
|
|
|
(alpha_value_to_register): Similarly.
|
|
|
|
|
(alpha_extract_return_value): Use alpha_sts.
|
|
|
|
|
(alpha_store_return_value): Use alpha_lds.
|
|
|
|
|
(alpha_gdbarch_init): Update hooks.
|
|
|
|
|
|
2003-06-02 21:55:59 +00:00
|
|
|
|
2003-06-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific
|
|
|
|
|
regnum identifiers.
|
|
|
|
|
(alpha_sigtramp_register_address): Likewise.
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
2003-06-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
|
|
|
|
|
(alpha_supply_fp_regs, alpha_fill_fp_regs): New.
|
|
|
|
|
* alpha-tdep.h: Declare them.
|
|
|
|
|
|
|
|
|
|
* alpha-nat.c (fetch_osf_core_registers): Constify core_reg_mapping.
|
|
|
|
|
Remove zerobuf. Don't error on UNIQUE.
|
|
|
|
|
(fetch_elf_core_registers): Use alpha_supply_{int,fp}_regs.
|
|
|
|
|
(ALPHA_REGSET_UNIQUE): Provide default.
|
|
|
|
|
(supply_gregset): Use alpha_supply_int_regs.
|
|
|
|
|
(fill_gregset): Use alpha_fill_int_regs.
|
|
|
|
|
(supply_fpregset): Use alpha_supply_fp_regs.
|
|
|
|
|
(fill_fpregset): Use alpha_fill_fp_regs.
|
|
|
|
|
* alphabsd-tdep.c (NUM_GREGS, NUM_FPREGS): Remove.
|
|
|
|
|
(alphabsd_supply_reg): Use alpha_supply_int_regs.
|
|
|
|
|
(alphabsd_fill_reg): Use alpha_fill_int_regs.
|
|
|
|
|
(alphabsd_supply_fpreg): Use alpha_supply_fp_regs.
|
|
|
|
|
(alphabsd_fill_fpreg): Use alpha_fill_fp_regs.
|
|
|
|
|
* config/alpha/nm-linux.h (ALPHA_REGSET_UNIQUE): New.
|
|
|
|
|
|
2003-06-02 20:46:41 +00:00
|
|
|
|
2003-06-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:55:13 +00:00
|
|
|
|
* alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
|
|
|
|
|
|
2003-06-02 20:46:41 +00:00
|
|
|
|
* alpha-tdep.c (alpha_extract_return_value): Use internal_error.
|
|
|
|
|
(alpha_store_return_value): Likewise.
|
|
|
|
|
|
2003-06-02 18:36:33 +00:00
|
|
|
|
2003-06-02 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* block.c (contained_in): Add 'const' to arguments.
|
|
|
|
|
(block_function): Ditto.
|
|
|
|
|
* block.h: Update declarations for block_function and
|
|
|
|
|
contained_in.
|
|
|
|
|
|
2003-06-02 18:08:16 +00:00
|
|
|
|
2003-06-02 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'.
|
|
|
|
|
* c-valprint.c (c_val_print): Delete unneeded variable 's'.
|
|
|
|
|
* p-valprint.c (pascal_val_print): Ditto.
|
|
|
|
|
* ada-lang.c (standard_lookup): Delete unneded variable 'symtab'.
|
|
|
|
|
|
2003-06-02 16:13:58 +00:00
|
|
|
|
2003-06-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_push_dummy_call): Use
|
|
|
|
|
builtin_type_ieee_double_little instead of builtin_type_double.
|
2003-06-02 16:18:32 +00:00
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated
|
|
|
|
|
sign-extension of 32-bit values.
|
|
|
|
|
(alpha_store_return_value): Similarly.
|
2003-06-02 16:17:54 +00:00
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_push_dummy_call): Handle COMPLEX types.
|
|
|
|
|
(alpha_extract_return_value): Likewise.
|
|
|
|
|
(alpha_store_return_value): Likewise.
|
2003-06-02 16:16:52 +00:00
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_extract_return_value): Handle IEEE Quad floats.
|
|
|
|
|
(alpha_store_return_value): Error on IEEE Quad floats.
|
2003-06-02 16:16:14 +00:00
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_extract_return_value): Convert to regcache.
|
|
|
|
|
(alpha_extract_struct_value_address): Likewise.
|
|
|
|
|
(alpha_store_return_value): Likewise.
|
|
|
|
|
(alpha_store_struct_return): Remove.
|
|
|
|
|
(alpha_gdbarch_init): Update hook registration to match.
|
2003-06-02 16:15:34 +00:00
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_register_convert_to_virtual): Tidy use of
|
|
|
|
|
deprecated interfaces; use ALPHA_REGISTER_SIZE instead of gdbarch
|
|
|
|
|
macros where appropriate.
|
|
|
|
|
(alpha_register_convert_to_raw): Similarly. Use unpack_long.
|
|
|
|
|
(alpha_convert_flt_dbl, alpha_convert_dbl_flt): New.
|
2003-06-02 16:14:54 +00:00
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_register_virtual_type): Use void_data_ptr
|
|
|
|
|
for SP, GP; void_func_ptr for PC; non-language-specific types
|
|
|
|
|
for all others.
|
|
|
|
|
* alpha-tdep.h (ALPHA_GP_REGNUM): New.
|
2003-06-02 16:13:58 +00:00
|
|
|
|
|
2003-06-02 16:02:59 +00:00
|
|
|
|
2003-06-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* top.h (lim_at_start): Declare.
|
|
|
|
|
* main.c (captured_main): Set it.
|
|
|
|
|
* top.c (lim_at_start): Define.
|
|
|
|
|
(command_loop): Use it instead of &environ.
|
|
|
|
|
* event-top.c (command_handler): Likewise.
|
|
|
|
|
|
2003-06-02 04:58:26 +00:00
|
|
|
|
2003-06-01 Jason Thorpe <thorpej@wasabisystems.com>
|
|
|
|
|
|
|
|
|
|
* mipsnbsd-tdep.c: Update copyright years.
|
|
|
|
|
(fetch_core_registers): Correct arguments to mipsnbsd_supply_fpreg.
|
|
|
|
|
|
2003-06-02 04:34:37 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* Makefile.in (ALLDEPFILES): Add alpha-mdebug-tdep.c.
|
|
|
|
|
(alpha-linux-tdep.o): Update dependencies.
|
|
|
|
|
(alpha-nat.o, alpha-tdep.o, alpha-mdebug-tdep.o): Likewise.
|
|
|
|
|
* alpha-mdebug-tdep.c: Remove unneeded includes.
|
2003-06-02 04:34:37 +00:00
|
|
|
|
|
2003-06-02 04:32:19 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_register_reggroup_p): New.
|
|
|
|
|
(alpha_gdbarch_init): Register it.
|
2003-06-02 04:32:19 +00:00
|
|
|
|
|
2003-06-02 04:16:24 +00:00
|
|
|
|
2003-06-02 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarfread.c: Eliminate "register"
|
|
|
|
|
(decode_die_type): Eliminate assignment within "if".
|
|
|
|
|
(struct_type, decode_array_element_type): Ditto.
|
|
|
|
|
(dwarf_read_array_type, read_tag_pointer_type): Ditto.
|
|
|
|
|
(read_subroutine_type, enum_type, add_enum_psymbol): Ditto.
|
|
|
|
|
(decode_modified_type, completedieinfo): Ditto.
|
|
|
|
|
* block.c: Eliminate "register".
|
|
|
|
|
(blockvector_for_pc_sect): Eliminate assignment within "if".
|
|
|
|
|
* cp-support.h (struct symbol): Opaque declaration.
|
|
|
|
|
* breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free.
|
|
|
|
|
|
2003-06-02 03:38:09 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ...
|
|
|
|
|
(_initialize_alpha_tdep): ... not deprecated_tm_print_insn.
|
2003-06-02 03:38:09 +00:00
|
|
|
|
|
2003-06-02 02:54:35 +00:00
|
|
|
|
2003-06-01 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT.
|
|
|
|
|
* gdbarch.[ch]: Regenerate.
|
|
|
|
|
* hppa-tdep.c (hppa_fetch_pointer_argument): New function.
|
|
|
|
|
(hppa_gdbarch_init): Set it in the gdbarch vector.
|
|
|
|
|
* i386-tdep.c (i386_fetch_pointer_argument): New
|
|
|
|
|
(i386_gdbarch_init): Set it into gdbarch.
|
|
|
|
|
* rs6000-tdep.c (rs6000_fetch_pointer_argument): New.
|
|
|
|
|
(rs6000_gdbarch_init): Set it in gdbarch.
|
|
|
|
|
* sparc-tdep.c (sparc_fetch_pointer_argument): New
|
|
|
|
|
(sparc_gdbarch_init): Set it in gdbarch.
|
|
|
|
|
|
2003-06-01 23:00:55 +00:00
|
|
|
|
2003-06-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-06-02 02:09:40 +00:00
|
|
|
|
* defs.h (extract_address): Delete declaration.
|
|
|
|
|
* findvar.c (extract_address): Delete function.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_extract_return_value): Replace
|
|
|
|
|
extract_address with the inline equivalent,
|
|
|
|
|
extract_unsigned_integer.
|
|
|
|
|
(xstormy16_extract_struct_value_address): Ditto.
|
|
|
|
|
(xstormy16_pointer_to_address): Ditto.
|
|
|
|
|
* vax-tdep.c (vax_extract_struct_value_address): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_push_arguments): Ditto.
|
|
|
|
|
(v850_extract_return_value): Ditto.
|
|
|
|
|
(v850_extract_struct_value_address): Ditto.
|
|
|
|
|
* sparcnbsd-tdep.c (sparcnbsd_get_longjmp_target_32): Ditto.
|
|
|
|
|
(sparcnbsd_get_longjmp_target_64): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_frame_saved_pc): Ditto.
|
|
|
|
|
(get_longjmp_target): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_extract_struct_value_address): Ditto.
|
|
|
|
|
(sh64_extract_struct_value_address): Ditto.
|
|
|
|
|
(sh_push_arguments): Ditto.
|
|
|
|
|
(sh64_push_arguments): Ditto.
|
|
|
|
|
* remote-vxsparc.c (vx_read_register): Ditto.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Ditto.
|
|
|
|
|
* ns32k-tdep.c (ns32k_extract_struct_value_address): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_extract_struct_value_address): Ditto.
|
|
|
|
|
* mipsv4-nat.c (get_longjmp_target): Ditto.
|
|
|
|
|
* mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Ditto.
|
|
|
|
|
* mips-nat.c (get_longjmp_target): Ditto.
|
|
|
|
|
* mips-linux-tdep.c (mips_linux_get_longjmp_target): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_extract_struct_value_address): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_get_longjmp_target): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_extract_struct_value_address): Ditto.
|
|
|
|
|
* irix5-nat.c (get_longjmp_target): Ditto.
|
|
|
|
|
* irix4-nat.c (get_longjmp_target): Ditto.
|
|
|
|
|
* ia64-tdep.c (generic_elf_find_global_pointer): Ditto.
|
|
|
|
|
(ia64_push_arguments): Ditto.
|
|
|
|
|
* hpux-thread.c (hpux_thread_store_registers): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_push_arguments): Ditto.
|
|
|
|
|
(h8300_store_return_value): Ditto.
|
|
|
|
|
(h8300_extract_struct_value_address): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_extract_struct_value_address): Ditto.
|
|
|
|
|
(frv_push_arguments): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_pointer_to_address): Ditto.
|
|
|
|
|
(avr_push_arguments): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_push_dummy_call): Ditto.
|
|
|
|
|
(arm_get_longjmp_target): Ditto.
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_extract_struct_value_address): Ditto.
|
|
|
|
|
(alpha_get_longjmp_target): Ditto.
|
|
|
|
|
|
2003-06-01 23:00:55 +00:00
|
|
|
|
* solib-irix.c (extract_mips_address): Inline extract_address,
|
|
|
|
|
replacing it with extract_signed_integer.
|
|
|
|
|
* solib-svr4.c (SOLIB_EXTRACT_ADDRESS): Ditto.
|
|
|
|
|
(LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY): Ditto.
|
|
|
|
|
(first_link_map_member, open_symbol_file_object): Ditto.
|
|
|
|
|
(svr4_fetch_objfile_link_map, svr4_fetch_objfile_link_map): Ditto.
|
|
|
|
|
* solib-sunos.c (SOLIB_EXTRACT_ADDRESS): Ditto.
|
|
|
|
|
(LM_NEXT, LM_NAME): Ditto.
|
|
|
|
|
|
2003-06-01 21:46:37 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.h (ALPHA_FP_REGNUM): Remove.
|
|
|
|
|
* alpha-tdep.c (alpha_register_name): Remove vfp entry.
|
|
|
|
|
(alpha_cannot_fetch_register): Remove ALPHA_FP_REGNUM.
|
|
|
|
|
(alpha_cannot_store_register): Likewise.
|
|
|
|
|
* alphabsd-nat.c (fetch_inferior_registers): Don't set FP_REGNUM.
|
|
|
|
|
* alpha-nat.c (supply_gregset): Likewise.
|
|
|
|
|
* alphanbsd-tdep.c (fetch_core_registers): Likewise.
|
2003-06-01 21:46:37 +00:00
|
|
|
|
|
2003-06-01 19:02:19 +00:00
|
|
|
|
2003-06-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Update comment on
|
|
|
|
|
DEPRECATED_DUMMY_WRITE_SP.
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Do not set
|
|
|
|
|
deprecated_dummy_write_sp.
|
|
|
|
|
(mips_eabi_push_dummy_call): Set the SP register.
|
|
|
|
|
(mips_o64_push_dummy_call): Set the SP register.
|
|
|
|
|
(mips_o32_push_dummy_call): Set the SP register.
|
|
|
|
|
(mips_n32n64_push_dummy_call): Set the SP register.
|
|
|
|
|
|
2003-06-01 18:44:13 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-nat.c (fetch_osf_core_registers): Use ALPHA_REGISTER_SIZE
|
|
|
|
|
instead of ALPHA_MAX_REGISTER_RAW_SIZE.
|
|
|
|
|
(supply_gregset): Likewise.
|
|
|
|
|
* alpha-tdep.c (alpha_store_return_value): Likewise.
|
|
|
|
|
(alpha_get_longjmp_target): Likewise.
|
|
|
|
|
(alpha_register_name): Constify array.
|
|
|
|
|
(alpha_gdbarch_init): Remove deprecated_fp_regnum,
|
|
|
|
|
deprecated_register_size, deprecated_register_bytes,
|
|
|
|
|
deprecated_max_register_raw_size, deprecated_max_register_virtual_size.
|
|
|
|
|
* alpha-tdep.h (ALPHA_MAX_REGISTER_RAW_SIZE): Remove.
|
|
|
|
|
(ALPHA_MAX_REGISTER_VIRTUAL_SIZE): Remove.
|
2003-06-01 18:44:13 +00:00
|
|
|
|
|
2003-06-01 18:42:30 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_push_dummy_call): Store sp. Tidy copies
|
|
|
|
|
from arg_reg_buffer to regcache to avoid double conversion.
|
|
|
|
|
|
2003-06-01 16:45:02 +00:00
|
|
|
|
2003-06-01 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-linux-nat.c (child_resume): Use I386_ESP_REGNUM instead of
|
|
|
|
|
SP_REGNUM.
|
|
|
|
|
* i386-linux-tdep.c (i386_linux_sigcontext_addr): Likewise.
|
|
|
|
|
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Likewise.
|
|
|
|
|
|
2003-06-01 16:08:54 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* dwarf2-frame.c (struct dwarf2_cie): Add saw_z_augmentation.
|
|
|
|
|
(decode_frame_entry): Set it. Skip FDE augmentation.
|
2003-06-01 16:08:54 +00:00
|
|
|
|
|
2003-06-01 16:04:50 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column
|
|
|
|
|
not overlapping PC_REGNUM.
|
2003-06-01 16:04:50 +00:00
|
|
|
|
|
2003-06-01 16:02:50 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-06-02 20:57:16 +00:00
|
|
|
|
* alpha-tdep.c (alpha_push_dummy_call): Transmography from
|
|
|
|
|
alpha_push_arguments. Don't dump argument register data to
|
|
|
|
|
the target stack. Fix float and 128-bit long double semantics.
|
|
|
|
|
Store $t12 and $ra as specified by the ABI. Use regcache everywhere.
|
|
|
|
|
(alpha_fix_call_dummy): Remove.
|
|
|
|
|
(alpha_call_dummy_words): Remove.
|
|
|
|
|
(alpha_gdbarch_init): Kill deprecated call hooks; add push_dummy_call.
|
2003-06-01 16:02:50 +00:00
|
|
|
|
|
2003-06-01 15:53:56 +00:00
|
|
|
|
2003-06-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
|
|
|
|
|
|
2003-06-01 Andrew Cagney <cagney@redhat.com>
* configure.tgt: Replace mips64*vr4xxx*el-*-elf*,
mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*,
mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*,
mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and
mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete
mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto
mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*,
mips*-*-riscos* and mips*-*-sysv* onto mips.
* config/mips/mips64.mt: New file.
* config/mips/mips.mt: New file.
* config/mips/littlemips.mt: Delete file.
* config/mips/decstation.mt: Delete file.
* config/mips/vr4300el.mt: Delete file.
* config/mips/vr5000el.mt: Delete file.
* config/mips/vr5000.mt: Delete file.
* config/mips/vr4100.mt: Delete file.
* config/mips/vr4xxxel.mt: Delete file.
* config/mips/vr4300.mt: Delete file.
* config/mips/vr4xxx.mt: Delete file.
* config/mips/bigmips.mt: Delete file.
* config/mips/bigmips64.mt: Delete file.
* config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h".
* config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h".
* config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h"
* config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h".
* config/mips/tm-tx39.h: Include "tm-mips.h" instead of
"tm-bigmips.h".
* config/mips/tm-irix3.h: Ditto.
* config/mips/tm-mipsv4.h: Ditto.
* config/mips/tm-embed.h: Ditto.
* config/mips/tm-irix6.h: Include "tm-mips64.h" instead of
"tm-bigmips64.h".
* config/mips/tm-vr5000el.h: Delete file.
* config/mips/tm-tx39l.h: Delete file.
* config/mips/tm-vr4300el.h: Delete file.
* config/mips/tm-vr4xxxel.h: Delete file.
* config/mips/tm-vr4300.h: Delete file.
* config/mips/tm-vr4100.h: Delete file.
* config/mips/tm-vr4xxx.h: Delete file.
* config/mips/tm-vr5000.h: Delete file.
* config/mips/tm-embedl64.h: Delete file.
* config/mips/tm-embedl.h: Delete file.
* config/mips/tm-embed64.h: Delete file.
* config/mips/tm-bigmips64.h: Delete file.
* config/mips/tm-bigmips.h: Delete file.
2003-06-01 14:45:28 +00:00
|
|
|
|
2003-06-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-06-01 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (is_mips16_addr): New function.
(make_mips16_addr, unmake_mips16_addr): New functions.
(pc_is_mips16, mips_fetch_instruction): Use.
(gdb_print_insn_mips, mips_breakpoint_from_pc): Use.
(gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH.
(mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH,
UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and
TARGET_MIPS.
* config/mips/tm-mips.h: Update copyright.
(TARGET_MIPS, TM_PRINT_INSN_MACH): Delete.
(DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete.
(IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete.
* config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete.
(TM_PRINT_INSN_MACH): Delete.
* config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete.
2003-06-01 15:45:57 +00:00
|
|
|
|
* mips-tdep.c (is_mips16_addr): New function.
|
|
|
|
|
(make_mips16_addr, unmake_mips16_addr): New functions.
|
|
|
|
|
(pc_is_mips16, mips_fetch_instruction): Use.
|
|
|
|
|
(gdb_print_insn_mips, mips_breakpoint_from_pc): Use.
|
|
|
|
|
(gdb_print_insn_mips): Eliminate TM_PRINT_INSN_MACH.
|
|
|
|
|
(mips_dump_tdep): Delete print of TM_PRINT_INSN_MACH,
|
|
|
|
|
UNMAKE_MIPS16_ADDR, MAKE_MIPS16_ADDR, IS_MIPS16_ADDR and
|
|
|
|
|
TARGET_MIPS.
|
|
|
|
|
* config/mips/tm-mips.h: Update copyright.
|
|
|
|
|
(TARGET_MIPS, TM_PRINT_INSN_MACH): Delete.
|
|
|
|
|
(DEPRECATED_REGISTER_SIZE, DEPRECATED_REGISTER_BYTES): Delete.
|
|
|
|
|
(IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR): Delete.
|
|
|
|
|
* config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Delete.
|
|
|
|
|
(TM_PRINT_INSN_MACH): Delete.
|
|
|
|
|
* config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Delete.
|
|
|
|
|
|
2003-06-01 Andrew Cagney <cagney@redhat.com>
* configure.tgt: Replace mips64*vr4xxx*el-*-elf*,
mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*,
mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*,
mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and
mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete
mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto
mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*,
mips*-*-riscos* and mips*-*-sysv* onto mips.
* config/mips/mips64.mt: New file.
* config/mips/mips.mt: New file.
* config/mips/littlemips.mt: Delete file.
* config/mips/decstation.mt: Delete file.
* config/mips/vr4300el.mt: Delete file.
* config/mips/vr5000el.mt: Delete file.
* config/mips/vr5000.mt: Delete file.
* config/mips/vr4100.mt: Delete file.
* config/mips/vr4xxxel.mt: Delete file.
* config/mips/vr4300.mt: Delete file.
* config/mips/vr4xxx.mt: Delete file.
* config/mips/bigmips.mt: Delete file.
* config/mips/bigmips64.mt: Delete file.
* config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h".
* config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h".
* config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h"
* config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h".
* config/mips/tm-tx39.h: Include "tm-mips.h" instead of
"tm-bigmips.h".
* config/mips/tm-irix3.h: Ditto.
* config/mips/tm-mipsv4.h: Ditto.
* config/mips/tm-embed.h: Ditto.
* config/mips/tm-irix6.h: Include "tm-mips64.h" instead of
"tm-bigmips64.h".
* config/mips/tm-vr5000el.h: Delete file.
* config/mips/tm-tx39l.h: Delete file.
* config/mips/tm-vr4300el.h: Delete file.
* config/mips/tm-vr4xxxel.h: Delete file.
* config/mips/tm-vr4300.h: Delete file.
* config/mips/tm-vr4100.h: Delete file.
* config/mips/tm-vr4xxx.h: Delete file.
* config/mips/tm-vr5000.h: Delete file.
* config/mips/tm-embedl64.h: Delete file.
* config/mips/tm-embedl.h: Delete file.
* config/mips/tm-embed64.h: Delete file.
* config/mips/tm-bigmips64.h: Delete file.
* config/mips/tm-bigmips.h: Delete file.
2003-06-01 14:45:28 +00:00
|
|
|
|
* configure.tgt: Replace mips64*vr4xxx*el-*-elf*,
|
|
|
|
|
mips64*vr4xxx*-*-elf*, mips64*vr4300*el-*-elf*,
|
|
|
|
|
mips64*vr4300*-*-elf*, mips64*vr4100*el-*-elf*,
|
|
|
|
|
mips64*vr4100*-*-elf*, mips64*vr5000*el-*-elf*, and
|
|
|
|
|
mips64*vr5000*-*-elf* with mips64 mips64*vr*-*-elf*. Delete
|
|
|
|
|
mips*tx39*el*-elf*. Map mips*-sony-* and mips64*-big-* onto
|
|
|
|
|
mips64. Map mips*-dec-*, mips*-big-*, mips*-little-*,
|
|
|
|
|
mips*-*-riscos* and mips*-*-sysv* onto mips.
|
|
|
|
|
* config/mips/mips64.mt: New file.
|
|
|
|
|
* config/mips/mips.mt: New file.
|
|
|
|
|
* config/mips/littlemips.mt: Delete file.
|
|
|
|
|
* config/mips/decstation.mt: Delete file.
|
|
|
|
|
* config/mips/vr4300el.mt: Delete file.
|
|
|
|
|
* config/mips/vr5000el.mt: Delete file.
|
|
|
|
|
* config/mips/vr5000.mt: Delete file.
|
|
|
|
|
* config/mips/vr4100.mt: Delete file.
|
|
|
|
|
* config/mips/vr4xxxel.mt: Delete file.
|
|
|
|
|
* config/mips/vr4300.mt: Delete file.
|
|
|
|
|
* config/mips/vr4xxx.mt: Delete file.
|
|
|
|
|
* config/mips/bigmips.mt: Delete file.
|
|
|
|
|
* config/mips/bigmips64.mt: Delete file.
|
|
|
|
|
* config/mips/tx39l.mt (TM_FILE): Set to "tm-tx39.h".
|
|
|
|
|
* config/mips/embedl64.mt (TM_FILE): Set to "tm-mips64.h".
|
|
|
|
|
* config/mips/embed64.mt (TM_FILE): Set to "tm-mips64.h"
|
|
|
|
|
* config/mips/embedl.mt (TM_FILE): Set to "tm-mips.h".
|
|
|
|
|
* config/mips/tm-tx39.h: Include "tm-mips.h" instead of
|
|
|
|
|
"tm-bigmips.h".
|
|
|
|
|
* config/mips/tm-irix3.h: Ditto.
|
|
|
|
|
* config/mips/tm-mipsv4.h: Ditto.
|
|
|
|
|
* config/mips/tm-embed.h: Ditto.
|
|
|
|
|
* config/mips/tm-irix6.h: Include "tm-mips64.h" instead of
|
|
|
|
|
"tm-bigmips64.h".
|
|
|
|
|
* config/mips/tm-vr5000el.h: Delete file.
|
|
|
|
|
* config/mips/tm-tx39l.h: Delete file.
|
|
|
|
|
* config/mips/tm-vr4300el.h: Delete file.
|
|
|
|
|
* config/mips/tm-vr4xxxel.h: Delete file.
|
|
|
|
|
* config/mips/tm-vr4300.h: Delete file.
|
|
|
|
|
* config/mips/tm-vr4100.h: Delete file.
|
|
|
|
|
* config/mips/tm-vr4xxx.h: Delete file.
|
|
|
|
|
* config/mips/tm-vr5000.h: Delete file.
|
|
|
|
|
* config/mips/tm-embedl64.h: Delete file.
|
|
|
|
|
* config/mips/tm-embedl.h: Delete file.
|
|
|
|
|
* config/mips/tm-embed64.h: Delete file.
|
|
|
|
|
* config/mips/tm-bigmips64.h: Delete file.
|
|
|
|
|
* config/mips/tm-bigmips.h: Delete file.
|
|
|
|
|
|
2003-06-01 09:19:40 +00:00
|
|
|
|
2003-06-01 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-06-01 12:31:26 +00:00
|
|
|
|
Fix gdb/1216.
|
|
|
|
|
* shnbsd-nat.c: Include "sh-tdep.h".
|
|
|
|
|
|
2003-06-01 09:19:40 +00:00
|
|
|
|
From Richard Henderson <rth@redhat.com>:
|
|
|
|
|
* dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Fix ptr arithmetic.
|
|
|
|
|
|
2003-06-01 01:36:34 +00:00
|
|
|
|
2003-05-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (set_reg_offset): Add saved_regs parameter. Add
|
|
|
|
|
forward declaration.
|
|
|
|
|
(mips16_heuristic_proc_desc): Pass temp_saved_regs.
|
|
|
|
|
(mips16_heuristic_proc_desc): Pass temp_saved_regs.
|
|
|
|
|
(mips_find_saved_regs): Use set_reg_offset.
|
|
|
|
|
(mips_frame_init_saved_regs): Delete function.
|
|
|
|
|
(mips_pop_frame): Call mips_find_saved_regs instead of
|
|
|
|
|
DEPRECATED_FRAME_INIT_SAVED_REGS.
|
|
|
|
|
|
2003-05-31 22:56:29 +00:00
|
|
|
|
2003-05-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Do not set
|
|
|
|
|
deprecated_max_register_raw_size, register_virtual_size, and
|
|
|
|
|
deprecated_max_register_virtual_size.
|
|
|
|
|
|
2003-05-31 19:18:05 +00:00
|
|
|
|
2003-05-31 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-05-31 21:13:20 +00:00
|
|
|
|
* i386-tdep.c: Include "dwarf2-frame.h".
|
|
|
|
|
(i386_gdbarch_init): Hook in the DWARF CFI frame unwinder.
|
|
|
|
|
* Makefile.in (i386-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-05-31 19:18:05 +00:00
|
|
|
|
* dwarf2-frame.c, dwarf2-frame.h: New files.
|
|
|
|
|
* Makefile.in (SFILES): Add dwarf2-frame.c.
|
|
|
|
|
(dwarf2_frame_h): Define.
|
|
|
|
|
(COMMON_OBS): Add dwarf2-frame.o.
|
|
|
|
|
(dwarf2-frame.o): Add dependencies.
|
|
|
|
|
|
2003-05-31 18:00:04 +00:00
|
|
|
|
2003-05-31 Andreas Jaeger <aj@suse.de>
|
|
|
|
|
|
|
|
|
|
* x86-64-linux-nat.c: Fix comment.
|
|
|
|
|
|
2003-05-31 16:49:18 +00:00
|
|
|
|
2003-05-31 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-05-31 16:54:18 +00:00
|
|
|
|
* x86-64-tdep.c (x86_64_push_dummy_call): Adjust for changed
|
|
|
|
|
function signature.
|
|
|
|
|
|
2003-05-31 16:49:18 +00:00
|
|
|
|
* i386-tdep.c (i386_sigtramp_frame_p): Only handle frames if we
|
|
|
|
|
have a sigcontext_addr handler.
|
|
|
|
|
* x86-64-tdep.c (x86_64_sigtramp_frame_p): Assert that we have a
|
|
|
|
|
sigcontext_addr handler.
|
|
|
|
|
|
2003-05-31 16:36:28 +00:00
|
|
|
|
2003-05-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (print_gp_register_row): Replace do_gp_register_row.
|
|
|
|
|
(print_fp_register_row): Replace do_fp_register_row.
|
|
|
|
|
(mips_print_fp_register): Add "file" and "frame" parameters.
|
|
|
|
|
(mips_print_register): Add "file" and "frame" parameters.
|
|
|
|
|
(mips_print_registers_info): Replace mips_do_registers_info.
|
|
|
|
|
(mips_gdbarch_init): Set print_registers_info instead of
|
|
|
|
|
deprecated_do_registers_info.
|
|
|
|
|
(mips_read_fp_register_single): Add "frame" parameter.
|
|
|
|
|
(mips_read_fp_register_double): Add "frame" parameter.
|
|
|
|
|
|
From Michal Ludvig <mludvig@suse.cz>:
* i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset'
and `sc_num_regs'.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): Move here from...
* i386-tdep.c: ... here.
(I386_NUM_SAVED_REGS): Define to I386_NUM_REGS.
(i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
registers if possible.
(i386_gdbarch_init): Initialize TDEP->sc_reg_offset.
* i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset):
Remove variables.
(i386bsd_sc_reg_offset): New variable.
(i386bsd_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
(i386fbsd_sc_reg_offset): New variable.
(i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs.
(i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove
variables.
(i386fbsd4_sc_reg_offset): New variable.
(i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
* i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable.
(i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs.
* i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset):
Remove variables.
(i386nbsd_sc_reg_offset): New variable.
(i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
* i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset):
Remove variables.
(i386obsd_sc_reg_offset): New variable.
(i386obsd_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
* i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in
i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check
for frame pointer offset in `struct sigcontext'.
2003-05-31 16:08:06 +00:00
|
|
|
|
2003-05-31 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-05-31 16:25:13 +00:00
|
|
|
|
* i386-tdep.c (i386_register_name): Check for MMX registers first.
|
|
|
|
|
Fixes a bug where GDB would print the wrong register names for
|
|
|
|
|
targets without SSE.
|
|
|
|
|
|
2003-05-31 16:11:47 +00:00
|
|
|
|
* x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS.
|
|
|
|
|
(x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
|
|
|
|
|
registers.
|
|
|
|
|
|
|
|
|
|
* x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable.
|
|
|
|
|
(x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and
|
|
|
|
|
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
|
|
|
|
|
TDEP->sc_sp_offset.
|
|
|
|
|
|
From Michal Ludvig <mludvig@suse.cz>:
* i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset'
and `sc_num_regs'.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): Move here from...
* i386-tdep.c: ... here.
(I386_NUM_SAVED_REGS): Define to I386_NUM_REGS.
(i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
registers if possible.
(i386_gdbarch_init): Initialize TDEP->sc_reg_offset.
* i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset):
Remove variables.
(i386bsd_sc_reg_offset): New variable.
(i386bsd_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
(i386fbsd_sc_reg_offset): New variable.
(i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs.
(i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove
variables.
(i386fbsd4_sc_reg_offset): New variable.
(i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
* i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable.
(i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs.
* i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset):
Remove variables.
(i386nbsd_sc_reg_offset): New variable.
(i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
* i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset):
Remove variables.
(i386obsd_sc_reg_offset): New variable.
(i386obsd_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
* i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in
i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check
for frame pointer offset in `struct sigcontext'.
2003-05-31 16:08:06 +00:00
|
|
|
|
From Michal Ludvig <mludvig@suse.cz>:
|
|
|
|
|
* i386-tdep.h (struct gdbarch_tdep): Add members `sc_reg_offset'
|
|
|
|
|
and `sc_num_regs'.
|
|
|
|
|
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
|
|
|
|
|
I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
|
|
|
|
|
I386_ST0_REGNUM): Move here from...
|
|
|
|
|
* i386-tdep.c: ... here.
|
|
|
|
|
(I386_NUM_SAVED_REGS): Define to I386_NUM_REGS.
|
|
|
|
|
(i386_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
|
|
|
|
|
registers if possible.
|
|
|
|
|
(i386_gdbarch_init): Initialize TDEP->sc_reg_offset.
|
|
|
|
|
* i386bsd-tdep.c (i386bsd_sc_pc_offset, i386bsd_sc_sp_offset):
|
|
|
|
|
Remove variables.
|
|
|
|
|
(i386bsd_sc_reg_offset): New variable.
|
|
|
|
|
(i386bsd_init_abi): Initialize TDEP->sc_reg_offset and
|
|
|
|
|
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
|
|
|
|
|
TDEP->sc_sp_offset.
|
|
|
|
|
(i386fbsd_sc_reg_offset): New variable.
|
|
|
|
|
(i386fbsdaout_init_abi): Initialize TDEP->sc_reg_offset and
|
|
|
|
|
TDEP->sc_num_regs.
|
|
|
|
|
(i386fbsd4_sc_pc_offset, i386fbsd4_sc_sp_offset): Remove
|
|
|
|
|
variables.
|
|
|
|
|
(i386fbsd4_sc_reg_offset): New variable.
|
|
|
|
|
(i3864bsd4_init_abi): Initialize TDEP->sc_reg_offset and
|
|
|
|
|
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
|
|
|
|
|
TDEP->sc_sp_offset.
|
|
|
|
|
* i386-linux-tdep.c (i386_linux_sc_reg_offset): New variable.
|
|
|
|
|
(i386_linux_init_abi): Set TDEP->sc_reg_offset and TDEP->sc_num_regs.
|
|
|
|
|
* i386nbsd-tdep.c (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset):
|
|
|
|
|
Remove variables.
|
|
|
|
|
(i386nbsd_sc_reg_offset): New variable.
|
|
|
|
|
(i386nbsd_init_abi): Initialize TDEP->sc_reg_offset and
|
|
|
|
|
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
|
|
|
|
|
TDEP->sc_sp_offset.
|
|
|
|
|
* i386obsd-tdep.c (i386obsd_sc_pc_offset, i386obsd_sc_sp_offset):
|
|
|
|
|
Remove variables.
|
|
|
|
|
(i386obsd_sc_reg_offset): New variable.
|
|
|
|
|
(i386obsd_init_abi): Initialize TDEP->sc_reg_offset and
|
|
|
|
|
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
|
|
|
|
|
TDEP->sc_sp_offset.
|
|
|
|
|
* i386bsd-nat.c (_initialize_i386bsd_nat): Adjust for changes in
|
|
|
|
|
i386bsd-tdep.c, i386nbsd-tdep.c and i386obsd-tdep.c. Add check
|
|
|
|
|
for frame pointer offset in `struct sigcontext'.
|
|
|
|
|
|
2003-05-31 15:17:05 +00:00
|
|
|
|
2003-05-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Do not set the deprecated
|
|
|
|
|
architecture methods call_dummy_words, sizeof_call_dummy_words,
|
|
|
|
|
push_return_address, store_struct_return, and fix_call_dummy. Set
|
|
|
|
|
push_dummy_call instead of deprecated_push_arguments.
|
|
|
|
|
(mips_store_struct_return): Delete function.
|
|
|
|
|
(mips_fix_call_dummy): Delete function.
|
|
|
|
|
(mips_push_return_address): Delete function.
|
|
|
|
|
(mips_eabi_push_dummy_call): Replace mips_eabi_push_arguments, set
|
|
|
|
|
RA_REGNUM and T9_REGNUM.
|
|
|
|
|
(mips_n32n64_push_dummy_call): Ditto for
|
|
|
|
|
mips_n32n64_push_arguments.
|
|
|
|
|
(mips_o32_push_dummy_call): Ditto for mips_o32_push_arguments.
|
|
|
|
|
(mips_o64_push_dummy_call): Ditto for mips_o64_push_arguments.
|
|
|
|
|
|
2003-05-31 14:20:31 +00:00
|
|
|
|
2003-05-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (PUSH_DUMMY_CALL): Add "func_addr" parameter. Rename
|
|
|
|
|
"dummy_addr" to "bp_addr".
|
|
|
|
|
* infcall.c (call_function_by_hand): Pass "funaddr" to
|
|
|
|
|
gdbarch_push_dummy_call.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* i386-tdep.c (i386_push_dummy_call): Update.
|
|
|
|
|
* arm-tdep.c (arm_push_dummy_call): Update.
|
|
|
|
|
* d10v-tdep.c (d10v_push_dummy_call): Update.
|
|
|
|
|
|
* x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove
variable declarations.
(x86_64_register_number, x86_64_register_name): Remove prototypes.
(x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call,
x86_64_linux_in_sigtramp, x86_64_linux_frame_chain,
x86_64_init_frame_pc, x86_64_init_frame_pc,
x86_64_function_has_prologue): Remove prototypes.
(X86_64_NUM_GREGS): New define.
(x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes.
* x86-64-tdep.c: Don't include "dwarf2cfi.h". Include
"dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h".
(RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM,
XMM1_REGNUM): Remove defines.
(X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
X86_64_XMM1_REGNUM): New defines.
(struct x86_64_register_info): Renamed from `struct
register_info'. Remove `size' member.
(x86_64_register_info_table): Remove variable.
(x86_64_register_info): New variable.
(X86_64_NUM_REGS): New define.
(X86_64_NUM_GREGS): Remove define.
(x86_64_num_regs, x86_64_num_gregs): Remove variables.
(x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length):
Remove variables.
(x86_54_dwarf2_reg_to_regnum): Remove function.
(x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables.
(x86_64_dwarf_reg_to_regnum): New function.
(x86_64_register_name): Rewrite.
(x86_64_register_raw_size): Remove function.
(x86_64_register_byte_table): Remove variable.
(x86_64_register_byte): Remove function.
(x86_64_register_virtual_type): Remove function.
(x86_64_register_type): New function.
(x86_64_register_convertible, x86_64_register_convert_to_virtual,
x86_64_register_convert_to_raw): Remove functions.
(x86_64_push_return_address, x86_64_pop_frame): Remove functon.
(x86_64_use_struct_convention): Make static. Adjust for renamed
defines.
(x86_64_frame_init_saved_regs): Remove function.
(x86_64_push_arguments): Make static. Change to accept a regcache
as argument.
(x86_64_store_return_value, x86_64_extract_return_value): Make
static. Rewrite based on i386 counterparts.
(x86_64_push_dummy_call): New function.
(X86_64_NUM_SAVED_REGS): New define.
(x86_64_register_number): Remove function.
(x86_64_store_struct_return): Remove function.
(x86_64_frameless_function_invocation,
x86_64_function_has_prologue): Remove functions.
(PROLOG_BUFSIZE): Remove define.
(struct x86_64_frame_cache): New structure.
(x86_64_alloc_frame_cache, x86_64_analyze_prologue,
x86_64_frame_cache, x86_64_frame_this_id,
x86_64_frame_prev_register, x86_64_frame_p,
x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id,
x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New
functions.
(x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New
variables.
(x86_64_skip_prologue): Rewrite in terms of
x86_64_analyze_prologue.
(x86_64_frame_base_address): New function.
(x86_64_frame_base): New variable.
(x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite.
(x86_64_init_abi): Set register_type and push_dummy_call. Don't
set deprecated_fp_regnum, deprecated_register_size,
deprecated_register_bytes, register_raw_size, register_byte,
register_virtual_type, register_convertiable,
register_convert_to_virtual, convert_to_raw,
deprecated_get_saved_register, deprecated_target_read_fp,
deprecated_push_arguments, deprecated_push_return_address,
deprecated_pop_frame, deprecated_store_struct_return,
deprecated_frame_init_saved_regs, deprecated_frame_chain,
frameless_function_invocation, deprecated_frame_saved_pc,
deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp,
dwarf2_build_frame_info, deprecated_init_extra_frame_info,
deprecated_init_frame_pc and virtual_frame_pointer. Call
frame_unwind_append_predicate to register x86_64_sigtramp_frame_p
and x86_64_frame_p. Call frame_base_set_default to register
x86_64_frame_base.
(I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines.
(x86_64_supply_fxsave, x86_64_fill_fxsave): New functions.
(_initialize_x86_64_tdep): Remove function.
* x86-64-linux-tdep.c: Don't include "dwarf2cfi.h".
(LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET,
LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't
define.
(X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define.
(x86_64_linux_sigcontext_addr): Rewrite.
(x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call,
x86_64_linux_frame_saved_pc): Remove functions.
(x86_64_linux_pc_in_sigtramp): Renamed from
x86_64_linux_in_sigtramp. Try harder to recognize a signal
trampoline.
(x86_64_linux_frame_chain, x86_64_init_frame_pc):
Remove_functions.
(x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize
TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
* x86-64-linux-nat.c: Sync with i386-linux-tdep.c.
(x86_64_regmap): Rename to regmap.
(GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of
x86_64_num_gregs.
(supply_gregset, fill_gregset): Likewise. Use regmap instead of
x86_64_regmap.
(x86_64_fxsave_offset): Remove function.
(supply_fpregset): Simply call x86_64_supply_fxsave.
(fill_fpregset): Simply call x86_64_fill_fxsave.
(fetch_inferior_registers, store_inferior_registers): Avoid
asignment in if-statement.
(LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn,
SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET,
LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines.
(fetch_core_registers): Remove function.
(linux_elf_core_fns): Remove.
(offsetoff): Don't define.
(_initialize_x86_64_linux_nat, kernel_u_size): Remove functions.
* config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o.
* config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o,
add core-regset.o.
* config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for
protection against multiple includes instead of NM_X86_64_h. Add
various comments. Include "config/nm-linux.h". Don't include
<signal.h>.
(REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR,
GET_THREAD_SIGNALS): Remove defines.
(x86_64_register_u_addr, kernel_u_size,
lin_thread_get_thread_signals): Remove prototypes.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'.
[HAVE_LINK_H]: Don't include "solib.h".
[HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define.
* config/i386/tm-x86-64linux.h: Fix comments.
* Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o,
x86-64-tdep.o): Update dependencies.
2003-05-31 08:15:38 +00:00
|
|
|
|
2003-05-31 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove
|
|
|
|
|
variable declarations.
|
|
|
|
|
(x86_64_register_number, x86_64_register_name): Remove prototypes.
|
|
|
|
|
(x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call,
|
|
|
|
|
x86_64_linux_in_sigtramp, x86_64_linux_frame_chain,
|
|
|
|
|
x86_64_init_frame_pc, x86_64_init_frame_pc,
|
|
|
|
|
x86_64_function_has_prologue): Remove prototypes.
|
|
|
|
|
(X86_64_NUM_GREGS): New define.
|
|
|
|
|
(x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes.
|
|
|
|
|
* x86-64-tdep.c: Don't include "dwarf2cfi.h". Include
|
|
|
|
|
"dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h".
|
|
|
|
|
(RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM,
|
|
|
|
|
XMM1_REGNUM): Remove defines.
|
|
|
|
|
(X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
|
|
|
|
|
X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
|
|
|
|
|
X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
|
|
|
|
|
X86_64_XMM1_REGNUM): New defines.
|
|
|
|
|
(struct x86_64_register_info): Renamed from `struct
|
|
|
|
|
register_info'. Remove `size' member.
|
|
|
|
|
(x86_64_register_info_table): Remove variable.
|
|
|
|
|
(x86_64_register_info): New variable.
|
|
|
|
|
(X86_64_NUM_REGS): New define.
|
|
|
|
|
(X86_64_NUM_GREGS): Remove define.
|
|
|
|
|
(x86_64_num_regs, x86_64_num_gregs): Remove variables.
|
|
|
|
|
(x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length):
|
|
|
|
|
Remove variables.
|
|
|
|
|
(x86_54_dwarf2_reg_to_regnum): Remove function.
|
|
|
|
|
(x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables.
|
|
|
|
|
(x86_64_dwarf_reg_to_regnum): New function.
|
|
|
|
|
(x86_64_register_name): Rewrite.
|
|
|
|
|
(x86_64_register_raw_size): Remove function.
|
|
|
|
|
(x86_64_register_byte_table): Remove variable.
|
|
|
|
|
(x86_64_register_byte): Remove function.
|
|
|
|
|
(x86_64_register_virtual_type): Remove function.
|
|
|
|
|
(x86_64_register_type): New function.
|
|
|
|
|
(x86_64_register_convertible, x86_64_register_convert_to_virtual,
|
|
|
|
|
x86_64_register_convert_to_raw): Remove functions.
|
|
|
|
|
(x86_64_push_return_address, x86_64_pop_frame): Remove functon.
|
|
|
|
|
(x86_64_use_struct_convention): Make static. Adjust for renamed
|
|
|
|
|
defines.
|
|
|
|
|
(x86_64_frame_init_saved_regs): Remove function.
|
|
|
|
|
(x86_64_push_arguments): Make static. Change to accept a regcache
|
|
|
|
|
as argument.
|
|
|
|
|
(x86_64_store_return_value, x86_64_extract_return_value): Make
|
|
|
|
|
static. Rewrite based on i386 counterparts.
|
|
|
|
|
(x86_64_push_dummy_call): New function.
|
|
|
|
|
(X86_64_NUM_SAVED_REGS): New define.
|
|
|
|
|
(x86_64_register_number): Remove function.
|
|
|
|
|
(x86_64_store_struct_return): Remove function.
|
|
|
|
|
(x86_64_frameless_function_invocation,
|
|
|
|
|
x86_64_function_has_prologue): Remove functions.
|
|
|
|
|
(PROLOG_BUFSIZE): Remove define.
|
|
|
|
|
(struct x86_64_frame_cache): New structure.
|
|
|
|
|
(x86_64_alloc_frame_cache, x86_64_analyze_prologue,
|
|
|
|
|
x86_64_frame_cache, x86_64_frame_this_id,
|
|
|
|
|
x86_64_frame_prev_register, x86_64_frame_p,
|
|
|
|
|
x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id,
|
|
|
|
|
x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New
|
|
|
|
|
functions.
|
|
|
|
|
(x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New
|
|
|
|
|
variables.
|
|
|
|
|
(x86_64_skip_prologue): Rewrite in terms of
|
|
|
|
|
x86_64_analyze_prologue.
|
|
|
|
|
(x86_64_frame_base_address): New function.
|
|
|
|
|
(x86_64_frame_base): New variable.
|
|
|
|
|
(x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite.
|
|
|
|
|
(x86_64_init_abi): Set register_type and push_dummy_call. Don't
|
|
|
|
|
set deprecated_fp_regnum, deprecated_register_size,
|
|
|
|
|
deprecated_register_bytes, register_raw_size, register_byte,
|
|
|
|
|
register_virtual_type, register_convertiable,
|
|
|
|
|
register_convert_to_virtual, convert_to_raw,
|
|
|
|
|
deprecated_get_saved_register, deprecated_target_read_fp,
|
|
|
|
|
deprecated_push_arguments, deprecated_push_return_address,
|
|
|
|
|
deprecated_pop_frame, deprecated_store_struct_return,
|
|
|
|
|
deprecated_frame_init_saved_regs, deprecated_frame_chain,
|
|
|
|
|
frameless_function_invocation, deprecated_frame_saved_pc,
|
|
|
|
|
deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp,
|
|
|
|
|
dwarf2_build_frame_info, deprecated_init_extra_frame_info,
|
|
|
|
|
deprecated_init_frame_pc and virtual_frame_pointer. Call
|
|
|
|
|
frame_unwind_append_predicate to register x86_64_sigtramp_frame_p
|
|
|
|
|
and x86_64_frame_p. Call frame_base_set_default to register
|
|
|
|
|
x86_64_frame_base.
|
|
|
|
|
(I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines.
|
|
|
|
|
(x86_64_supply_fxsave, x86_64_fill_fxsave): New functions.
|
|
|
|
|
(_initialize_x86_64_tdep): Remove function.
|
|
|
|
|
* x86-64-linux-tdep.c: Don't include "dwarf2cfi.h".
|
|
|
|
|
(LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET,
|
|
|
|
|
LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't
|
|
|
|
|
define.
|
|
|
|
|
(X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define.
|
|
|
|
|
(x86_64_linux_sigcontext_addr): Rewrite.
|
|
|
|
|
(x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call,
|
|
|
|
|
x86_64_linux_frame_saved_pc): Remove functions.
|
|
|
|
|
(x86_64_linux_pc_in_sigtramp): Renamed from
|
|
|
|
|
x86_64_linux_in_sigtramp. Try harder to recognize a signal
|
|
|
|
|
trampoline.
|
|
|
|
|
(x86_64_linux_frame_chain, x86_64_init_frame_pc):
|
|
|
|
|
Remove_functions.
|
|
|
|
|
(x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize
|
|
|
|
|
TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
|
|
|
|
|
* x86-64-linux-nat.c: Sync with i386-linux-tdep.c.
|
|
|
|
|
(x86_64_regmap): Rename to regmap.
|
|
|
|
|
(GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of
|
|
|
|
|
x86_64_num_gregs.
|
|
|
|
|
(supply_gregset, fill_gregset): Likewise. Use regmap instead of
|
|
|
|
|
x86_64_regmap.
|
|
|
|
|
(x86_64_fxsave_offset): Remove function.
|
|
|
|
|
(supply_fpregset): Simply call x86_64_supply_fxsave.
|
|
|
|
|
(fill_fpregset): Simply call x86_64_fill_fxsave.
|
|
|
|
|
(fetch_inferior_registers, store_inferior_registers): Avoid
|
|
|
|
|
asignment in if-statement.
|
|
|
|
|
(LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn,
|
|
|
|
|
SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET,
|
|
|
|
|
LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines.
|
|
|
|
|
(fetch_core_registers): Remove function.
|
|
|
|
|
(linux_elf_core_fns): Remove.
|
|
|
|
|
(offsetoff): Don't define.
|
|
|
|
|
(_initialize_x86_64_linux_nat, kernel_u_size): Remove functions.
|
|
|
|
|
* config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o.
|
|
|
|
|
* config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o,
|
|
|
|
|
add core-regset.o.
|
|
|
|
|
* config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for
|
|
|
|
|
protection against multiple includes instead of NM_X86_64_h. Add
|
|
|
|
|
various comments. Include "config/nm-linux.h". Don't include
|
|
|
|
|
<signal.h>.
|
|
|
|
|
(REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR,
|
|
|
|
|
GET_THREAD_SIGNALS): Remove defines.
|
|
|
|
|
(x86_64_register_u_addr, kernel_u_size,
|
|
|
|
|
lin_thread_get_thread_signals): Remove prototypes.
|
|
|
|
|
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'.
|
|
|
|
|
[HAVE_LINK_H]: Don't include "solib.h".
|
|
|
|
|
[HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define.
|
|
|
|
|
* config/i386/tm-x86-64linux.h: Fix comments.
|
|
|
|
|
* Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o,
|
|
|
|
|
x86-64-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-05-31 03:23:47 +00:00
|
|
|
|
2003-05-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-05-31 03:42:58 +00:00
|
|
|
|
* config/sparc/tm-sparc.h (sparc_extract_struct_value_address):
|
|
|
|
|
Change parameter type to a "struct regcache *".
|
|
|
|
|
|
2003-05-31 03:23:47 +00:00
|
|
|
|
* gdbarch.sh: Regardless of the multi-arch level, always define
|
|
|
|
|
the macro when not already defined.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
2003-05-30 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues.
|
|
|
|
|
(alpha_mdebug_frame_unwind_cache): Don't call the heuristic unwinder.
|
|
|
|
|
(alpha_mdebug_frame_this_id): Likewise.
|
|
|
|
|
(alpha_mdebug_frame_prev_register): Likewise.
|
|
|
|
|
(alpha_mdebug_frame_base_address): Likewise.
|
|
|
|
|
(alpha_mdebug_frame_locals_address): Likewise.
|
|
|
|
|
(alpha_mdebug_frame_args_address): Likewise.
|
|
|
|
|
(struct alpha_mdebug_unwind_cache): Remove in_prologue_cache.
|
|
|
|
|
* alpha-tdep.c (alpha_heuristic_proc_start): Use get_pc_function_start.
|
|
|
|
|
(alpha_heuristic_frame_unwind_cache): Make static; add missing
|
|
|
|
|
loop increment.
|
|
|
|
|
(alpha_heuristic_frame_this_id): Make static.
|
|
|
|
|
(alpha_heuristic_frame_prev_register): Likewise.
|
|
|
|
|
(alpha_heuristic_frame_base_address): Likewise.
|
|
|
|
|
* alpha-tdep.h: Update.
|
|
|
|
|
|
* i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype.
(I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove
defenitions.
(IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions.
* i386-tdep.c: Mark functions that are 64-bit safe as such.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): New defines.
(CODESTREAM_BUFSIZ, codestream_tell, codestream_peek,
codestream_get): Remove define.
(codestream_next_addr, condestream_addr, condestream_buf,
codestream_off, codestream_cnt): Remove variables.
(codestream_fill, codestream_seek, codestream_read): Remove
functions.
(i386_follow_jump): Rewrite to avoid usage of removed codestream
functionality.
(i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain,
i386_sigtramp_saved_pc, i386_sigtramp_saved_sp,
i386_frame_saved_pc, i386_saved_pc_after_call,
i386_frame_num_args, i386_frame_init_saved_regs,
i386_push_return_address, i386_do_pop_frame, i386_pop_frame,
i386_push_arguments): Remove functions.
(i386_skip_prologue): Rewrite to avoid usage of removed codestream
functionality. Use i386_analyze_prologue instead of
i386_get_frame_setup.
(I386_NUM_SAVED_REGS): New define.
(struct i386_frame_cache): New structure.
(i386_alloc_frame_cache, i386_analyze_struct_return,
i386_skip_probe, i386_analyze_frame_setup,
i386_analyze_register_saves, i386_analyze_prologue,
i386_unwind_pc, i386_frame_cache, i386_frame_this_id,
i386_frame_prev_register, i386_sigtramp_frame_cache,
i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register,
i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address,
i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call):
New functions.
(i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base):
New variables.
(LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of
I386_EAX_REGNUM and I386_EDX_REGNUM.
(i386_extract_return_value, i386_store_return_value): Use
I386_ST0_REGNUM where appropriate.
(i386_extract_struct_value_address): Rewrite to use extract_address.
(i386_svr4_pc_in_sigtramp): Add comment.
(i386_svr4_sigcontext_addr): Rewrite.
(i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
(i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set
sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms
of new defines. Set push_dummy_call, don't set
deprecated_push_arguments, deprecated_push_return_address,
deprecated_pop_frame. Don't set parm_boundary. Don't set
deprecated_frame_chain, deprecated_frame_saved_pc,
deprecated_saved_pc_after_call. Set unwind_dummy_id,
save_dummy_frame_tos, unwind_pc. Call
frame_unwind_append_predicate and frame_base_set_default. Don't
set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum.
Don't set frameless_function_invocation. Don't set
deprecated_register_bytes, deprecated_register_size,
deprecated_call_dummy_words and deprecated_sizeof_call_dummy.
* i386-linux-tdep.c: Fix formatting in some comments.
(LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2,
LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop
redundant parentheses.
(I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define.
(i386_linux_sigcontext_addr): Use it. Rewrite.
(find_minsym_and_objfile): Change name of second argument.
(skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers
changed. Use frame_pc_unwind instead of
DEPRECATED_SAVED_PC_AFTER_CALL.
(i386_linux_init_abi): Don't set deprecated_register_bytes.
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite.
* i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame
unwinder.
* i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and
"dummy-frame.h".
(i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed.
(_initialize_i386_cygwin_tdep): New prototype.
(i386_cygwin_init_abi): Don't set deprecated_frame_chain and
deprecated_frame_chain_valid.
* i386-sol2-tdep.c (i386_sol2_init_abi): Don't set
TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
Rely on the SVR4 defaults.
* config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o.
* Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies.
2003-05-30 19:24:30 +00:00
|
|
|
|
2003-05-30 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype.
|
|
|
|
|
(I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove
|
|
|
|
|
defenitions.
|
|
|
|
|
(IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions.
|
|
|
|
|
* i386-tdep.c: Mark functions that are 64-bit safe as such.
|
|
|
|
|
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
|
|
|
|
|
I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
|
|
|
|
|
I386_ST0_REGNUM): New defines.
|
|
|
|
|
(CODESTREAM_BUFSIZ, codestream_tell, codestream_peek,
|
|
|
|
|
codestream_get): Remove define.
|
|
|
|
|
(codestream_next_addr, condestream_addr, condestream_buf,
|
|
|
|
|
codestream_off, codestream_cnt): Remove variables.
|
|
|
|
|
(codestream_fill, codestream_seek, codestream_read): Remove
|
|
|
|
|
functions.
|
|
|
|
|
(i386_follow_jump): Rewrite to avoid usage of removed codestream
|
|
|
|
|
functionality.
|
|
|
|
|
(i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain,
|
|
|
|
|
i386_sigtramp_saved_pc, i386_sigtramp_saved_sp,
|
|
|
|
|
i386_frame_saved_pc, i386_saved_pc_after_call,
|
|
|
|
|
i386_frame_num_args, i386_frame_init_saved_regs,
|
|
|
|
|
i386_push_return_address, i386_do_pop_frame, i386_pop_frame,
|
|
|
|
|
i386_push_arguments): Remove functions.
|
|
|
|
|
(i386_skip_prologue): Rewrite to avoid usage of removed codestream
|
|
|
|
|
functionality. Use i386_analyze_prologue instead of
|
|
|
|
|
i386_get_frame_setup.
|
|
|
|
|
(I386_NUM_SAVED_REGS): New define.
|
|
|
|
|
(struct i386_frame_cache): New structure.
|
|
|
|
|
(i386_alloc_frame_cache, i386_analyze_struct_return,
|
|
|
|
|
i386_skip_probe, i386_analyze_frame_setup,
|
|
|
|
|
i386_analyze_register_saves, i386_analyze_prologue,
|
|
|
|
|
i386_unwind_pc, i386_frame_cache, i386_frame_this_id,
|
|
|
|
|
i386_frame_prev_register, i386_sigtramp_frame_cache,
|
|
|
|
|
i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register,
|
|
|
|
|
i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address,
|
|
|
|
|
i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call):
|
|
|
|
|
New functions.
|
|
|
|
|
(i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base):
|
|
|
|
|
New variables.
|
|
|
|
|
(LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of
|
|
|
|
|
I386_EAX_REGNUM and I386_EDX_REGNUM.
|
|
|
|
|
(i386_extract_return_value, i386_store_return_value): Use
|
|
|
|
|
I386_ST0_REGNUM where appropriate.
|
|
|
|
|
(i386_extract_struct_value_address): Rewrite to use extract_address.
|
|
|
|
|
(i386_svr4_pc_in_sigtramp): Add comment.
|
|
|
|
|
(i386_svr4_sigcontext_addr): Rewrite.
|
|
|
|
|
(i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and
|
|
|
|
|
TDEP->sc_sp_offset.
|
|
|
|
|
(i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set
|
|
|
|
|
sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms
|
|
|
|
|
of new defines. Set push_dummy_call, don't set
|
|
|
|
|
deprecated_push_arguments, deprecated_push_return_address,
|
|
|
|
|
deprecated_pop_frame. Don't set parm_boundary. Don't set
|
|
|
|
|
deprecated_frame_chain, deprecated_frame_saved_pc,
|
|
|
|
|
deprecated_saved_pc_after_call. Set unwind_dummy_id,
|
|
|
|
|
save_dummy_frame_tos, unwind_pc. Call
|
|
|
|
|
frame_unwind_append_predicate and frame_base_set_default. Don't
|
|
|
|
|
set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum.
|
|
|
|
|
Don't set frameless_function_invocation. Don't set
|
|
|
|
|
deprecated_register_bytes, deprecated_register_size,
|
|
|
|
|
deprecated_call_dummy_words and deprecated_sizeof_call_dummy.
|
|
|
|
|
* i386-linux-tdep.c: Fix formatting in some comments.
|
|
|
|
|
(LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
|
|
|
|
|
LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
|
|
|
|
|
LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2,
|
|
|
|
|
LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
|
|
|
|
|
LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop
|
|
|
|
|
redundant parentheses.
|
|
|
|
|
(I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define.
|
|
|
|
|
(i386_linux_sigcontext_addr): Use it. Rewrite.
|
|
|
|
|
(find_minsym_and_objfile): Change name of second argument.
|
|
|
|
|
(skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers
|
|
|
|
|
changed. Use frame_pc_unwind instead of
|
|
|
|
|
DEPRECATED_SAVED_PC_AFTER_CALL.
|
|
|
|
|
(i386_linux_init_abi): Don't set deprecated_register_bytes.
|
|
|
|
|
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite.
|
|
|
|
|
* i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame
|
|
|
|
|
unwinder.
|
|
|
|
|
* i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and
|
|
|
|
|
"dummy-frame.h".
|
|
|
|
|
(i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed.
|
|
|
|
|
(_initialize_i386_cygwin_tdep): New prototype.
|
|
|
|
|
(i386_cygwin_init_abi): Don't set deprecated_frame_chain and
|
|
|
|
|
deprecated_frame_chain_valid.
|
|
|
|
|
* i386-sol2-tdep.c (i386_sol2_init_abi): Don't set
|
|
|
|
|
TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
|
|
|
|
|
Rely on the SVR4 defaults.
|
|
|
|
|
* config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o.
|
|
|
|
|
* Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-05-30 18:43:38 +00:00
|
|
|
|
2003-05-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Always call
|
|
|
|
|
DEPRECATED_FIX_CALL_DUMMY, even for AT_ENTRY_POINT case.
|
|
|
|
|
|
2003-05-30 18:41:39 +00:00
|
|
|
|
2003-05-30 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2003-05-30 18:43:38 +00:00
|
|
|
|
* alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop
|
|
|
|
|
increment.
|
2003-05-30 18:41:39 +00:00
|
|
|
|
|
2003-05-30 03:44:05 +00:00
|
|
|
|
2003-05-29 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
* 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-30 02:45:21 +00:00
|
|
|
|
2003-05-29 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* objc-lang.c (CONVERT_FUNCPTR): Remove macro
|
|
|
|
|
(find_implementation_from_class): Replace it with the standard
|
|
|
|
|
case i.e. do nothing.
|
|
|
|
|
|
2003-05-29 23:02:53 +00:00
|
|
|
|
2003-05-29 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New.
|
|
|
|
|
(alpha_linux_sigtramp_offset): Use it. Make static.
|
|
|
|
|
(alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn;
|
|
|
|
|
update for new frame model.
|
|
|
|
|
* alpha-mdebug-tdep.c: New file.
|
|
|
|
|
* alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c.
|
|
|
|
|
(alpha_osf1_init_abi): Install it.
|
|
|
|
|
* alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c.
|
|
|
|
|
(linked_proc_desc_table): Remove.
|
|
|
|
|
(alpha_frame_past_sigtramp_frame): Remove.
|
|
|
|
|
(alpha_dynamic_sigtramp_offset): Remove.
|
|
|
|
|
(ALPHA_PROC_SIGTRAMP_MAGIC): Remove.
|
|
|
|
|
(alpha_proc_desc_is_dyn_sigtramp): Remove.
|
|
|
|
|
(alpha_set_proc_desc_is_dyn_sigtramp): Remove.
|
|
|
|
|
(push_sigtramp_desc): Remove.
|
|
|
|
|
(alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM.
|
|
|
|
|
(alpha_cannot_store_register): Likewise.
|
|
|
|
|
(alpha_sigcontext_addr): Remove.
|
|
|
|
|
(alpha_find_saved_regs): Remove.
|
|
|
|
|
(alpha_frame_init_saved_regs): Remove.
|
|
|
|
|
(alpha_init_frame_pc_first): Remove.
|
|
|
|
|
(read_next_frame_reg): Remove.
|
|
|
|
|
(alpha_frame_saved_pc): Remove.
|
|
|
|
|
(alpha_saved_pc_after_call): Remove.
|
|
|
|
|
(temp_proc_desc, temp_saved_regs): Remove.
|
|
|
|
|
(alpha_about_to_return): Remove.
|
|
|
|
|
(cached_proc_desc): Remove.
|
|
|
|
|
(alpha_frame_chain): Remove.
|
|
|
|
|
(alpha_print_extra_frame_info): Remove.
|
|
|
|
|
(alpha_init_extra_frame_info): Remove.
|
|
|
|
|
(alpha_frame_locals_address): Remove.
|
|
|
|
|
(alpha_frame_args_address): Remove.
|
|
|
|
|
(alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR.
|
|
|
|
|
(alpha_push_dummy_frame): Remove.
|
|
|
|
|
(alpha_pop_frame): Remove.
|
|
|
|
|
(alpha_after_prologue): Rename from after_prologue; remove mdebug bits.
|
|
|
|
|
(alpha_read_insn): New.
|
|
|
|
|
(alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust
|
|
|
|
|
for different insn encodings.
|
|
|
|
|
(alpha_in_lenient_prologue): Remove.
|
|
|
|
|
(struct alpha_sigtramp_unwind_cache): New.
|
|
|
|
|
(alpha_sigtramp_frame_unwind_cache): New.
|
|
|
|
|
(alpha_sigtramp_register_address): New.
|
|
|
|
|
(alpha_sigtramp_frame_this_id): New.
|
|
|
|
|
(alpha_sigtramp_frame_prev_register): New.
|
|
|
|
|
(alpha_sigtramp_frame_unwind): New.
|
|
|
|
|
(alpha_sigtramp_frame_p): New.
|
|
|
|
|
(struct alpha_heuristic_unwind_cache): New.
|
|
|
|
|
(alpha_heuristic_proc_start): Rename from heuristic_proc_start;
|
|
|
|
|
don't count nop insns that occur between functions.
|
|
|
|
|
(alpha_heuristic_frame_unwind_cache): New; incorporate much of
|
|
|
|
|
heuristic_proc_desc, but without the mdebug wrapping.
|
|
|
|
|
(alpha_heuristic_frame_this_id): New.
|
|
|
|
|
(alpha_heuristic_frame_prev_register): New.
|
|
|
|
|
(alpha_heuristic_frame_unwind): New.
|
|
|
|
|
(alpha_heuristic_frame_p): New.
|
|
|
|
|
(alpha_heuristic_frame_base_address): New.
|
|
|
|
|
(alpha_heuristic_frame_base): New.
|
|
|
|
|
(alpha_unwind_dummy_id): New.
|
|
|
|
|
(alpha_unwind_pc): New.
|
|
|
|
|
(alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of
|
|
|
|
|
frame related deprecated initializations; install replacements.
|
|
|
|
|
(alpha_dump_tdep): Remove.
|
|
|
|
|
* alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame.
|
|
|
|
|
(alpha_read_insn, alpha_after_prologue,
|
|
|
|
|
alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id,
|
|
|
|
|
alpha_heuristic_frame_prev_register,
|
|
|
|
|
alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare.
|
|
|
|
|
* config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o.
|
|
|
|
|
* config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove.
|
|
|
|
|
* config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove.
|
|
|
|
|
|
2003-05-29 21:22:45 +00:00
|
|
|
|
2003-05-29 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdb_assert.h (gdb_assert_fail): Provide different definitions
|
|
|
|
|
dependant on the availability of ASSERT_FUNCTION.
|
|
|
|
|
(ASSERT_FUNCTION): Do not define when there is no function name.
|
|
|
|
|
|
2003-05-29 19:47:14 +00:00
|
|
|
|
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.
|
|
|
|
|
|
2003-05-28 22:39:02 +00:00
|
|
|
|
2003-05-28 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ppc-linux-nat.c (store_altivec_registers): Don't cast fourth
|
|
|
|
|
argument to ptrace to int; the system headers should give it the
|
|
|
|
|
right type, and pointers don't fit in ints on powerpc64-*-*.
|
|
|
|
|
|
2003-05-28 20:25:10 +00:00
|
|
|
|
2003-05-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (process_die): Handle DW_TAG_try_block and
|
|
|
|
|
DW_TAG_catch_block.
|
|
|
|
|
|
2003-05-26 19:35:53 +00:00
|
|
|
|
2003-05-26 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2003-05-26 19:34:06 +00:00
|
|
|
|
2003-05-26 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* hpread.c (hpread_has_name): Make static.
|
|
|
|
|
(hpread_psymtab_to_symtab): Ditto.
|
|
|
|
|
(file_exists): Ditto.
|
|
|
|
|
(hpread_call_pxdb): Ditto.
|
|
|
|
|
(hpread_pxdb_needed): Ditto.
|
|
|
|
|
(hpread_quick_traverse): Ditto.
|
|
|
|
|
(hpread_get_header): Ditto.
|
|
|
|
|
(hpread_get_lntt): Ditto.
|
|
|
|
|
(hpread_get_slt): Ditto.
|
|
|
|
|
(class_of): Ditto.
|
|
|
|
|
|
2003-05-25 18:50:55 +00:00
|
|
|
|
2003-05-25 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
2003-05-25 21:15:20 +00:00
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead of
|
|
|
|
|
stack_align and deprecated_extra_stack_alignment_needed.
|
|
|
|
|
(m68k_stack_align): Delete.
|
|
|
|
|
|
2003-05-25 18:50:55 +00:00
|
|
|
|
* m68k-tdep.c (m68k_register_raw_size): Remove cast.
|
|
|
|
|
(m68k_register_virtual_size): Likewise.
|
|
|
|
|
(altos_skip_prologue): Remove obsolete function.
|
|
|
|
|
(isi_frame_num_args): Likewise.
|
|
|
|
|
(news_frame_num_args): Likewise.
|
|
|
|
|
(m68k_fix_call_dummy): Make static.
|
|
|
|
|
(m68k_push_dummy_frame): Likewise.
|
|
|
|
|
(m68k_pop_frame): Likewise.
|
|
|
|
|
(m68k_skip_prologue): Likewise.
|
|
|
|
|
(m68k_frame_init_saved_regs): Likewise.
|
|
|
|
|
(m68k_saved_pc_after_call): Likewise.
|
|
|
|
|
(m68k_get_longjmp_target): Make multi-arch.
|
|
|
|
|
(m68k_gdbarch_init): Allocate and initialize gdbarch_tdep
|
|
|
|
|
structure. Register m68k_get_longjmp_target if enabled.
|
|
|
|
|
* m68k-tdep.h (struct gdbarch_tdep): Define.
|
|
|
|
|
* config/m68k/tm-m68k.h: Don't include "regcache.h".
|
|
|
|
|
|
|
|
|
|
* Makefile.in (config.status): Also depend on configure.tgt
|
|
|
|
|
and configure.host.
|
|
|
|
|
(m68klinux-tdep.o): Update dependencies.
|
|
|
|
|
* configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1.
|
|
|
|
|
* m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define.
|
|
|
|
|
(M68K_LINUX_JB_PC): Define.
|
|
|
|
|
(m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp
|
|
|
|
|
and take additional parameter.
|
|
|
|
|
(m68k_linux_sigtramp_saved_pc): Update.
|
|
|
|
|
(m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register
|
|
|
|
|
m68k_linux_pc_in_sigtramp, in_plt_section,
|
|
|
|
|
find_solib_trampoline_target.
|
|
|
|
|
* config/m68k/tm-linux.h: Don't include any tm headers.
|
|
|
|
|
(START_INFERIOR_TRAPS_EXPECTED): Remove definition.
|
|
|
|
|
(JB_ELEMENT_SIZE): Likewise.
|
|
|
|
|
(JB_PC): Likewise.
|
|
|
|
|
(GET_LONGJMP_TARGET): Likewise.
|
|
|
|
|
(IN_SIGTRAMP): Likewise.
|
|
|
|
|
(SVR4_SHARED_LIBS): Define this and include "solib.h".
|
|
|
|
|
|
2003-05-25 15:47:26 +00:00
|
|
|
|
2003-05-25 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c (sparc32_do_push_arguments): New function.
|
|
|
|
|
(sparc32_push_arguments): Re-implement by calling
|
|
|
|
|
sparc32_do_push_arguments.
|
|
|
|
|
|
2003-05-25 11:58:08 +00:00
|
|
|
|
2003-05-25 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM,
|
|
|
|
|
SPARC_O1_REGNUM): New defines.
|
|
|
|
|
(sparc32_extract_return_value): Rewrite to operate on a regcache.
|
|
|
|
|
(sparc32_store_return_value): New function.
|
|
|
|
|
(sparc_extract_struct_value_address): Rewrite to operate on a
|
|
|
|
|
regcache.
|
|
|
|
|
(sparc_gdbarch_init): Don't set
|
|
|
|
|
deprecated_extract_struct_value_address. Set
|
|
|
|
|
extract_struct_value_address instead. Don't set
|
|
|
|
|
deprecated_extract_return_value and deprecated_store_return_value
|
|
|
|
|
for 32-bit targets. Set extract_return_value and
|
|
|
|
|
store_return_value instead.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE,
|
|
|
|
|
DEPRECTAED_EXTRACT_RETURN_VALUE,
|
|
|
|
|
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these.
|
|
|
|
|
(STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE,
|
|
|
|
|
EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead.
|
|
|
|
|
(sparc_store_return_value): Remove prototype.
|
|
|
|
|
(sparc32_store_return_value): New prototype.
|
|
|
|
|
(sparc32_extract_return_value, sparc_extract_struct_value_address):
|
|
|
|
|
Adjust prototypes.
|
|
|
|
|
|
2003-05-24 12:45:12 +00:00
|
|
|
|
2003-05-24 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* sparcnbsd-tdep.c: Include "gdb_string.h".
|
|
|
|
|
|
2003-05-24 03:21:42 +00:00
|
|
|
|
2003-05-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* p-valprint.c (pascal_val_print): Replace extract_address with
|
|
|
|
|
the inline equivalent extract_unsigned_integer.
|
|
|
|
|
* jv-valprint.c (java_value_print): Ditto.
|
|
|
|
|
* ada-valprint.c (ada_val_print_1): Ditto.
|
|
|
|
|
* ada-lang.h (EXTRACT_ADDRESS): Ditto.
|
|
|
|
|
|
2003-05-23 17:05:19 +00:00
|
|
|
|
2003-05-23 Theodore A. Roth <troth@openavr.org>
|
|
|
|
|
|
|
|
|
|
* blockframe.c (frameless_look_for_prologue): Remove unused
|
|
|
|
|
after_prologue variable.
|
|
|
|
|
|
2003-05-23 16:59:13 +00:00
|
|
|
|
2003-05-23 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* blockframe.c (get_pc_function_start): Rewrite to avoid
|
|
|
|
|
asignments in if-statements.
|
|
|
|
|
|
2003-05-23 16:16:00 +00:00
|
|
|
|
2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk>
|
|
|
|
|
|
|
|
|
|
Committed by Elena Zannoni <ezannoni@redhat.com>.
|
|
|
|
|
* coffread.c(coff_symtab_read): Do relocate static symbols from PE
|
|
|
|
|
files, don't relocate absolute symbols (and do use mst_abs).
|
|
|
|
|
|
2003-05-23 16:02:30 +00:00
|
|
|
|
2003-05-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objc-lang.c: Include "gdb_assert.h".
|
|
|
|
|
(objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0.
|
|
|
|
|
(CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros.
|
|
|
|
|
(gdb_check, gdb_check_fatal): Delete functions.
|
|
|
|
|
(read_objc_methlist_method): Replace CHECK and CHECK_FATAL with
|
|
|
|
|
gdb_assert.
|
|
|
|
|
(parse_selector, parse_method, find_methods, find_imps): Ditto.
|
|
|
|
|
* Makefile.in (objc-lang.o): Update dependencies.
|
|
|
|
|
|
2003-05-22 23:00:15 +00:00
|
|
|
|
2003-05-22 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
|
|
|
|
* disasm.c (gdb_disassemble_info): Initialize disassemble_info
|
|
|
|
|
with fprintf_filtered, not fprintf_unfiltered.
|
|
|
|
|
|
2003-05-22 18:37:05 +00:00
|
|
|
|
2003-05-22 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* stack.c (frame_info): Inline extract_address, replacing it with
|
|
|
|
|
extract_unsigned_integer.
|
|
|
|
|
* findvar.c (unsigned_pointer_to_address): Ditto.
|
|
|
|
|
* dwarf2loc.c (dwarf_expr_read_reg): Ditto.
|
|
|
|
|
* dwarf2expr.c (dwarf2_read_address): Ditto.
|
|
|
|
|
* frame.c (frame_pc_unwind): Update comment.
|
|
|
|
|
* dummy-frame.c (deprecated_read_register_dummy): Update comment.
|
|
|
|
|
|
2003-05-22 15:46:20 +00:00
|
|
|
|
2003-05-22 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infptrace.c (detach): Call print_sys_errmsg rather than
|
|
|
|
|
perror_with_name to issue warning message when errno is non-zero
|
|
|
|
|
after calling ptrace detach.
|
|
|
|
|
|
2003-05-22 02:04:05 +00:00
|
|
|
|
2003-05-21 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/tm-hppa.h: Delete some unused macros. Move some
|
|
|
|
|
macro definitions from here...
|
|
|
|
|
* hppa-tdep.c: ...to there.
|
|
|
|
|
|
2003-05-20 23:54:34 +00:00
|
|
|
|
2003-05-20 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-nat.c (REGISTER_PTRACE_ADDR): Convert macro to function
|
|
|
|
|
register_ptrace_addr(). Fix all callers.
|
|
|
|
|
|
2003-05-20 23:44:23 +00:00
|
|
|
|
2003-05-21 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
|
|
|
|
|
dependencies.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the
|
|
|
|
|
end.
|
|
|
|
|
* m68klinux-tdep.c (m68k_linux_init_abi): New function.
|
|
|
|
|
(_initialize_m68k_linux_tdep): New function.
|
|
|
|
|
(m68k_linux_frame_saved_pc): Make static.
|
|
|
|
|
(m68k_linux_extract_return_value): Likewise.
|
|
|
|
|
(m68k_linux_store_return_value): Likewise.
|
|
|
|
|
(m68k_linux_extract_struct_value_address): Likewise.
|
|
|
|
|
* config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE):
|
|
|
|
|
Remove.
|
|
|
|
|
(DEPRECATED_STORE_RETURN_VALUE): Remove.
|
|
|
|
|
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
|
|
|
|
|
(DEPRECATED_FRAME_SAVED_PC): Remove.
|
|
|
|
|
|
2003-05-20 21:35:28 +00:00
|
|
|
|
2003-05-20 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
|
|
|
|
* nto-tdep.c (fetch_core_registers): Match gdb's idea of
|
|
|
|
|
regset numbering rather than our own.
|
|
|
|
|
|
2003-05-20 04:08:19 +00:00
|
|
|
|
2003-05-19 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/rtti*.
|
|
|
|
|
|
2003-05-20 03:56:29 +00:00
|
|
|
|
2003-05-19 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
Partial fix for PR c++/827.
|
|
|
|
|
* cp-support.h: Include symtab.h.
|
|
|
|
|
Declare cp_lookup_symbol_nonlocal, cp_lookup_symbol_namespace.
|
|
|
|
|
* cp-namespace.c: Update contributors.
|
|
|
|
|
(cp_lookup_symbol_nonlocal): New.
|
|
|
|
|
(lookup_namespace_scope, cp_lookup_symbol_namespace)
|
|
|
|
|
(lookup_symbol_file): Ditto.
|
|
|
|
|
* c-lang.c (cplus_language_defn): Use cp_lookup_symbol_nonlocal.
|
|
|
|
|
* block.h: Declare block_scope, block_using, block_global_block.
|
|
|
|
|
* block.c (block_scope): New.
|
|
|
|
|
(block_using, block_global_block): Ditto.
|
|
|
|
|
* Makefile.in (cp_support_h): Depend on symtab_h.
|
|
|
|
|
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/namespace1.cc.
|
|
|
|
|
|
2003-05-20 01:55:18 +00:00
|
|
|
|
2003-05-19 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* language.h (struct language_defn): Add 'la_value_of_this'
|
|
|
|
|
and 'la_lookup_symbol_nonlocal' members.
|
|
|
|
|
* symtab.h: Declare basic_lookup_symbol_nonlocal,
|
|
|
|
|
lookup_symbol_static, lookup_symbol_global,
|
|
|
|
|
lookup_symbol_aux_block.
|
|
|
|
|
* symtab.c (lookup_symbol_aux): Call language hooks to determine
|
|
|
|
|
if we should search fields of this and how to do static/global
|
|
|
|
|
lookup.
|
|
|
|
|
(lookup_symbol_aux_block): Make extern.
|
|
|
|
|
(basic_lookup_symbol_nonlocal): New.
|
|
|
|
|
(lookup_symbol_static, lookup_symbol_global): Ditto.
|
|
|
|
|
* ada-lang.c (ada_language_defn): Set 'la_value_of_this' and
|
|
|
|
|
'la_lookup_symbol_nonlocal' members.
|
|
|
|
|
* c-lang.c (c_language_defn, cplus_language_defn)
|
|
|
|
|
(asm_language_defn, minimal_language_defn): Ditto.
|
|
|
|
|
* jv-lang.c (java_language_defn): Ditto.
|
|
|
|
|
* language.c (unknown_language_defn, auto_language_defn)
|
|
|
|
|
(local_language_defn): Ditto.
|
|
|
|
|
* m2-lang.c (m2_language_defn): Ditto.
|
|
|
|
|
* objc-lang.c (objc_language_defn): Ditto.
|
|
|
|
|
* scm-lang.c (scm_language_defn): Ditto.
|
|
|
|
|
* f-lang.c (f_language_defn): Ditto, and include value.h as well.
|
|
|
|
|
* p-lang.c (pascal_language_defn): Ditto for both.
|
|
|
|
|
* Makefile.in (f-lang.o): Depend on value_h.
|
|
|
|
|
(p-lang.o): Ditto.
|
|
|
|
|
|
2003-05-20 01:26:58 +00:00
|
|
|
|
2003-05-19 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* block.h: Declare block_static_block.
|
|
|
|
|
* block.c (block_static_block): New.
|
|
|
|
|
* symtab.c (lookup_symbol_aux): Remove 'static_block' argument to
|
|
|
|
|
lookup_symbol_aux_local, calling block_static_block instead.
|
|
|
|
|
(lookup_symbol_aux_local): Delete 'static_block' argument.
|
|
|
|
|
|
2003-05-20 01:12:47 +00:00
|
|
|
|
2003-05-19 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* symtab.c (lookup_symbol_aux): Delete #if 0 hunk.
|
|
|
|
|
|
2003-05-19 06:28:44 +00:00
|
|
|
|
2003-05-19 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_dwarf2gdb_regno_map): Fix
|
|
|
|
|
register numbers mapping.
|
|
|
|
|
|
2003-05-19 02:34:34 +00:00
|
|
|
|
2003-05-18 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* symtab.c (completion_list_objc_symbol): New function.
|
|
|
|
|
(make_symbol_completion_list): Use it to add ObjC symbols
|
|
|
|
|
when looking though the list.
|
|
|
|
|
(language_search_unquoted_string): New function.
|
|
|
|
|
(make_file_symbol_completion_list): Use it.
|
|
|
|
|
|
2003-05-18 17:39:45 +00:00
|
|
|
|
2003-05-18 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
2003-05-18 21:10:11 +00:00
|
|
|
|
* Makefile (m68klinux-nat.o, m68klinux-tdep.o): Update
|
|
|
|
|
dependencies.
|
|
|
|
|
* config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE): Define
|
|
|
|
|
as m68k_linux_extract_return_value.
|
|
|
|
|
(DEPRECATED_STORE_RETURN_VALUE): Define as
|
|
|
|
|
m68k_linux_store_return_value.
|
|
|
|
|
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Define as
|
|
|
|
|
m68k_linux_extract_struct_value_address.
|
|
|
|
|
* m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc): Use
|
|
|
|
|
get_next_frame, get_frame_base, get_frame_pc.
|
|
|
|
|
(m68k_linux_frame_saved_pc): Use get_frame_base.
|
|
|
|
|
(m68k_linux_extract_return_value): New function.
|
|
|
|
|
(m68k_linux_store_return_value): New function.
|
|
|
|
|
(m68k_linux_extract_struct_value_address): New function.
|
|
|
|
|
* config/m68k/tm-m68k.h: Declare m68k_get_longjmp_target.
|
|
|
|
|
|
2003-05-18 17:39:45 +00:00
|
|
|
|
* c-exp.y (typebase): Remove duplicate occurence of
|
|
|
|
|
`SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead
|
|
|
|
|
of lookup_signed_typename.
|
|
|
|
|
|
2003-05-18 15:49:51 +00:00
|
|
|
|
2003-05-18 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* dwarf2loc.c (find_location_expression): Change type of second
|
|
|
|
|
argument to `size_t *'.
|
|
|
|
|
(loclist_read_variable, loclist_tracepoint_var_ref): Use size_t
|
|
|
|
|
for size variable.
|
|
|
|
|
|
2003-05-18 15:29:31 +00:00
|
|
|
|
2003-05-18 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* symtab.c (lookup_symbol_aux): Rename 'mangled_name' argument to
|
|
|
|
|
'linkage_name'. Add comment.
|
|
|
|
|
(lookup_symbol_aux_local): Rename 'mangled_name' argument to
|
|
|
|
|
'linkage_name'.
|
|
|
|
|
(lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
|
|
|
|
|
(lookup_symbol_aux_psymtabs, lookup_symbol_aux_minsyms)
|
|
|
|
|
(lookup_block_symbol): Ditto.
|
|
|
|
|
|
2003-05-17 06:00:01 +00:00
|
|
|
|
2003-05-16 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_REGISTER_BYTES): Rename REGISTER_BYTES.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_extract_return_value): Delete reference.
|
|
|
|
|
* TODO (REGISTER_BYTES): Delete reference.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init_32082): Update.
|
|
|
|
|
(ns32k_gdbarch_init_32382): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* i386-linux-tdep.c (i386_linux_init_abi): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_pop_frame): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_pop_frame): Update.
|
|
|
|
|
* remote.c (init_remote_state): Update.
|
|
|
|
|
(remote_prepare_to_store): Update.
|
|
|
|
|
* remote-vx.c (vx_prepare_to_store): Update.
|
|
|
|
|
* remote-sds.c (sds_fetch_registers): Update.
|
|
|
|
|
(sds_prepare_to_store): Update.
|
|
|
|
|
* remote-array.c: Update.
|
|
|
|
|
* regcache.c (init_legacy_regcache_descr): Update.
|
|
|
|
|
(init_regcache_descr): Update.
|
|
|
|
|
* mips-tdep.c (mips_eabi_extract_return_value): Update.
|
|
|
|
|
(mips_o64_extract_return_value): Update.
|
|
|
|
|
* irix5-nat.c (fetch_core_registers): Update.
|
|
|
|
|
* irix4-nat.c (fetch_core_registers): Update.
|
|
|
|
|
* i386-tdep.h: Update.
|
|
|
|
|
* hppa-tdep.c (pa_do_registers_info): Update.
|
|
|
|
|
(pa_do_strcat_registers_info): Update.
|
|
|
|
|
* cris-tdep.c (cris_register_bytes_ok): Update.
|
|
|
|
|
* config/nm-gnu.h (CHILD_PREPARE_TO_STORE): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
* config/sparc/nm-sun4sol2.h (CHILD_PREPARE_TO_STORE): Update.
|
|
|
|
|
* config/sparc/nm-sun4os4.h (CHILD_PREPARE_TO_STORE): Update.
|
|
|
|
|
* config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Update.
|
|
|
|
|
* config/sparc/tm-sp64.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
* config/s390/tm-s390.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
* config/pa/tm-hppa64.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
* config/mips/tm-mips.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
* config/mips/tm-irix6.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
* config/mips/tm-irix5.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
* config/m68k/tm-sun3.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
(REGISTER_BYTES_OK): Update.
|
|
|
|
|
* config/m68k/nm-sun3.h (CHILD_PREPARE_TO_STORE): Update.
|
|
|
|
|
* config/ia64/tm-ia64.h (DEPRECATED_REGISTER_BYTES): Update.
|
|
|
|
|
|
2003-05-16 07:06:56 +00:00
|
|
|
|
2003-05-16 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
|
|
|
|
* vax-tdep.c (INVALID_FLOAT, MAXLEN, NOPCODES): Don't define.
|
|
|
|
|
(vax_print_insn, print_insn_arg): Remove static functions.
|
|
|
|
|
(vax_gdbarch_init): Call set_gdbarch_print_insn with
|
|
|
|
|
print_insn_vax from opcodes library.
|
|
|
|
|
(_initialize_vax_tdep): Don't set deprecated_tm_print_insn.
|
|
|
|
|
|
2003-05-15 22:18:43 +00:00
|
|
|
|
2003-05-15 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-05-15 22:58:39 +00:00
|
|
|
|
* arch-utils.h (legacy_breakpoint_from_pc): Delete declaration.
|
|
|
|
|
* target.h (memory_breakpoint_from_pc): Delete declaration.
|
|
|
|
|
* mem-break.c (memory_breakpoint_from_pc): Delete function.
|
|
|
|
|
* arch-utils.c (legacy_breakpoint_from_pc): Delete function.
|
|
|
|
|
* monitor.c (monitor_insert_breakpoint): Use
|
|
|
|
|
gdbarch_breakpoint_from_pc instead of memory_breakpoint_from_pc.
|
|
|
|
|
* gdbarch.sh (BREAKPOINT_FROM_PC): Do not provide a default.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* sparc-tdep.c (sparc_breakpoint_from_pc): New function.
|
|
|
|
|
(sparc_gdbarch_init): Set breakpoint_from_pc to
|
|
|
|
|
sparc_breakpoint_from_pc.
|
|
|
|
|
* config/sparc/tm-sparc.h (BREAKPOINT): Delete macro.
|
|
|
|
|
(BREAKPOINT_FROM_PC): Define.
|
|
|
|
|
(sparc_breakpoint_from_pc): Declare.
|
|
|
|
|
* hppa-tdep.c (hppa_breakpoint_from_pc): New function.
|
|
|
|
|
* config/pa/tm-hppa.h (hppa_breakpoint_from_pc): Declare.
|
|
|
|
|
(BREAKPOINT_FROM_PC): Define.
|
|
|
|
|
(BREAKPOINT): Delete macro.
|
|
|
|
|
* target.h: Update comment.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update comments.
|
|
|
|
|
* remote.c: Update comments.
|
|
|
|
|
* remote-mips.c: Update comments.
|
|
|
|
|
* proc-api.c (write_with_trace): Do not check for a breakpoint.
|
|
|
|
|
* mem-break.c: Update comment.
|
|
|
|
|
* ia64-tdep.c (IA64_BREAKPOINT): Rename BREAKPOINT.
|
|
|
|
|
(ia64_memory_insert_breakpoint): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h: Update comment.
|
|
|
|
|
* config/pa/tm-hppa64.h: Update comment.
|
|
|
|
|
* rs6000-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
|
|
|
|
|
(rs6000_breakpoint_from_pc): Update.
|
|
|
|
|
* mips-tdep.c (BIG_BREAKPOINT, LITTLE_BREAKPOINT): Delete macro.
|
|
|
|
|
(PMON_BIG_BREAKPOINT, PMON_LITTLE_BREAKPOINT): Delete macro.
|
|
|
|
|
(IDT_LITTLE_BREAKPOINT, IDT_LITTLE_BREAKPOINT): Delete macro.
|
|
|
|
|
(MIPS16_LITTLE_BREAKPOINT, MIPS16_BIG_BREAKPOINT): Delete macro.
|
|
|
|
|
(mips_breakpoint_from_pc): Update.
|
|
|
|
|
(mips_dump_tdep): Update.
|
|
|
|
|
|
2003-05-15 22:23:24 +00:00
|
|
|
|
* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro.
|
|
|
|
|
* minsyms.c (lookup_minimal_symbol): Inline
|
|
|
|
|
DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp.
|
|
|
|
|
|
2003-05-15 22:18:43 +00:00
|
|
|
|
* c-lang.c (c_printstr): Delete "extern inspect_it" declaration.
|
|
|
|
|
* p-valprint.c (pascal_object_print_value_fields): Ditto.
|
|
|
|
|
* p-lang.c (pascal_printstr): Ditto.
|
|
|
|
|
* objc-lang.c (objc_printstr): Ditto.
|
|
|
|
|
* m2-lang.c (m2_printstr): Ditto.
|
|
|
|
|
* jv-valprint.c (java_print_value_fields): Ditto.
|
|
|
|
|
* f-lang.c (f_printstr): Ditto.
|
|
|
|
|
* cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h".
|
|
|
|
|
* ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and
|
|
|
|
|
for repeat_count_threshold.
|
|
|
|
|
* Makefile.in (cp-valprint.o): Update dependencies.
|
|
|
|
|
|
2003-05-15 21:38:37 +00:00
|
|
|
|
2003-05-15 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ia64-tdep.c: Increase max_skip_non_prologue_insns to 40.
|
|
|
|
|
(examine_prologue): Support looking through leaf functions, knowing
|
|
|
|
|
they start with mov r2,r12. Support skipping over indirect stores
|
|
|
|
|
of the input registers. Upon hitting a non-nop branch instruction
|
|
|
|
|
or predicated instruction, bail out by setting lim_pc to the current
|
|
|
|
|
pc value in the loop. At the end, if the lim_pc value is still
|
|
|
|
|
beyond our calculated value and we have trust_limit set,
|
|
|
|
|
use the lim_pc value.
|
|
|
|
|
|
2003-05-15 19:04:29 +00:00
|
|
|
|
2003-05-15 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename
|
|
|
|
|
generic_find_dummy_frame.
|
|
|
|
|
* dummy-frame.c (deprecated_find_dummy_frame_regcache): Update.
|
|
|
|
|
(deprecated_generic_find_dummy_frame): Update.
|
|
|
|
|
(deprecated_read_register_dummy): Update.
|
|
|
|
|
* frame.c (deprecated_generic_get_saved_register): Update.
|
|
|
|
|
|
2003-05-15 18:10:04 +00:00
|
|
|
|
2003-05-15 Theodore A. Roth <troth@openavr.org>
|
|
|
|
|
|
|
|
|
|
* avr-tdep.c (avr_breakpoint_from_pc): New function.
|
|
|
|
|
(avr_gdbarch_init): Set breakpoint_from_pc method.
|
|
|
|
|
|
2003-05-15 18:01:50 +00:00
|
|
|
|
2003-05-15 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* regcache.c (build_regcache): Set deprecated_register_valid
|
|
|
|
|
directly.
|
|
|
|
|
(deprecated_grub_regcache_for_register_valid): Delete function.
|
|
|
|
|
* regcache.h (deprecated_grub_regcache_for_register_valid): Delete
|
|
|
|
|
declaration.
|
|
|
|
|
|
2003-05-15 14:28:57 +00:00
|
|
|
|
2003-05-15 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
Committed by Elena Zannoni <ezannoni@redhat.com>
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* symtab.c (lookup_symbol_aux): Delete calls to
|
|
|
|
|
lookup_symbol_aux_minsyms.
|
|
|
|
|
(lookup_symbol_aux_minsyms): Comment out function and
|
|
|
|
|
prototype. Delete lookup by mangled name.
|
2003-05-15 14:28:57 +00:00
|
|
|
|
|
2003-05-14 22:45:41 +00:00
|
|
|
|
2003-05-14 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to
|
|
|
|
|
correctly indicate an empty stack and ``stack_allocated'' to the
|
|
|
|
|
indicate the number of elements initially allocated.
|
|
|
|
|
(dwarf_expr_grow_stack): Simplify method for computing new
|
|
|
|
|
stack size. Don't loop infinitely if ``stack_len'' is zero.
|
|
|
|
|
(execute_stack_op): Move ``ctx->in_reg'' initialization
|
|
|
|
|
out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to
|
|
|
|
|
be used in conjuction with DW_OP_piece. Revise error message
|
|
|
|
|
accordingly.
|
|
|
|
|
|
2003-05-14 20:09:14 +00:00
|
|
|
|
2003-05-14 Theodore A. Roth <troth@openavr.org>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
* avr-tdep.c: Ditto.
|
|
|
|
|
|
2003-05-14 Elena Zannoni <ezannoni@redhat.com>
* symtab.h (enum domain_enum): Rename from namespace_enum.
(UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN,
VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN):
Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE,
LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE,
TYPES_NAMESPACE, METHODS_NAMESPACE.
(SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN.
(struct symbol, struct partial_symbol): Rename field
'namespace_enum namespace' to 'domain_enum domain'.
(PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN.
Delete old define kludge for namespace.
* ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c,
blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c,
dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h,
gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c,
language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c,
mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c,
p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c,
stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c,
valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all
occurrences of the above.
2003-05-12 Elena Zannoni <ezannoni@redhat.com>
* mi-mi-cmd-stack.c (list_args_or_locals): Rename VAR_NAMESPACE to
VAR_DOMAIN.
2003-05-14 17:43:20 +00:00
|
|
|
|
2003-05-14 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symtab.h (enum domain_enum): Rename from namespace_enum.
|
|
|
|
|
(UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN,
|
|
|
|
|
VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN):
|
|
|
|
|
Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE,
|
|
|
|
|
LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE,
|
|
|
|
|
TYPES_NAMESPACE, METHODS_NAMESPACE.
|
|
|
|
|
(SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN.
|
|
|
|
|
(struct symbol, struct partial_symbol): Rename field
|
|
|
|
|
'namespace_enum namespace' to 'domain_enum domain'.
|
|
|
|
|
(PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN.
|
|
|
|
|
Delete old define kludge for namespace.
|
|
|
|
|
|
|
|
|
|
* ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c,
|
|
|
|
|
blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c,
|
|
|
|
|
dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h,
|
|
|
|
|
gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c,
|
|
|
|
|
language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c,
|
|
|
|
|
mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c,
|
|
|
|
|
p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c,
|
|
|
|
|
stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c,
|
|
|
|
|
valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all
|
|
|
|
|
occurrences of the above.
|
|
|
|
|
|
2003-05-14 16:14:25 +00:00
|
|
|
|
2003-05-14 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (install-only): Use $(SHELL) when running
|
|
|
|
|
mkinstalldirs.
|
|
|
|
|
|
2003-05-13 19:40:11 +00:00
|
|
|
|
2003-05-13 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
2003-05-13 19:52:50 +00:00
|
|
|
|
* MAINTAINERS (write after approval): Add myself.
|
|
|
|
|
|
2003-05-13 19:40:11 +00:00
|
|
|
|
* ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap
|
|
|
|
|
second and third arguments.
|
|
|
|
|
* ser-tcp.c (_initialize_ser_tcp): Likewise.
|
|
|
|
|
* ser-unix.c (_initialize_ser_hardwire): Likewise.
|
|
|
|
|
|
2003-05-13 19:27:28 +00:00
|
|
|
|
2003-05-13 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* defs.h (store_address): Delete declaration.
|
|
|
|
|
findvar.c (store_address): Delete function.
|
|
|
|
|
* arm-tdep.c (arm_push_dummy_call): Replace store_address with
|
|
|
|
|
store_unsigned_integer.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_push_arguments): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_get_saved_register): Ditto.
|
|
|
|
|
* sh-tdep.c (sh64_get_saved_register): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_push_arguments): Ditto.
|
|
|
|
|
* ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_eabi_push_arguments): Ditto.
|
|
|
|
|
(mips_get_saved_register): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_get_saved_register): Ditto.
|
|
|
|
|
(find_func_descr, ia64_push_arguments): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_push_arguments): Ditto.
|
|
|
|
|
* hpux-thread.c (hpux_thread_fetch_registers): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_push_arguments): Ditto.
|
|
|
|
|
* frame.c (legacy_saved_regs_prev_register): Ditto.
|
|
|
|
|
(deprecated_generic_get_saved_register): Ditto.
|
|
|
|
|
* findvar.c (unsigned_address_to_pointer): Ditto.
|
|
|
|
|
* dwarf2read.c (dwarf2_const_value): Ditto.
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_push_arguments): Ditto.
|
|
|
|
|
|
2003-05-13 05:40:34 +00:00
|
|
|
|
2003-05-12 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention that the hppa-hpux port has been partially
|
|
|
|
|
multiarched (32bit ABIT only, so far).
|
|
|
|
|
|
2003-05-12 00:26:19 +00:00
|
|
|
|
2003-05-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol.
|
|
|
|
|
* config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h,
|
|
|
|
|
include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms,
|
|
|
|
|
sim/testsuite/sim/arm/misaligned2.ms, and
|
|
|
|
|
sim/testsuite/sim/arm/misaligned3.ms.
|
|
|
|
|
* disasm.h (struct ui_file): Add opaque struct declaration.
|
|
|
|
|
* config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto.
|
|
|
|
|
* frame.h (struct ui_file): Ditto.
|
|
|
|
|
|
2003-05-10 23:10:08 +00:00
|
|
|
|
2003-05-11 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* value.h: Pretty print.
|
|
|
|
|
|
2003-05-10 20:14:43 +00:00
|
|
|
|
2003-05-10 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define.
|
|
|
|
|
|
2003-05-08 Andrew Cagney <cagney@redhat.com>
* regcache.h (max_register_size): Delete declaration.
* regcache.c (max_register_size): Delete function.
(struct regcache_descr): Delete field "max_register_size".
(init_regcache_descr, init_legacy_regcache_descr): Assert that all
registers fit in MAX_REGISTER_SIZE.
(regcache_save): Replace max_register_size with MAX_REGISTER_SIZE.
(regcache_restore, regcache_xfer_part, regcache_dump): Ditto.
* thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE.
* sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto.
* remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto.
* m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto.
* hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto.
* dve3900-rom.c, hppa-tdep.c: Ditto.
2003-05-08 22:33:14 +00:00
|
|
|
|
2003-05-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* regcache.h (max_register_size): Delete declaration.
|
|
|
|
|
* regcache.c (max_register_size): Delete function.
|
|
|
|
|
(struct regcache_descr): Delete field "max_register_size".
|
|
|
|
|
(init_regcache_descr, init_legacy_regcache_descr): Assert that all
|
|
|
|
|
registers fit in MAX_REGISTER_SIZE.
|
|
|
|
|
(regcache_save): Replace max_register_size with MAX_REGISTER_SIZE.
|
|
|
|
|
(regcache_restore, regcache_xfer_part, regcache_dump): Ditto.
|
|
|
|
|
* thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE.
|
|
|
|
|
* sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto.
|
|
|
|
|
* remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto.
|
|
|
|
|
* m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto.
|
|
|
|
|
* hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto.
|
|
|
|
|
* dve3900-rom.c, hppa-tdep.c: Ditto.
|
|
|
|
|
|
2003-05-08 22:03:35 +00:00
|
|
|
|
2003-05-08 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* valops.c (push_word): Fix typo.
|
|
|
|
|
|
2003-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
* gdbarch.h: Re-generate.
* defs.h (MAX_REGISTER_RAW_SIZE): Delete macro.
(legacy_max_register_raw_size): Delete declaration.
* regcache.c (legacy_max_register_raw_size): Delete function.
* valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE.
* target.c, stack.c, sparc-tdep.c, sh-tdep.c: Update.
* rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Update.
* remote-rdp.c, remote-array.c, regcache.c: Update.
* ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Update.
* mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Update.
* infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Update.
* findvar.c, dwarf2cfi.c: Update.
Index: tui/ChangeLog
2003-05-08 Andrew Cagney <cagney@redhat.com>
* tuiRegs.c: Use MAX_REGISTER_SIZE instead of
MAX_REGISTER_RAW_SIZE.
Index: mi/ChangeLog
2003-05-08 Andrew Cagney <cagney@redhat.com>
* mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of
MAX_REGISTER_RAW_SIZE.
2003-05-08 20:52:49 +00:00
|
|
|
|
2003-05-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
|
|
|
|
|
* gdbarch.h: Re-generate.
|
|
|
|
|
* defs.h (MAX_REGISTER_RAW_SIZE): Delete macro.
|
|
|
|
|
(legacy_max_register_raw_size): Delete declaration.
|
|
|
|
|
* regcache.c (legacy_max_register_raw_size): Delete function.
|
|
|
|
|
* valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE.
|
|
|
|
|
* target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto.
|
|
|
|
|
* rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto.
|
|
|
|
|
* remote-rdp.c, remote-array.c, regcache.c: Ditto.
|
|
|
|
|
* ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto.
|
|
|
|
|
* mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto.
|
|
|
|
|
* infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto.
|
|
|
|
|
* findvar.c, dwarf2cfi.c: Ditto.
|
|
|
|
|
|
2003-05-08 20:38:07 +00:00
|
|
|
|
2003-05-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (read_signed_register): New function, moved to here
|
|
|
|
|
from "regcache.c".
|
|
|
|
|
(read_signed_register_pid): Ditto.
|
|
|
|
|
* regcache.c (read_signed_register_pid): Delete function, moved to
|
|
|
|
|
"mips-tdep.c".
|
|
|
|
|
(read_signed_register): Ditto.
|
|
|
|
|
* regcache.h (read_signed_register): Delete declaration.
|
|
|
|
|
(read_signed_register_pid): Delete declaration.
|
|
|
|
|
|
2003-05-08 18:46:49 +00:00
|
|
|
|
2003-05-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh: Add comments on MAX_REGISTER_SIZE.
|
|
|
|
|
* gdbarch.h: Re-generate.
|
|
|
|
|
* defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro.
|
|
|
|
|
(legacy_max_register_virtual_size): Delete declaration.
|
|
|
|
|
* infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE.
|
|
|
|
|
* d10v-tdep.c (d10v_print_registers_info): Ditto.
|
|
|
|
|
* tracepoint.c (memrange_sortmerge): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_print_registers): Ditto.
|
|
|
|
|
* regcache.c (legacy_max_register_virtual_size): Delete function.
|
|
|
|
|
|
2003-05-08 18:08:57 +00:00
|
|
|
|
2002-05-08 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* fork-child.c (escape_bang_in_quoted_argument): New function.
|
|
|
|
|
(fork_inferior): Escape '!' characters in quoted arguments
|
|
|
|
|
only when needed.
|
|
|
|
|
|
2003-05-08 18:05:37 +00:00
|
|
|
|
2003-05-08 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (set_cu_language): Set the language to "minimal" if
|
|
|
|
|
the language of the CU is not currently supported by GDB.
|
|
|
|
|
|
2003-05-08 17:35:21 +00:00
|
|
|
|
2003-05-08 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* defs.h (language): Add language_minimal enum value.
|
|
|
|
|
* c-lang.c (minimal_language_defn): New language definition.
|
|
|
|
|
(_initialize_c_language): Add the new minimal language to the list
|
|
|
|
|
of languages known to GDB.
|
|
|
|
|
|
2003-05-08 15:34:12 +00:00
|
|
|
|
2003-05-08 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_frame_type): Don't attempt to lazily initialize
|
|
|
|
|
frame's unwinder for legacy frames.
|
|
|
|
|
|
2003-05-08 03:48:03 +00:00
|
|
|
|
2003-05-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch"
|
|
|
|
|
and "regcache" parameters.
|
|
|
|
|
* avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
|
|
|
|
|
|
2003-05-07 22:57:30 +00:00
|
|
|
|
2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dwarf_decode_lines): Only use output of
|
|
|
|
|
check_cu_functions() when calling record_line(). Do not update
|
|
|
|
|
the current address.
|
|
|
|
|
|
2003-05-07 22:13:33 +00:00
|
|
|
|
2003-05-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
|
|
|
|
|
code.
|
|
|
|
|
|
2003-05-07 21:42:48 +00:00
|
|
|
|
2003-05-07 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
Rename commands 'maint list symtabs' and 'maint list psymtabs' to
|
|
|
|
|
'maint info symtabs' and 'maint info psymtabs'.
|
|
|
|
|
* symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs):
|
|
|
|
|
Renamed from maintenance_list_symtabs and maintenance_list_psymtabs.
|
|
|
|
|
* symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs):
|
|
|
|
|
Declarations updated.
|
|
|
|
|
* maint.c (maintenance_list_command): Delete.
|
|
|
|
|
(_initialize_maint_cmds): Update calls to add_cmd.
|
|
|
|
|
* gdbcmd.h (maintenancelistlist): Delete declaration.
|
|
|
|
|
* cli/cli-cmds.c (maintenancelistlist): Delete.
|
|
|
|
|
(init_cmd_lists): Don't initialize it.
|
|
|
|
|
* cli/cli-cmds.h (maintenancelistlist): Delete declaration.
|
|
|
|
|
|
2003-05-07 19:21:13 +00:00
|
|
|
|
2003-05-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (remote_d10v_translate_xfer_address): Add
|
|
|
|
|
"regcache".
|
|
|
|
|
(d10v_print_registers_info): Update.
|
|
|
|
|
(d10v_dmap_register, d10v_imap_register): Delete functions.
|
|
|
|
|
(struct gdbarch_tdep): Add "regcache" parameter to "dmap_register"
|
|
|
|
|
and "imap_register".
|
|
|
|
|
(d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache".
|
|
|
|
|
(d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache".
|
|
|
|
|
* arch-utils.c (generic_remote_translate_xfer_address): Add
|
|
|
|
|
"regcache" and "gdbarch" parameters.
|
|
|
|
|
* gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache"
|
|
|
|
|
parameter. Change class to multi-arch.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* remote.c (remote_xfer_memory): Use
|
|
|
|
|
gdbarch_remote_translate_xfer_address.
|
|
|
|
|
|
2003-05-07 18:35:57 +00:00
|
|
|
|
2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infrun.c (prev_pc): Move declaration ahead of proceed().
|
|
|
|
|
(proceed): Refresh prev_pc value before resuming.
|
|
|
|
|
(stop_stepping): Remove code to refresh prev_pc.
|
|
|
|
|
|
2003-05-06 17:13:40 +00:00
|
|
|
|
2003-05-06 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
|
|
|
|
* nto-tdep.c: Removed stray comment.
|
|
|
|
|
|
2003-05-06 16:47:47 +00:00
|
|
|
|
2003-05-06 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
|
|
|
|
* i386-nto-tdep.c: Fix old K&R function definitions.
|
|
|
|
|
* nto-tdep.c: Likewise and change stat.h include to gdb_stat.h.
|
|
|
|
|
Also change add_show_from_set() call to add_setshow_cmd().
|
|
|
|
|
* nto-tdep.h: Remove PARAMS and grep ^func ARI hits.
|
|
|
|
|
|
2003-05-05 18:33:11 +00:00
|
|
|
|
2003-05-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dummy-frame.c: Include "command.h" and "gdbcmd.h".
|
|
|
|
|
(fprint_dummy_frames): New function.
|
|
|
|
|
(maintenance_print_dummy_frames): New function.
|
|
|
|
|
(_initialize_dummy_frame): Add command "maint print dummy-frames".
|
|
|
|
|
* frame.c (fprint_frame_id): Make global.
|
|
|
|
|
* frame.h (fprint_frame_id): Declare.
|
|
|
|
|
* Makefile.in (dummy-frame.o): Update dependencies.
|
|
|
|
|
|
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
(DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
SIZEOF_CALL_DUMMY_WORDS.
(DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
(DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
(DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
CALL_DUMMY_BREAKPOINT_OFFSET.
(DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
CALL_DUMMY_START_OFFSET.
(DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
* gdbarch.h, gdbarch.c: Re-generate.
* alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
* arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
* dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
* gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
* i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
* mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
* sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
* vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
* config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
* config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
* config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
* config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
* config/sparc/tm-sparc.h: Update.
Index: doc/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Make
CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH,
FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and
CALL_DUMMY_BREAKPOINT_OFFSET deprecated.
Index: mi/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* mi-main.c (mi_cmd_data_write_register_values): Replace
REGISTER_SIZE with DEPRECATED_REGISTER_SIZE.
Index: testsuite/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2003-05-05 17:56:57 +00:00
|
|
|
|
2003-05-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
|
|
|
|
|
(DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
|
|
|
|
|
SIZEOF_CALL_DUMMY_WORDS.
|
|
|
|
|
(DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
|
|
|
|
|
(DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
|
|
|
|
|
(DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
|
|
|
|
|
CALL_DUMMY_BREAKPOINT_OFFSET.
|
|
|
|
|
(DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
|
|
|
|
|
CALL_DUMMY_START_OFFSET.
|
|
|
|
|
(DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
|
|
|
|
|
* arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
|
|
|
|
|
* dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
|
|
|
|
|
* gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
|
|
|
|
|
* i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
|
|
|
|
|
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
|
|
|
|
|
* mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
|
|
|
|
|
* rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
|
|
|
|
|
* sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
|
|
|
|
|
* vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
|
|
|
|
|
* config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
|
|
|
|
|
* config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
|
|
|
|
|
* config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
|
|
|
|
|
* config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
|
|
|
|
|
* config/sparc/tm-sparc.h: Update.
|
2003-05-06 12:35:03 +00:00
|
|
|
|
|
|
|
|
|
2003-05-05 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add i[3456]86-*-nto*.
|
|
|
|
|
* i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino.
|
|
|
|
|
* nto-tdep.c: New file. Neutrino target support routines.
|
|
|
|
|
* nto-tdep.h: New file. Neutrino target header.
|
|
|
|
|
* config/tm-qnxnto.h: New file.
|
|
|
|
|
* config/i386/i386nto.mt: New file.
|
|
|
|
|
* config/i386/tm-i386nto.h: New file.
|
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
(DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
SIZEOF_CALL_DUMMY_WORDS.
(DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
(DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
(DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
CALL_DUMMY_BREAKPOINT_OFFSET.
(DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
CALL_DUMMY_START_OFFSET.
(DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
* gdbarch.h, gdbarch.c: Re-generate.
* alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
* arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
* dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
* gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
* i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
* mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
* sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
* vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
* config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
* config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
* config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
* config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
* config/sparc/tm-sparc.h: Update.
Index: doc/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Make
CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH,
FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and
CALL_DUMMY_BREAKPOINT_OFFSET deprecated.
Index: mi/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* mi-main.c (mi_cmd_data_write_register_values): Replace
REGISTER_SIZE with DEPRECATED_REGISTER_SIZE.
Index: testsuite/ChangeLog
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2003-05-05 17:56:57 +00:00
|
|
|
|
|
2003-05-05 00:27:08 +00:00
|
|
|
|
2003-05-04 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbthread.h (save_infrun_state): Drop prev_func_name parameter.
|
|
|
|
|
(load_infrun_state): Ditto.
|
|
|
|
|
(struct thread_info): Drop "prev_func_name" field.
|
|
|
|
|
* thread.c (load_infrun_state): Update.
|
|
|
|
|
(save_infrun_state): Update.
|
|
|
|
|
* infrun.c (prev_func_name): Delete variable.
|
|
|
|
|
(init_wait_for_inferior): Do not clear prev_func_name.
|
|
|
|
|
(stop_stepping, keep_going, context_switch): Do not swap
|
|
|
|
|
prev_func_name.
|
|
|
|
|
(handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp
|
|
|
|
|
instead of PC_IN_SIGTRAMP.
|
|
|
|
|
|
2003-05-04 17:34:51 +00:00
|
|
|
|
2003-05-04 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sentinel-frame.c (sentinel_frame_prev_register): Replace
|
|
|
|
|
REGISTER_BYTE with register_offset_hack.
|
|
|
|
|
* regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check
|
|
|
|
|
that REGISTER_BYTE is consistent with the regcache.
|
|
|
|
|
* gdbarch.sh (REGISTER_BYTE): Add a predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
|
2003-05-04 10:18:10 +00:00
|
|
|
|
2003-05-04 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-05-04 10:27:47 +00:00
|
|
|
|
* i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.
|
|
|
|
|
(FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
|
|
|
|
|
|
2003-05-04 10:18:10 +00:00
|
|
|
|
* i386-linux-nat.c (supply_gregset): Remove unnecessary casts.
|
|
|
|
|
|
2003-05-04 03:55:34 +00:00
|
|
|
|
2003-05-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
From Thierry Schneider <tpschneider1@yahoo.com>
|
|
|
|
|
* Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o.
|
|
|
|
|
(SUBDIR_MI_SRCS): Add mi-cmd-symbol.c.
|
|
|
|
|
(mi-cmd-symbol.o): Add rule.
|
|
|
|
|
|
2003-05-03 19:39:23 +00:00
|
|
|
|
2003-05-03 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add
|
|
|
|
|
comments noteing that it replaces the old FIX_CALL_DUMMY code.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* d10v-tdep.c (d10v_push_dummy_code): New function.
|
|
|
|
|
(d10v_gdbarch_init): Set push_dummy_code.
|
|
|
|
|
* infcall.c (legacy_push_dummy_code): New function.
|
|
|
|
|
(generic_push_dummy_code): New function.
|
|
|
|
|
(push_dummy_code): New function.
|
|
|
|
|
(call_function_by_hand): Call push_dummy_code. Pass bp_addr,
|
|
|
|
|
instead of dummy_addr, to push_dummy_call. Move call to
|
|
|
|
|
generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION
|
|
|
|
|
switch.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code.
|
|
|
|
|
|
2003-05-03 19:13:04 +00:00
|
|
|
|
2003-05-03 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* disasm.h (print_insn): Declare.
|
|
|
|
|
* disasm.c (init_gdb_disassemble_info): New function.
|
|
|
|
|
(gdb_disassembly): Call init_gdb_disassemble_info.
|
|
|
|
|
(gdb_print_insn): New function.
|
|
|
|
|
* v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead
|
|
|
|
|
of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog".
|
|
|
|
|
* mcore-tdep.c: Include "disasm.h"
|
|
|
|
|
(mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN.
|
|
|
|
|
* d10v-tdep.c: Include "disasm.h".
|
|
|
|
|
(display_trace): Call gdb_print_insn, instead of print_insn.
|
|
|
|
|
(print_insn): Delete function.
|
|
|
|
|
* printcmd.c: Include "disasm.h".
|
|
|
|
|
(print_insn): Delete function.
|
|
|
|
|
(print_formatted): Call gdb_print_insn, instead of print_insn.
|
|
|
|
|
* Makefile.in (printcmd.o): Update dependencies.
|
|
|
|
|
(mcore-tdep.o, d10v-tdep.o): Ditto.
|
|
|
|
|
|
2003-05-02 23:56:12 +00:00
|
|
|
|
2003-05-02 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-05-03 00:26:34 +00:00
|
|
|
|
* std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef
|
|
|
|
|
PC_REGNUM, re-indent.
|
|
|
|
|
* stack.c (frame_info): Use "pc" for the name of get_frame_pc when
|
|
|
|
|
PC_REGNUM isn't set.
|
|
|
|
|
|
2003-05-02 23:56:12 +00:00
|
|
|
|
* gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Do not set register_size,
|
|
|
|
|
register_virtual_size, pc_regnum, or register_bytes.
|
|
|
|
|
(D10V_PC_REGNUM): Rename _PC_REGNUM.
|
|
|
|
|
(d10v_register_type): Use D10V_PC_REGNUM.
|
|
|
|
|
(d10v_print_registers_info, d10v_read_pc): Ditto.
|
|
|
|
|
(d10v_write_pc, d10v_eva_prepare_to_trace): Ditto.
|
|
|
|
|
(d10v_unwind_pc, d10v_frame_prev_register): Ditto.
|
|
|
|
|
|
2003-05-02 17:00:57 +00:00
|
|
|
|
2003-05-02 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* objfiles.c (allocate_objfile): For anonymous objfiles, allocate
|
|
|
|
|
the name with mstrsave.
|
|
|
|
|
|
gdb:
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
* charset.c (GDB_DEFAULT_TARGET_CHARSET,
GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
(host_charset_name, target_charset_name): New vars for use by
set/show commands.
(host_charset_enum, target_charset_enum): New enums for set/show
commands.
(set_charset_sfunc, set_host_charset_sfunc,
set_target_charset_sfunc): New functions.
(set_host_charset, set_target_charset): Make static.
(list_charsets, set_host_charset_command,
set_target_charset_command): Delete functions.
(show_charset_command): Rewrite as....
(show_charset): Hook this up with the set/show command mechanism.
(_initialize_charset): Change names of charsets to match the
set/show enums. Use host_charset_name and target_charset_name.
Use set/show mechanism for charset, host-charset, target-charset
commands. Do not make 'show host-charset' and 'show
target-charset' be aliases of 'show charset'.
* charset.h (set_host_charset, set_target_charset): Don't export,
they are not used outside the file.
gdb/testsuite:
2003-05-01 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/charset.exp: Update based on new behavior of set/show
charset commands.
gdb/doc:
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
* gdb.texinfo (Character Sets): Update to reflect new behavior of
set/show charsets commands.
2003-05-02 14:23:39 +00:00
|
|
|
|
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* charset.c (GDB_DEFAULT_TARGET_CHARSET,
|
|
|
|
|
GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
|
|
|
|
|
(host_charset_name, target_charset_name): New vars for use by
|
|
|
|
|
set/show commands.
|
|
|
|
|
(host_charset_enum, target_charset_enum): New enums for set/show
|
|
|
|
|
commands.
|
|
|
|
|
(set_charset_sfunc, set_host_charset_sfunc,
|
|
|
|
|
set_target_charset_sfunc): New functions.
|
|
|
|
|
(set_host_charset, set_target_charset): Make static.
|
|
|
|
|
(list_charsets, set_host_charset_command,
|
|
|
|
|
set_target_charset_command): Delete functions.
|
|
|
|
|
(show_charset_command): Rewrite as....
|
|
|
|
|
(show_charset): Hook this up with the set/show command mechanism.
|
|
|
|
|
(_initialize_charset): Change names of charsets to match the
|
|
|
|
|
set/show enums. Use host_charset_name and target_charset_name.
|
|
|
|
|
Use set/show mechanism for charset, host-charset, target-charset
|
|
|
|
|
commands. Do not make 'show host-charset' and 'show
|
|
|
|
|
target-charset' be aliases of 'show charset'.
|
|
|
|
|
|
|
|
|
|
* charset.h (set_host_charset, set_target_charset): Don't export,
|
|
|
|
|
they are not used outside the file.
|
|
|
|
|
|
2003-05-01 23:21:08 +00:00
|
|
|
|
2003-05-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* disasm.c (gdb_disassemble_from_exec): Delete global variable.
|
|
|
|
|
(gdb_disassembly): Make "di" non static, always initialize and
|
|
|
|
|
cleanup. Always use dis_asm_read_memory.
|
|
|
|
|
(gdb_dis_asm_read_memory): Delete function.
|
|
|
|
|
|
2003-05-01 15:37:45 +00:00
|
|
|
|
2003-05-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align.
|
|
|
|
|
(d10v_gdbarch_init): Set frame_align instead of stack_align.
|
|
|
|
|
|
2003-04-30 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (deprecated_tm_print_insn_info): Rename
"tm_print_insn_info".
(TARGET_PRINT_INSN_INFO): Delete macro.
(dis_asm_read_memory): Delete function declaration.
(dis_asm_memory_error, dis_asm_print_address): Ditto.
(tm_print_insn_info): Delete variable definition.
(_initialize_gdbarch): Do not initialize "tm_print_insn_info".
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
"deprecated_tm_print_insn_info".
* mcore-tdep.c (mcore_dump_insn): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* sparc-tdep.c (_initialize_sparc_tdep): Ditto.
* v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
* ia64-tdep.c (_initialize_ia64_tdep): Ditto.
* printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
instead of TARGET_PRINT_INSN_INFO, add comment.
* s390-tdep.c (s390_get_frame_info): Instead of
"dis_asm_read_memory", use "deprecated_tm_print_insn_info".
(s390_check_function_end, s390_is_sigreturn): Ditto.
* corefile.c (dis_asm_read_memory): Move to "disasm.c".
(dis_asm_memory_error, dis_asm_print_address): Ditto.
* disasm.c: Include "gdbcore.h".
(_initialize_disasm): New function, initialize
"deprecated_tm_print_insn_info".
(deprecated_tm_print_insn_info): New variable.
(dis_asm_read_memory): Moved from "corefile.c", made static.
(dis_asm_print_address, dis_asm_memory_error): Ditto.
* Makefile.in (disasm.o): Update dependencies.
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp,
DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2003-04-30 22:01:38 +00:00
|
|
|
|
2003-04-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (deprecated_tm_print_insn_info): Rename
|
|
|
|
|
"tm_print_insn_info".
|
|
|
|
|
(TARGET_PRINT_INSN_INFO): Delete macro.
|
|
|
|
|
(dis_asm_read_memory): Delete function declaration.
|
|
|
|
|
(dis_asm_memory_error, dis_asm_print_address): Ditto.
|
|
|
|
|
(tm_print_insn_info): Delete variable definition.
|
|
|
|
|
(_initialize_gdbarch): Do not initialize "tm_print_insn_info".
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
|
|
|
|
|
"deprecated_tm_print_insn_info".
|
|
|
|
|
* mcore-tdep.c (mcore_dump_insn): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (_initialize_sparc_tdep): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (_initialize_ia64_tdep): Ditto.
|
|
|
|
|
* printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
|
|
|
|
|
instead of TARGET_PRINT_INSN_INFO, add comment.
|
|
|
|
|
* s390-tdep.c (s390_get_frame_info): Instead of
|
|
|
|
|
"dis_asm_read_memory", use "deprecated_tm_print_insn_info".
|
|
|
|
|
(s390_check_function_end, s390_is_sigreturn): Ditto.
|
|
|
|
|
* corefile.c (dis_asm_read_memory): Move to "disasm.c".
|
|
|
|
|
(dis_asm_memory_error, dis_asm_print_address): Ditto.
|
|
|
|
|
* disasm.c: Include "gdbcore.h".
|
|
|
|
|
(_initialize_disasm): New function, initialize
|
|
|
|
|
"deprecated_tm_print_insn_info".
|
|
|
|
|
(deprecated_tm_print_insn_info): New variable.
|
|
|
|
|
(dis_asm_read_memory): Moved from "corefile.c", made static.
|
|
|
|
|
(dis_asm_print_address, dis_asm_memory_error): Ditto.
|
|
|
|
|
* Makefile.in (disasm.o): Update dependencies.
|
|
|
|
|
|
2003-04-30 18:17:58 +00:00
|
|
|
|
2003-04-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
|
|
|
|
|
|
2003-04-30 01:27:53 +00:00
|
|
|
|
2003-04-29 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* eval.c (evaluate_subexp_standard): Handle ObjC ops.
|
|
|
|
|
* infcall.c (find_function_addr): Make non-static.
|
|
|
|
|
* infcall.h (find_function_addr): Declare.
|
|
|
|
|
* Makefile.in (eval.o): Update dependencies.
|
|
|
|
|
|
2003-04-29 02:34:24 +00:00
|
|
|
|
2003-04-28 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* symtab.c (symbol_find_demangled_name): Check for and demangle
|
|
|
|
|
ObjC symbols.
|
|
|
|
|
(symbol_init_demangled_name): Init for language_objc as well.
|
|
|
|
|
|
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
(DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
* inferior.h (deprecated_read_fp): Rename read_fp.
(generic_target_read_fp): Delete declaration.
* regcache.c (generic_target_read_fp): Delete function.
(deprecated_read_fp): Replace read_fp, use
DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
* d10v-tdep.c (d10v_read_fp): Delete function.
(d10v_gdbarch_init): Do not set deprecated_read_fp.
* sparc-tdep.c (sparc_gdbarch_init): Do not set
deprecated_target_read_fp to generic_target_read_fp.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Set
deprecated_fp_regnum.
* x86-64-tdep.c (x86_64_init_abi): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
DEPRECATED_FP_REGNUM.
(vax_push_dummy_frame, vax_pop_frame): Ditto.
* std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
* sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
(sparc_push_dummy_frame, sparc64_read_fp): Ditto.
(sparc32_register_virtual_type): Ditto.
* sh-tdep.c (sh64_frame_chain): Ditto.
(sh64_get_saved_register, sh64_pop_frame): Ditto.
(sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
* remote-e7000.c (fetch_regs_from_dump): Ditto.
* procfs.c (procfs_fetch_registers): Ditto.
(procfs_store_registers): Ditto.
* ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
(store_inferior_registers, fetch_core_registers): Ditto.
(fetch_kcore_registers, clear_regs): Ditto.
* ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
(ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
* nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
* nlm/i386.c (do_status): Ditto.
* mipsv4-nat.c (supply_gregset): Ditto.
* mips-tdep.c: Ditto for comments.
* mips-nat.c (fetch_inferior_registers): Ditto.
(store_inferior_registers, fetch_core_registers): Ditto.
* m68k-tdep.c (m68k_push_dummy_frame): Ditto.
(m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
* i386-tdep.c (i386_frame_init_saved_regs): Ditto.
(i386_do_pop_frame, i386_register_type): Ditto.
* hppa-tdep.c (hppa_frame_chain): Ditto.
(hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
(hppa_pop_frame, hppa_read_fp): Ditto.
(skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
* cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
* config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
* config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
* config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
* config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
* config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
* config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
* blockframe.c: Ditto for comments.
* arch-utils.h: Ditto for comments.
* arch-utils.c (legacy_virtual_frame_pointer): Ditto.
* alphanbsd-tdep.c (fetch_core_registers): Ditto.
* alphabsd-nat.c (fetch_inferior_registers): Ditto.
* alpha-tdep.h: Ditto for comments.
* alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
(alpha_cannot_store_register): Ditto.
(alpha_push_dummy_frame): Ditto.
* alpha-nat.c (supply_gregset): Ditto.
* config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
* config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
* config/sparc/tm-sparc.h: Update comment.
* hppa-tdep.c (hppa_init_extra_frame_info): Use
deprecated_read_fp instead of TARGET_READ_FP.
(hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
(hppa_push_dummy_frame, hppa_read_fp): Ditto.
* sparc-tdep.c (sparc_init_extra_frame_info): Use
deprecated_read_fp instead of read_fp.
* s390-tdep.c (s390_push_arguments): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* frame.h: Ditto in comments.
* frame.c (legacy_get_prev_frame): Ditto.
* dummy-frame.c (dummy_frame_this_id): Ditto.
* arm-tdep.c (arm_init_extra_frame_info): Ditto.
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp,
DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2003-04-29 01:49:49 +00:00
|
|
|
|
2003-04-28 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
|
|
|
|
|
(DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
|
|
|
|
|
DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
|
|
|
|
|
* inferior.h (deprecated_read_fp): Rename read_fp.
|
|
|
|
|
(generic_target_read_fp): Delete declaration.
|
|
|
|
|
* regcache.c (generic_target_read_fp): Delete function.
|
|
|
|
|
(deprecated_read_fp): Replace read_fp, use
|
|
|
|
|
DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
|
|
|
|
|
* d10v-tdep.c (d10v_read_fp): Delete function.
|
|
|
|
|
(d10v_gdbarch_init): Do not set deprecated_read_fp.
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Do not set
|
|
|
|
|
deprecated_target_read_fp to generic_target_read_fp.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Set
|
|
|
|
|
deprecated_fp_regnum.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Ditto.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
|
|
|
|
|
* vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
|
|
|
|
|
DEPRECATED_FP_REGNUM.
|
|
|
|
|
(vax_push_dummy_frame, vax_pop_frame): Ditto.
|
|
|
|
|
* std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
|
|
|
|
|
(sparc_push_dummy_frame, sparc64_read_fp): Ditto.
|
|
|
|
|
(sparc32_register_virtual_type): Ditto.
|
|
|
|
|
* sh-tdep.c (sh64_frame_chain): Ditto.
|
|
|
|
|
(sh64_get_saved_register, sh64_pop_frame): Ditto.
|
|
|
|
|
(sh_nofp_frame_init_saved_regs): Ditto.
|
|
|
|
|
(sh64_nofp_frame_init_saved_regs): Ditto.
|
|
|
|
|
(sh_fp_frame_init_saved_regs): Ditto.
|
|
|
|
|
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
|
|
|
|
|
* remote-e7000.c (fetch_regs_from_dump): Ditto.
|
|
|
|
|
* procfs.c (procfs_fetch_registers): Ditto.
|
|
|
|
|
(procfs_store_registers): Ditto.
|
|
|
|
|
* ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
|
|
|
|
|
(store_inferior_registers, fetch_core_registers): Ditto.
|
|
|
|
|
(fetch_kcore_registers, clear_regs): Ditto.
|
|
|
|
|
* ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
|
|
|
|
|
(ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
|
|
|
|
|
* nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
|
|
|
|
|
* nlm/i386.c (do_status): Ditto.
|
|
|
|
|
* mipsv4-nat.c (supply_gregset): Ditto.
|
|
|
|
|
* mips-tdep.c: Ditto for comments.
|
|
|
|
|
* mips-nat.c (fetch_inferior_registers): Ditto.
|
|
|
|
|
(store_inferior_registers, fetch_core_registers): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_push_dummy_frame): Ditto.
|
|
|
|
|
(m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_frame_init_saved_regs): Ditto.
|
|
|
|
|
(i386_do_pop_frame, i386_register_type): Ditto.
|
|
|
|
|
* hppa-tdep.c (hppa_frame_chain): Ditto.
|
|
|
|
|
(hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
|
|
|
|
|
(hppa_pop_frame, hppa_read_fp): Ditto.
|
|
|
|
|
(skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
|
|
|
|
|
* config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
|
|
|
|
|
* config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
|
|
|
|
|
* config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
|
|
|
|
|
* config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
|
|
|
|
|
* config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
|
|
|
|
|
* blockframe.c: Ditto for comments.
|
|
|
|
|
* arch-utils.h: Ditto for comments.
|
|
|
|
|
* arch-utils.c (legacy_virtual_frame_pointer): Ditto.
|
|
|
|
|
* alphanbsd-tdep.c (fetch_core_registers): Ditto.
|
|
|
|
|
* alphabsd-nat.c (fetch_inferior_registers): Ditto.
|
|
|
|
|
* alpha-tdep.h: Ditto for comments.
|
|
|
|
|
* alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
|
|
|
|
|
(alpha_cannot_store_register): Ditto.
|
|
|
|
|
(alpha_push_dummy_frame): Ditto.
|
|
|
|
|
* alpha-nat.c (supply_gregset): Ditto.
|
|
|
|
|
|
|
|
|
|
* config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
|
|
|
|
|
* config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h: Update comment.
|
|
|
|
|
|
|
|
|
|
* hppa-tdep.c (hppa_init_extra_frame_info): Use
|
|
|
|
|
deprecated_read_fp instead of TARGET_READ_FP.
|
|
|
|
|
(hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
|
|
|
|
|
(hppa_push_dummy_frame, hppa_read_fp): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_init_extra_frame_info): Use
|
|
|
|
|
deprecated_read_fp instead of read_fp.
|
|
|
|
|
* s390-tdep.c (s390_push_arguments): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* frame.h: Ditto in comments.
|
|
|
|
|
* frame.c (legacy_get_prev_frame): Ditto.
|
|
|
|
|
* dummy-frame.c (dummy_frame_this_id): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_init_extra_frame_info): Ditto.
|
|
|
|
|
|
2003-04-28 16:17:29 +00:00
|
|
|
|
2003-04-28 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* xstormy16-tdep.c (_initialize_xstormy16_tdep): Update.
|
|
|
|
|
* vax-tdep.c (_initialize_vax_tdep): Update.
|
|
|
|
|
* v850-tdep.c (_initialize_v850_tdep): Update.
|
|
|
|
|
* sparc-tdep.c (_initialize_sparc_tdep): Update.
|
|
|
|
|
* s390-tdep.c (_initialize_s390_tdep): Update.
|
|
|
|
|
* ns32k-tdep.c (_initialize_ns32k_tdep): Update.
|
|
|
|
|
* mn10300-tdep.c (_initialize_mn10300_tdep): Update.
|
|
|
|
|
* mips-tdep.c (_initialize_mips_tdep): Update.
|
|
|
|
|
* mcore-tdep.c (_initialize_mcore_tdep): Update.
|
|
|
|
|
* m68k-tdep.c (_initialize_m68k_tdep): Update.
|
|
|
|
|
* ia64-tdep.c (_initialize_ia64_tdep): Update.
|
|
|
|
|
* hppa-tdep.c (_initialize_hppa_tdep): Update.
|
|
|
|
|
* h8300-tdep.c (_initialize_h8300_tdep): Update.
|
|
|
|
|
* frv-tdep.c (_initialize_frv_tdep): Update.
|
|
|
|
|
* cris-tdep.c (cris_delayed_get_disassembler): Update.
|
|
|
|
|
(_initialize_cris_tdep): Update.
|
|
|
|
|
* arch-utils.c (legacy_print_insn): Update.
|
|
|
|
|
* alpha-tdep.c (_initialize_alpha_tdep): Update.
|
|
|
|
|
|
2003-04-27 03:23:38 +00:00
|
|
|
|
2003-04-26 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_objc): New function to decode ObjC calls
|
|
|
|
|
(decode_line_1): Check for ObjC calls (using decode_objc)
|
|
|
|
|
* Makefile (linespec.o): Update dependencies.
|
|
|
|
|
|
2003-04-27 01:11:10 +00:00
|
|
|
|
2003-04-26 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.h (struct breakpoint_ops): New.
|
|
|
|
|
(struct breakpoint): Add ops member.
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (print_bp_stop_message, print_one_breakpoint)
|
|
|
|
|
(mention): Use new breakpoint ops member.
|
|
|
|
|
(set_raw_breakpoint): Initialize ops field to NULL.
|
|
|
|
|
(print_exception_catchpoint, print_one_exception_catchpoint)
|
|
|
|
|
(print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New.
|
|
|
|
|
(gnu_v3_exception_catchpoint_ops): New.
|
|
|
|
|
(catch_exception_command_1): Call handle_gnu_v3_exceptions.
|
|
|
|
|
|
2003-04-26 01:57:28 +00:00
|
|
|
|
2003-04-25 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (COMMON_OBS): Add objc-lang.o
|
|
|
|
|
|
2003-04-25 22:14:05 +00:00
|
|
|
|
2003-04-25 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (print_insn): Delete function.
|
|
|
|
|
(display_trace): Use TARGET_PRINT_INSN.
|
|
|
|
|
(_initialize_d10v_tdep): Do not set tm_print_insn.
|
|
|
|
|
(d10v_gdbarch_init): Set print_insn.
|
|
|
|
|
|
2003-04-25 21:20:58 +00:00
|
|
|
|
2003-04-25 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_extract_return_value): Delete call to printf.
|
|
|
|
|
(_initialize_d10v_tdep): Use add_setshow_boolean_cmd.
|
|
|
|
|
(d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC.
|
|
|
|
|
(NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ...
|
|
|
|
|
(nr_dmap_regs, a0_regnum): ... new functions.
|
|
|
|
|
(d10v_print_registers_info): Use a0_regnum, use register_size.
|
|
|
|
|
(d10v_register_byte): Delete function.
|
|
|
|
|
(d10v_register_raw_size): Delete function.
|
|
|
|
|
(d10v_register_type): Use a0_regnum.
|
|
|
|
|
(d10v_print_registers_info): Use a0_regnum.
|
|
|
|
|
(D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM.
|
|
|
|
|
(d10v_gdbarch_init): Do not set register_byte or
|
|
|
|
|
register_raw_size, use D10V_SP_REGNUM to set sp_regnum.
|
|
|
|
|
(d10v_pointer_to_address): Use extract_unsigned_integer instead of
|
|
|
|
|
extract_address.
|
|
|
|
|
(trace_command): Use XCALLOC.
|
|
|
|
|
(print_insn): Delete reference to tm_print_insn.
|
|
|
|
|
(saved_regs_unwinder): Use store_unsigned_integer instead of
|
|
|
|
|
store_address.
|
|
|
|
|
* frame.h (FRAME_OBSTACK_CALLOC): Define
|
|
|
|
|
|
2003-04-25 16:49:22 +00:00
|
|
|
|
2003-04-25 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
|
|
|
|
|
|
2003-04-25 03:30:17 +00:00
|
|
|
|
2003-04-24 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* objc-lang.c: Include "valprint.h"
|
|
|
|
|
* Makefile.in (objc-lang.o): Update dependencies.
|
|
|
|
|
|
2003-04-25 03:18:20 +00:00
|
|
|
|
2003-04-24 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
|
|
|
|
|
architecture dependant compilation and mark as unimplemented
|
|
|
|
|
(until they get put in the gdbarch vector).
|
|
|
|
|
|
2003-04-23 23:45:24 +00:00
|
|
|
|
2003-04-23 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* cp-support.c (cp_find_first_component): Accept 'operator' in
|
|
|
|
|
more locations.
|
|
|
|
|
|
2003-04-23 22:28:42 +00:00
|
|
|
|
2003-04-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Eliminate redundant
|
|
|
|
|
indentation. Move "saved_async" and "old_cleanups" to where they
|
|
|
|
|
are needed.
|
|
|
|
|
|
2003-04-23 22:12:40 +00:00
|
|
|
|
2003-04-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Eliminate the variables "rc"
|
|
|
|
|
and "buffer". Move the "name" code to where it is needed.
|
|
|
|
|
|
2003-04-23 21:14:33 +00:00
|
|
|
|
2003-04-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Move variables "start_sp",
|
|
|
|
|
"dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
|
|
|
|
|
code to ON_STACK switch branch.
|
|
|
|
|
|
2003-04-23 20:31:57 +00:00
|
|
|
|
2003-04-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Make declaration of "i",
|
|
|
|
|
"sal", "bpt" and "old_sp" more local to their use. Delete #if
|
|
|
|
|
lint.
|
|
|
|
|
|
2003-04-23 19:32:38 +00:00
|
|
|
|
2003-04-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Delete variable
|
|
|
|
|
"n_method_args". Localize "param_type"'s declaration to the loop
|
|
|
|
|
that it is used. Reinstate code assigning to said variable -
|
|
|
|
|
deleted on 2002-06-14. Rationalize calls to value_args_coerce.
|
|
|
|
|
Rationalize code using "param_type".
|
|
|
|
|
|
2003-04-23 15:02:02 +00:00
|
|
|
|
2003-04-22 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c (call_function_by_hand): Use new variable "bp_addr" to
|
|
|
|
|
compute the breakpoint address. Only call FIX_CALL_DUMMY when
|
|
|
|
|
ON_STACK. Eliminate the variable "addr". Do not pass "real_pc"
|
|
|
|
|
to DEPRECATED_PUSH_RETURN_ADDRESS.
|
|
|
|
|
|
2003-04-22 23:18:26 +00:00
|
|
|
|
2003-04-22 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
|
|
|
|
|
on the DWARF2 register number prior to fetching a register.
|
|
|
|
|
|
2003-04-22 23:04:40 +00:00
|
|
|
|
2003-04-22 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
|
|
|
|
|
Update all the tests using SOFT_FLOAT considering the fact that
|
|
|
|
|
this macro was always set to 0.
|
|
|
|
|
* config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
|
|
|
|
|
considering the fact that this macro was always set to 0.
|
|
|
|
|
* hppa-tdep.h (hppa_store_return_value): Likewise.
|
|
|
|
|
(hppa_extract_return_value): Likewise.
|
|
|
|
|
|
2003-04-22 18:27:47 +00:00
|
|
|
|
2003-04-22 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/tm-hppa.h: Remove obsolete code, was used by
|
|
|
|
|
the hppa-pro target only.
|
|
|
|
|
|
2003-04-22 02:44:27 +00:00
|
|
|
|
2003-04-21 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
Ongoing multi-arch conversion effort for HP/UX:
|
|
|
|
|
* config/pa/tm-hppa.h: Move all macro that are no longer
|
|
|
|
|
defined now that GDB_MULTI_ARCH is now set to 1 from here...
|
|
|
|
|
* config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).
|
|
|
|
|
|
2003-04-22 01:13:05 +00:00
|
|
|
|
2003-04-21 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/tm-hppa.h: Obsolete a section that was only used
|
|
|
|
|
for hppa-pro.
|
|
|
|
|
|
2003-04-22 00:53:54 +00:00
|
|
|
|
2003-04-21 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
Ongoing multi-arch conversion for HP/UX.
|
|
|
|
|
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
|
|
|
|
|
if already defined (allows hppa64 to stay non-multiarched for now).
|
|
|
|
|
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
|
|
|
|
|
|
2003-04-21 19:34:02 +00:00
|
|
|
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (frame_id_eq): Fail when the code_addr's do not match.
|
|
|
|
|
|
2003-04-21 18:55:52 +00:00
|
|
|
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
|
|
|
|
|
"i386_num_mmx_regs".
|
|
|
|
|
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-21 16:48:41 +00:00
|
|
|
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcall.c: New file.
|
|
|
|
|
* infcall.h: New file.
|
|
|
|
|
* valarith.c: Include "infcall.h".
|
|
|
|
|
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
|
|
|
|
|
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
|
|
|
|
|
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
|
|
|
|
|
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
|
|
|
|
|
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
|
|
|
|
|
(SFILES): Add "infcall.c"
|
|
|
|
|
(COMMON_OBS): Add "infcall.o".
|
|
|
|
|
(infcall.o): Specify dependencies.
|
|
|
|
|
* value.h (call_function_by_hand): Delete declaration.
|
|
|
|
|
* inferior.h (run_stack_dummy): Delete declaration.
|
|
|
|
|
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
|
|
|
|
|
(run_stack_dummy): Move to "infcall.c", merged into
|
|
|
|
|
call_function_by_hand.
|
|
|
|
|
* valops.c (call_function_by_hand): Moved to "infcall.c".
|
|
|
|
|
(find_function_addr, value_arg_coerce): Ditto.
|
|
|
|
|
(unwindonsignal_p, coerce_float_to_double): Ditto.
|
|
|
|
|
(_initialize_valops): Move "set/show coerce-float-to-double", and
|
|
|
|
|
"set/show unwindonsignal" commands to "infcall.c".
|
|
|
|
|
* v850-tdep.c, target.h: Update comments.
|
|
|
|
|
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
|
|
|
|
|
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
|
|
|
|
|
(sh64_init_extra_frame_info): Update comments.
|
|
|
|
|
* mn10300-tdep.c: Update comments.
|
|
|
|
|
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
|
|
|
|
|
* config/sparc/tm-sparc.h: Update comments.
|
|
|
|
|
* breakpoint.h: Update comments.
|
|
|
|
|
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
|
|
|
|
|
* arm-tdep.c: Update comment.
|
|
|
|
|
|
2003-04-19 14:26:15 +00:00
|
|
|
|
2003-04-19 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-04-19 14:43:50 +00:00
|
|
|
|
* i386-tdep.c (i386_num_register_names): New variable.
|
|
|
|
|
(i386_num_mmx_regs): Renamed from mmx_num_regs.
|
|
|
|
|
(MM0_REGNUM): Remove redundant parentheses in define.
|
|
|
|
|
(i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs.
|
|
|
|
|
(i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p,
|
|
|
|
|
i386_mxcsr_regnum_p): Remove redundant parentheses.
|
|
|
|
|
(i386_register_name): Use i386_num_register_names.
|
|
|
|
|
|
2003-04-19 14:38:47 +00:00
|
|
|
|
* i386-tdep.c (i386_extract_return_value,
|
|
|
|
|
i386_store_return_value): Correct check for availability of
|
|
|
|
|
floating-point registers.
|
|
|
|
|
|
2003-04-19 14:34:31 +00:00
|
|
|
|
* i386-tdep.c (i386_frame_num_args): Remove function.
|
|
|
|
|
(i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
|
|
|
|
|
|
2003-04-19 14:30:33 +00:00
|
|
|
|
* i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
|
|
|
|
|
mmx_regnum_to_fp_regnum. Adjust all callers.
|
|
|
|
|
|
2003-04-19 14:26:15 +00:00
|
|
|
|
* i386-tdep.c (i386_get_longjmp_target): Use
|
|
|
|
|
TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT
|
|
|
|
|
and TARGET_CHAR_BIT. Use extract_typed_address instead of
|
|
|
|
|
extract_address.
|
|
|
|
|
|
2003-04-19 12:00:48 +00:00
|
|
|
|
2003-04-19 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* core-regset.c: Update comments to reflect reality. Re-order
|
|
|
|
|
includes.
|
|
|
|
|
(fetch_core_registers): Use switch instead of if. Remove
|
|
|
|
|
redundant prototype.
|
|
|
|
|
|
2003-04-18 20:20:21 +00:00
|
|
|
|
2003-04-18 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* s390-tdep.c (s390_frame_align): New function.
|
2003-05-31 00:27:46 +00:00
|
|
|
|
(s390_gdbarch_init): Register it with the gdbarch object.
|
2003-04-18 20:20:21 +00:00
|
|
|
|
|
2003-04-18 00:21:38 +00:00
|
|
|
|
2003-04-17 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
|
|
|
|
|
|
2003-04-17 20:33:09 +00:00
|
|
|
|
2003-04-17 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
Karen Bennet <bennet@redhat.com>
|
|
|
|
|
|
|
|
|
|
Committed by Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
* gdb_gcore.sh: New script to create a core dump of a process.
|
|
|
|
|
|
2003-04-17 20:31:43 +00:00
|
|
|
|
2003-04-17 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* values.c (value_being_returned): Don't fetch the return
|
2003-05-31 00:27:46 +00:00
|
|
|
|
value if the return type is void.
|
2003-04-17 20:31:43 +00:00
|
|
|
|
|
2003-04-17 17:30:02 +00:00
|
|
|
|
2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* thread-db.c: Reindented.
|
|
|
|
|
|
2003-04-17 17:18:49 +00:00
|
|
|
|
2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
|
|
|
|
|
td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
|
|
|
|
|
as types.
|
|
|
|
|
|
2003-06-04 00:25:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-04-16 20:41:46 +00:00
|
|
|
|
2003-04-16 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
2003-04-16 20:44:04 +00:00
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set
|
2003-04-16 20:41:46 +00:00
|
|
|
|
the size of ``long double'' to 16, instead of 8.
|
|
|
|
|
|
2003-04-16 15:22:02 +00:00
|
|
|
|
2003-04-16 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-linux-nat.c: Add some whitespace to make things more
|
|
|
|
|
readable.
|
|
|
|
|
(fetch_register, store_register, fetch_inferior_registers,
|
|
|
|
|
store_inferior_registers): Get rid of assignment in if-statement.
|
|
|
|
|
(store_register): Fix typo in error message.
|
|
|
|
|
|
2003-04-16 14:43:03 +00:00
|
|
|
|
2003-04-16 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* utils.c (xmmalloc): Always allocate something, matches
|
|
|
|
|
libiberty/xmalloc's semantics.
|
|
|
|
|
(xmrealloc, xmcalloc): Ditto.
|
|
|
|
|
|
2003-04-16 14:39:47 +00:00
|
|
|
|
2003-04-16 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): Do not initialize "unwind" or "type",
|
|
|
|
|
update comments.
|
|
|
|
|
(get_frame_type): Initialize unwind and type when needed.
|
|
|
|
|
(get_frame_id, frame_register_unwind): Ditto.
|
|
|
|
|
|
2003-04-16 14:32:21 +00:00
|
|
|
|
2003-04-16 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
|
|
|
|
|
obsolete.
|
|
|
|
|
* sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
|
|
|
|
|
* sparcl-stub.c: Obsolete file.
|
|
|
|
|
* config/sparc/tm-sparclet.h: Obsolete file.
|
|
|
|
|
* sparclet-stub.c: Obsolete file.
|
|
|
|
|
* sparclet-rom.c: Obsolete file.
|
|
|
|
|
* sparcl-tdep.c: Obsolete file.
|
|
|
|
|
* config/sparc/tm-sparclite.h: Obsolete file.
|
|
|
|
|
* config/sparc/sparclite.mt: Obsolete file.
|
|
|
|
|
* config/sparc/sparclet.mt: Obsolete file.
|
|
|
|
|
* configure.tgt: Make sparclet-*-*, sparclite-*-*, and
|
|
|
|
|
sparc86x-*-* obsolete.
|
|
|
|
|
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-15 23:07:11 +00:00
|
|
|
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (SFILES): Add cp-namespace.c.
|
|
|
|
|
(COMMON_OBS): Add cp-namespace.o.
|
|
|
|
|
(block.o): Depend on gdb_obstack_h and cp_support_h.
|
|
|
|
|
(buildsym.o): Depend on cp_support_h.
|
|
|
|
|
(cp-namespace.o): New.
|
|
|
|
|
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
|
|
|
|
|
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
|
|
|
|
|
(dwarf2read.o): Depend on cp_support_h.
|
|
|
|
|
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
|
|
|
|
|
* dwarf2read.c (process_die): Set processing_has_namespace_info,
|
|
|
|
|
processing_current_namespace.
|
|
|
|
|
(read_namespace): Update processing_current_namespace; check for
|
|
|
|
|
anonymous namespaces.
|
|
|
|
|
(dwarf2_name): New function.
|
|
|
|
|
(dwarf2_extension): Ditto.
|
|
|
|
|
* cp-support.h: Update copyright, contributors.
|
|
|
|
|
Add inclusion guards.
|
|
|
|
|
Add opaque declaration for structs obstack, block, symbol.
|
|
|
|
|
(struct using_direct): New struct.
|
|
|
|
|
Add declarations for cp_find_first_component,
|
|
|
|
|
cp_entire_prefix_len, processing_has_namespace_info,
|
|
|
|
|
processing_current_namespace, cp_is_anonymous,
|
|
|
|
|
cp_add_using_directive, cp_initialize_namespace,
|
|
|
|
|
cp_finalize_namespace, cp_set_block_scope,
|
|
|
|
|
cp_scan_for_anonymous_namespaces.
|
|
|
|
|
* cp-namespace.c: New file.
|
|
|
|
|
* cp-support.c: Update copyright.
|
|
|
|
|
Include ctype.h, gdb_assert.h, gdbcmd.h.
|
|
|
|
|
New variable maint_cplus_cmd_list.
|
|
|
|
|
(cp_find_first_component): New function.
|
|
|
|
|
(cp_entire_prefix_len, maint_cplus_command)
|
|
|
|
|
(first_component_command, _initialize_cp_support): Ditto.
|
|
|
|
|
* buildsym.c: Include cp-support.h.
|
|
|
|
|
New variable using_list.
|
|
|
|
|
(add_symbol_to_list): Check for anonymous namespaces.
|
|
|
|
|
(finish_block): Set block's scope.
|
|
|
|
|
(start_symtab): Initialize C++ namespace support.
|
|
|
|
|
(end_symtab): Finalize C++ namespace support.
|
|
|
|
|
* block.h: Add opaque declarations for structs
|
|
|
|
|
block_namespace_info, using_direct, and obstack.
|
|
|
|
|
Add declarations for block_set_scope and block_set_using.
|
|
|
|
|
(struct block): Add 'language_specific' member.
|
|
|
|
|
(BLOCK_NAMESPACE): New macro.
|
|
|
|
|
* block.c: Include gdb_obstack.h and cp-support.h.
|
|
|
|
|
(struct block_namespace_info): New struct.
|
|
|
|
|
(block_set_scope): New function.
|
|
|
|
|
(block_set_using, block_initialize_namespace): Ditto.
|
|
|
|
|
|
2003-04-15 00:28:23 +00:00
|
|
|
|
2003-04-14 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* solib-svr4.c (svr4_have_link_map_offsets): New function.
|
|
|
|
|
(locate_base): Return early if there aren't any link map offsets.
|
|
|
|
|
(svr4_solib_create_inferior_hook): Warn if shared library support
|
|
|
|
|
is unavailable.
|
|
|
|
|
|
2003-04-14 19:56:32 +00:00
|
|
|
|
2003-04-14 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.c (symbol_set_names): Add prefix when storing Java names
|
|
|
|
|
in hash table. Fix for PR java/1039.
|
|
|
|
|
|
2003-04-14 19:55:27 +00:00
|
|
|
|
2003-04-14 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.c (symbol_set_names): Rename 'name' arg to
|
|
|
|
|
'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
|
|
|
|
|
* symtab.h: Change 'name' argument in declaration of
|
|
|
|
|
symbol_set_names to 'linkage_name'.
|
|
|
|
|
(SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
|
|
|
|
|
|
2003-04-14 19:16:13 +00:00
|
|
|
|
2003-04-14 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
|
|
|
|
|
return the fully sign-extended register value.
|
|
|
|
|
(get_frame_pointer): Ditto.
|
|
|
|
|
(mips_pop_frame): Initialize "proc_desc" after checking for a
|
|
|
|
|
dummy frame.
|
|
|
|
|
|
2003-04-14 19:06:48 +00:00
|
|
|
|
2003-04-14 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_push_dummy_frame): Delete function.
|
|
|
|
|
(MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
|
|
|
|
|
(FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
|
|
|
|
|
(mips_push_register): Delete function.
|
|
|
|
|
(mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
|
|
|
|
|
PUSH_FP_REGNUM.
|
|
|
|
|
|
2003-04-14 18:42:28 +00:00
|
|
|
|
2003-04-14 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symmisc.c: #include "gdb_regex.h".
|
|
|
|
|
(maintenance_list_symtabs, maintenance_list_psymtabs): New
|
|
|
|
|
functions.
|
|
|
|
|
* maint.c (maintenance_list_command): New function.
|
|
|
|
|
(_initialize_maint_cmds): Register the above as commands.
|
|
|
|
|
* symtab.h (maintenance_list_symtabs,
|
|
|
|
|
maintenance_list_psymtabs): New declarations.
|
|
|
|
|
* cli/cli-cmds.c (maintenancelistlist): New variable.
|
|
|
|
|
(init_cmd_lists): Initialize it.
|
|
|
|
|
* cli/cli-cmds.h (maintenancelistlist): New declaration.
|
|
|
|
|
* gdbcmd.h (maintenancelistlist): New declaration.
|
|
|
|
|
* Makefile.in (symmisc.o): Update dependencies.
|
|
|
|
|
|
2003-04-14 14:21:07 +00:00
|
|
|
|
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* s390-nat.c: Include asm/types.h for addr_t.
|
|
|
|
|
|
2003-04-14 08:47:42 +00:00
|
|
|
|
2003-04-14 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
|
|
|
|
|
actually incoming type.
|
|
|
|
|
|
2003-04-14 02:29:40 +00:00
|
|
|
|
2003-04-13 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
|
|
|
|
|
get_next_frame and get_frame_saved_regs.
|
|
|
|
|
|
2003-04-13 22:34:27 +00:00
|
|
|
|
2003-04-13 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
|
|
|
|
|
of gdbarch_num_regs.
|
|
|
|
|
|
2003-04-13 15:54:58 +00:00
|
|
|
|
2003-04-13 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h: Mention what replaced what in "struct frame_info".
|
|
|
|
|
* hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
|
|
|
|
|
deprecated_update_frame_base_hack and
|
|
|
|
|
deprecated_update_frame_pc_hack.
|
|
|
|
|
* hppa-tdep.c: Ditto.
|
|
|
|
|
|
2003-04-13 15:53:44 +00:00
|
|
|
|
2003-04-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
|
|
|
|
|
to read_reg and update its comment. Remove regnum member.
|
|
|
|
|
* dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
|
|
|
|
|
Don't call read_reg when setting in_reg. Call read_reg to get
|
|
|
|
|
the frame base if it's in a register. Return the register number
|
|
|
|
|
on the stack instead of in the context. Remove extra arguments
|
|
|
|
|
to read_reg.
|
|
|
|
|
* dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
|
|
|
|
|
(dwarf2_evaluate_loc_desc): Call value_from_register. Expect
|
|
|
|
|
the register number on the expression stack.
|
|
|
|
|
(needs_frame_read_reg): Remove extra arguments.
|
|
|
|
|
|
2003-04-13 15:43:35 +00:00
|
|
|
|
2003-04-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
|
|
|
|
|
made non-static.
|
|
|
|
|
(execute_stack_op): All callers updated.
|
|
|
|
|
* dwarf2expr.h: Add prototype for dwarf2_read_address.
|
|
|
|
|
* dwarf2loc.c (find_location_expression): New function.
|
|
|
|
|
(dwarf_expr_frame_base): Call it.
|
|
|
|
|
(dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
|
|
|
|
|
(dwarf2_tracepoint_var_ref): New function, broken out from
|
|
|
|
|
locexpr_tracepoint_var_ref.
|
|
|
|
|
(locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
|
|
|
|
|
Make static.
|
|
|
|
|
(loclist_read_variable, loclist_read_needs_frame): New functions.
|
|
|
|
|
(loclist_describe_location, loclist_tracepoint_var_ref): New
|
|
|
|
|
functions.
|
|
|
|
|
(dwarf2_loclist_funcs): New struct location_funcs.
|
|
|
|
|
* dwarf2loc.h (struct dwarf2_loclist_baton): New type.
|
|
|
|
|
(struct dwarf2_locexpr_baton): Add comments.
|
|
|
|
|
(dwarf2_loclist_funcs): New extern.
|
|
|
|
|
* dwarf2read.c (struct comp_unit_head): Remove DIE member, add
|
|
|
|
|
base_address and base_known.
|
|
|
|
|
(dwarf_loc_buffer): New variable.
|
|
|
|
|
(struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
|
|
|
|
|
(DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
|
|
|
|
|
(dwarf2_has_info): Initialize dwarf_loc_offset.
|
|
|
|
|
(dwarf2_build_psymtabs): Read in .debug_loc.
|
|
|
|
|
(dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
|
|
|
|
|
DWARF_LOC_SIZE.
|
|
|
|
|
(psymtab_to_symtab_1): Likewise. Move base address calculation
|
|
|
|
|
here, from...
|
|
|
|
|
(dwarf2_get_pc_bounds): ... here. Use the base address from
|
|
|
|
|
cu_header.
|
|
|
|
|
(dwarf2_symbol_mark_computed): Handle location lists.
|
|
|
|
|
|
2003-04-13 15:25:23 +00:00
|
|
|
|
2003-04-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
|
|
|
|
|
if the linkage name demangled successfully.
|
|
|
|
|
|
2003-04-13 13:33:49 +00:00
|
|
|
|
2003-04-13 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-04-13 14:51:20 +00:00
|
|
|
|
* x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
|
|
|
|
|
disassmbly_flavour): Removed.
|
|
|
|
|
|
2003-04-13 13:33:49 +00:00
|
|
|
|
* x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
|
|
|
|
|
|
2003-04-13 12:32:02 +00:00
|
|
|
|
2003-04-13 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
|
|
|
|
|
|
2003-04-13 00:10:22 +00:00
|
|
|
|
2003-04-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (struct frame_info): Move definition from here ...
|
|
|
|
|
* frame.c (struct frame_info): ... to here.
|
|
|
|
|
|
2003-04-12 17:48:55 +00:00
|
|
|
|
2003-04-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbthread.h (save_infrun_state): Delete parameter
|
|
|
|
|
"prev_func_start".
|
|
|
|
|
(struct thread_info): Delete field "prev_func_start".
|
|
|
|
|
(load_infrun_state): Ditto.
|
|
|
|
|
* thread.c (load_infrun_state, save_infrun_state): Update.
|
|
|
|
|
* infrun.c (prev_func_start): Delete variable.
|
|
|
|
|
(context_switch, init_wait_for_inferior): Update.
|
|
|
|
|
(stop_stepping, keep_going): Update.
|
|
|
|
|
|
2003-04-12 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Add missing opaque declarations.
* gdbarch.h: Regnerate.
* symtab.h: Add missing opaque declarations.
* value.h, target.h, symfile.h, stabsread.h: Ditto.
* x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
* srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
* ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
* ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
* buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
* i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
* dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
* cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
* ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
* config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
* config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
* cli/cli-setshow.h, cli/cli-script.h: Ditto.
2003-04-12 17:41:26 +00:00
|
|
|
|
2003-04-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh: Add missing opaque declarations.
|
|
|
|
|
* gdbarch.h: Regnerate.
|
|
|
|
|
* symtab.h: Add missing opaque declarations.
|
|
|
|
|
* value.h, target.h, symfile.h, stabsread.h: Ditto.
|
|
|
|
|
* x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
|
|
|
|
|
* srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
|
|
|
|
|
* ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
|
|
|
|
|
* ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
|
|
|
|
|
* buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
|
|
|
|
|
* i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
|
|
|
|
|
* dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
|
|
|
|
|
* cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
|
|
|
|
|
* ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
|
|
|
|
|
* config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
|
|
|
|
|
* config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
|
|
|
|
|
* cli/cli-setshow.h, cli/cli-script.h: Ditto.
|
|
|
|
|
|
2003-04-12 04:27:29 +00:00
|
|
|
|
2003-04-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_frame_id): Return this frame's "id".
|
|
|
|
|
(legacy_get_prev_frame): Set prev's frame ID code_addr to the
|
|
|
|
|
function start.
|
|
|
|
|
(legacy_saved_regs_this_id): Replace function body with
|
|
|
|
|
internal-error.
|
|
|
|
|
(deprecated_frame_xmalloc): Mark the frame ID as valid, use
|
|
|
|
|
FRAME_OBSTACK_ZALLOC.
|
|
|
|
|
(create_new_frame): Mark the frame ID as valid.
|
|
|
|
|
|
2003-04-12 00:31:30 +00:00
|
|
|
|
2003-04-11 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (libbfd_h): Added missing setting.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Set disassembler_options
|
|
|
|
|
according to the selected ABI.
|
|
|
|
|
|
2003-04-11 20:56:40 +00:00
|
|
|
|
2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdb_indent.sh: Recognize pid_t and sigset_t as types.
|
|
|
|
|
|
2003-04-11 18:15:40 +00:00
|
|
|
|
2003-04-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
|
|
|
|
|
SAVED_PC_AFTER_CALL.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
(ia64_saved_pc_after_call): Update declaration.
|
|
|
|
|
* i386ly-tdep.c (i386lynx_init_abi): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
* ns32knbsd-nat.c (frame_num_args): Update.
|
|
|
|
|
* ns32k-tdep.c (umax_frame_num_args): Update.
|
|
|
|
|
* mips-tdep.c (mips_init_frame_pc_first): Update.
|
|
|
|
|
* infrun.c (step_over_function): Update.
|
|
|
|
|
* i386-linux-tdep.c (skip_hurd_resolver): Update.
|
|
|
|
|
* i386-interix-tdep.c (i386_interix_back_one_frame): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
|
|
|
|
|
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
|
|
|
|
|
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
|
|
|
|
|
* arm-linux-tdep.c (skip_hurd_resolver): Update.
|
|
|
|
|
* arch-utils.c (init_frame_pc_default): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
|
|
|
|
|
* x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
|
|
|
|
|
declaration.
|
|
|
|
|
|
2003-04-11 14:56:40 +00:00
|
|
|
|
2003-04-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* i387-tdep.c: Update copyright.
|
|
|
|
|
(i387_to_double): Delete function.
|
|
|
|
|
(double_to_i387): Delete function.
|
|
|
|
|
|
2003-04-11 03:12:58 +00:00
|
|
|
|
2003-04-10 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
|
|
|
|
|
frame's function's address. Simplify.
|
|
|
|
|
(d10v_frame_unwind_cache): Check that the frame's function is
|
|
|
|
|
non-zero.
|
|
|
|
|
|
2003-04-10 22:40:38 +00:00
|
|
|
|
2003-04-10 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
|
|
|
|
|
call to set_gdbarch_deprecated_push_arguments.
|
|
|
|
|
|
2003-04-10 15:32:27 +00:00
|
|
|
|
2003-04-10 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (fprint_frame_id): New function.
|
|
|
|
|
(fprint_frame_type, fprint_frame): New function.
|
|
|
|
|
(frame_pc_unwind, frame_func_unwind): Add/update trace code.
|
|
|
|
|
(create_sentinel_frame, get_frame_id): Ditto.
|
|
|
|
|
(frame_id_p, frame_id_eq): Ditto.
|
|
|
|
|
(frame_id_inner, create_new_frame): Ditto.
|
|
|
|
|
(legacy_get_prev_frame, get_prev_frame): Ditto.
|
|
|
|
|
(deprecated_update_frame_pc_hack): Ditto.
|
|
|
|
|
(frame_register_unwind): Ditto.
|
|
|
|
|
(deprecated_update_frame_base_hack): Ditto.
|
|
|
|
|
|
2003-04-10 13:15:50 +00:00
|
|
|
|
2003-04-10 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
|
|
|
|
|
(i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
|
|
|
|
|
frame_chain function.
|
|
|
|
|
* Makefile.in: Add dependencies due to above change.
|
|
|
|
|
|
2003-04-10 11:12:30 +00:00
|
|
|
|
2003-04-10 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* blockframe.c (legacy_frame_chain_valid): Move call to
|
|
|
|
|
DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
|
|
|
|
|
inside_entry_file.
|
|
|
|
|
|
2003-04-10 03:30:36 +00:00
|
|
|
|
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (struct frame_id): Replace "pc" and "base" with
|
|
|
|
|
"stack_addr" and "code_addr". Update comments.
|
|
|
|
|
(frame_id_build): Update parameter names and comment.
|
|
|
|
|
(struct frame_info): Replace "id_p" and "id" with "this_id".
|
|
|
|
|
* dummy-frame.c (dummy_frame_this_id): Update.
|
|
|
|
|
* breakpoint.c (print_one_breakpoint): Update.
|
|
|
|
|
* frame.c (get_frame_id): Update.
|
|
|
|
|
(get_frame_base, frame_id_build): Update.
|
|
|
|
|
(create_sentinel_frame, legacy_get_prev_frame): Update.
|
|
|
|
|
(deprecated_update_frame_base_hack): Update.
|
|
|
|
|
(frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
|
|
|
|
|
(frame_id_inner): Ditto.
|
|
|
|
|
|
2003-04-10 02:18:40 +00:00
|
|
|
|
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* defs.h (gdb_print_host_address): Make "addr" parameter a
|
|
|
|
|
pointer constant.
|
|
|
|
|
* utils.c (gdb_print_host_address): Update.
|
|
|
|
|
|
2003-04-09 22:44:24 +00:00
|
|
|
|
2003-04-09 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
|
|
|
|
|
register number for R0 is 0.
|
|
|
|
|
|
2003-04-09 21:53:28 +00:00
|
|
|
|
2003-04-09 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (struct gdbarch): Add opaque structure definition
|
|
|
|
|
to avoid a compilation warning on LynxOS 4.0.
|
|
|
|
|
|
2003-04-09 20:49:22 +00:00
|
|
|
|
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (struct frame_info): Delete field "pc". Replace
|
|
|
|
|
"pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
|
|
|
|
|
structure.
|
|
|
|
|
* frame.c (frame_pc_unwind): Update.
|
|
|
|
|
(create_sentinel_frame): Do not set "pc".
|
|
|
|
|
(get_prev_frame): Do not set "pc". Use frame_pc_unwind.
|
|
|
|
|
(get_frame_pc): Call frame_pc_unwind.
|
|
|
|
|
(deprecated_update_frame_pc_hack): Update.
|
|
|
|
|
(create_new_frame): Use "pc" not "->pc".
|
|
|
|
|
|
2003-04-09 18:24:01 +00:00
|
|
|
|
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_frame_id): Eliminate code updating "frame".
|
|
|
|
|
(legacy_get_prev_frame): Ditto.
|
|
|
|
|
(get_frame_base): Return id.base directly.
|
|
|
|
|
(deprecated_update_frame_base_hack): Update "id.base".
|
|
|
|
|
* frame.h (struct frame_info): Delete field "frame".
|
|
|
|
|
|
2003-04-09 16:19:52 +00:00
|
|
|
|
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention that the "Sequent family" is obsolete.
|
|
|
|
|
* configure.tgt: Obsolete i[3456]86-sequent-bsd*,
|
|
|
|
|
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
|
|
|
|
|
* configure.host: Obsolete i[3456]86-sequent-bsd*,
|
|
|
|
|
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
|
|
|
|
|
* config/i386/tm-ptx4.h: Obsolete file.
|
|
|
|
|
* config/i386/tm-ptx.h: Obsolete file.
|
|
|
|
|
* symm-tdep.c: Obsolete file.
|
|
|
|
|
* config/i386/symmetry.mt: Obsolete file.
|
|
|
|
|
* config/i386/tm-symmetry.h: Obsolete file.
|
|
|
|
|
* symm-nat.c: Obsolete file.
|
|
|
|
|
* config/i386/nm-symmetry.h: Obsolete file.
|
|
|
|
|
* config/i386/xm-symmetry.h: Obsolete file.
|
|
|
|
|
* config/i386/symmetry.mh: Obsolete file.
|
|
|
|
|
* config/i386/nm-ptx4.h: Obsolete file.
|
|
|
|
|
* config/i386/ptx4.mh: Obsolete file.
|
|
|
|
|
* config/i386/ptx.mt: Obsolete file.
|
|
|
|
|
* config/i386/ptx.mh: Obsolete file.
|
|
|
|
|
* config/i386/xm-ptx4.h: Obsolete file.
|
|
|
|
|
* config/i386/xm-ptx.h: Obsolete file.
|
|
|
|
|
|
2003-04-09 16:10:06 +00:00
|
|
|
|
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
Obsolete mips*-*-mach3*.
|
|
|
|
|
* NEWS: Mention that mips*-*-mach3* is obsolete.
|
|
|
|
|
* m3-nat.c: Obsolete file.
|
|
|
|
|
* config/nm-m3.h: Obsolete file.
|
|
|
|
|
* config/mips/tm-mipsm3.h: Obsolete file.
|
|
|
|
|
* config/mips/mipsm3.mt: Obsolete file.
|
|
|
|
|
* config/mips/mipsm3.mh: Obsolete file.
|
|
|
|
|
* config/mips/xm-mipsm3.h: Obsolete file.
|
|
|
|
|
* mipsm3-nat.c: Obsolete file.
|
|
|
|
|
* configure.host: Obsolete mips-dec-mach3*.
|
|
|
|
|
* configure.tgt: Obsolete mips*-*-mach3*.
|
|
|
|
|
|
2003-04-09 15:08:27 +00:00
|
|
|
|
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doublest.h: Update copyright.
|
|
|
|
|
(deprecated_store_floating, deprecated_extract_floating): Rename
|
|
|
|
|
store_floating and extract_floating. Update comments.
|
|
|
|
|
* doublest.c: Update copyright.
|
|
|
|
|
(extract_floating_by_length): Replace extract_floating.
|
|
|
|
|
(store_floating_by_length): Replace store_floating.
|
|
|
|
|
(deprecated_extract_floating): New function.
|
|
|
|
|
(deprecated_store_floating): New function.
|
|
|
|
|
(extract_typed_floating): Call extract_floating_by_length.
|
|
|
|
|
(store_typed_floating): Call store_floating_by_length.
|
|
|
|
|
* x86-64-tdep.c (x86_64_store_return_value): Update.
|
|
|
|
|
* sh-tdep.c (sh3e_sh4_extract_return_value): Update.
|
|
|
|
|
(sh64_extract_return_value): Update.
|
|
|
|
|
(sh_sh4_register_convert_to_virtual): Update.
|
|
|
|
|
(sh_sh64_register_convert_to_virtual): Update.
|
|
|
|
|
(sh_sh4_register_convert_to_raw): Update.
|
|
|
|
|
(sh_sh64_register_convert_to_raw): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
|
|
|
|
|
(rs6000_register_convert_to_raw): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_register_convert_to_virtual): Update.
|
|
|
|
|
(ia64_register_convert_to_raw): Update.
|
|
|
|
|
* config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
|
|
|
|
|
(REGISTER_CONVERT_TO_VIRTUAL): Update.
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_push_arguments): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_register_convert_to_virtual): Update.
|
|
|
|
|
(alpha_register_convert_to_raw): Update.
|
|
|
|
|
|
2003-04-08 21:56:10 +00:00
|
|
|
|
2003-04-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
|
|
|
|
|
(d10v_gdbarch_init): Do not set saved_pc_after_call.
|
|
|
|
|
* infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
|
|
|
|
|
conditionally, use frame_pc_unwind as an alternative. Add
|
|
|
|
|
comments.
|
|
|
|
|
* arch-utils.c (init_frame_pc_default): Only call
|
|
|
|
|
SAVED_PC_AFTER_CALL when available.
|
|
|
|
|
|
2003-04-08 19:21:15 +00:00
|
|
|
|
2003-04-08 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* infrun.c (stop_soon): Rename from stop_soon_quietly.
|
2003-04-08 19:21:15 +00:00
|
|
|
|
(struct inferior_status): Rename stop_soon_quietly field to stop_soon.
|
|
|
|
|
(clear_proceed_status): Rename stop_soon_quietly to stop_soon.
|
|
|
|
|
(start_remote): Ditto.
|
|
|
|
|
(handle_inferior_event): Ditto.
|
|
|
|
|
(save_inferior_status): Ditto.
|
|
|
|
|
(restore_inferior_status): Ditto.
|
|
|
|
|
* infcmd.c (attach_command): Ditto.
|
|
|
|
|
* fork-child.c (startup_inferior): Ditto.
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* inferior.h (stop_soon): Rename from stop_soon_quietly.
|
2003-04-08 19:21:15 +00:00
|
|
|
|
* alpha-tdep.c (heuristic_proc_start): Ditto.
|
|
|
|
|
* mips-tdep.c (heuristic_proc_start): Ditto.
|
|
|
|
|
* solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
|
|
|
|
|
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
|
|
|
|
|
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
|
|
|
|
|
* solib-irix.c (irix_solib_create_inferior_hook): Ditto.
|
|
|
|
|
* remote-vx.c (vx_create_inferior): Ditto.
|
|
|
|
|
|
|
|
|
|
2003-04-08 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infrun.c (stop_soon_quietly): Make it an enum, to better
|
|
|
|
|
override the default behavior of handle_inferior_event.
|
|
|
|
|
(clear_proceed_status): Update uses of stop_soon_quietly to
|
|
|
|
|
reflect that it is now an enum.
|
|
|
|
|
(start_remote): Ditto.
|
|
|
|
|
(handle_inferior_event): Change logic a bit if stop_soon_quietly
|
|
|
|
|
is set to handle the new GNU/Linux kernel behavior for
|
|
|
|
|
attach/sigstop. Update uses of stop_soon_quietly.
|
|
|
|
|
* inferior.h (enum stop_kind): New enum.
|
|
|
|
|
* infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
|
|
|
|
|
Reset normal handle_inferior_event behavior, afterwards.
|
|
|
|
|
* fork-child.c (startup_inferior): Update.
|
|
|
|
|
* alpha-tdep.c (heuristic_proc_start): Update.
|
|
|
|
|
* solib-svr4.c (svr4_solib_create_inferior_hook): Update.
|
|
|
|
|
* solib-sunos.c (sunos_solib_create_inferior_hook): Update.
|
|
|
|
|
* solib-osf.c (osf_solib_create_inferior_hook): Update.
|
|
|
|
|
* solib-irix.c (irix_solib_create_inferior_hook): Update.
|
|
|
|
|
* remote-vx.c (vx_create_inferior): Update.
|
|
|
|
|
* mips-tdep.c (heuristic_proc_start): Update.
|
|
|
|
|
|
2003-04-08 01:40:31 +00:00
|
|
|
|
2003-04-07 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* disasm.c (dump_insns): Move variables inside loop, or they will
|
2003-05-31 00:27:46 +00:00
|
|
|
|
be freed more than once, causing wild memory corruptions.
|
2003-04-08 01:40:31 +00:00
|
|
|
|
(gdb_disassembly): Look for the substring "-thread",
|
2003-05-31 00:27:46 +00:00
|
|
|
|
instead of "-threads" in the target name, to make sure to find
|
|
|
|
|
the 'multi-thread' target. Also, make sure we do the right thing
|
|
|
|
|
with the "core" target.
|
2003-04-08 01:40:31 +00:00
|
|
|
|
|
2003-04-07 18:38:04 +00:00
|
|
|
|
2003-04-07 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_print_fp_register): New function, created from
|
|
|
|
|
do_fp_register_row(). Registers are now (also) printed as hex.
|
|
|
|
|
Only one register is printed per row.
|
|
|
|
|
(mips_print_register, do_fp_register_row): Print floating point
|
|
|
|
|
registers with mips_print_fp_register().
|
|
|
|
|
|
2003-04-06 19:08:17 +00:00
|
|
|
|
2003-04-06 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-04-06 19:25:04 +00:00
|
|
|
|
* valprint.h (inspect_it): Add extern declaration.
|
|
|
|
|
* objc-lang.c (value_nsstring): Avoid assignment inside of "if".
|
|
|
|
|
(selectors_info, classes_info): Ditto.
|
|
|
|
|
(find_objc_msgcall): Fix indentation.
|
|
|
|
|
(objc_printstr): Delete extern declarations.
|
|
|
|
|
|
2003-04-06 19:08:17 +00:00
|
|
|
|
* arm-tdep.c (arm_frameless_function_invocation): Fix typo.
|
|
|
|
|
|
2003-04-06 18:36:23 +00:00
|
|
|
|
2003-04-06 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
|
|
|
|
|
Update comment.
|
|
|
|
|
* frame.c (legacy_saved_regs_this_id): Update.
|
|
|
|
|
(legacy_get_prev_frame): Update.
|
|
|
|
|
* xstormy16-tdep.c: Update comment.
|
|
|
|
|
* sparc-tdep.c (sparc_frame_chain): Update comment.
|
|
|
|
|
* blockframe.c (legacy_frame_chain_valid): Update.
|
|
|
|
|
|
2003-04-06 14:25:07 +00:00
|
|
|
|
2003-04-06 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-04-06 14:50:15 +00:00
|
|
|
|
* valprint.c (val_print_type_code_int): Delete #ifdef
|
|
|
|
|
PRINT_TYPELESS_INTEGER code.
|
|
|
|
|
|
2003-04-06 14:25:07 +00:00
|
|
|
|
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
|
|
|
|
|
(CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
|
|
|
|
|
multi-arch definition.
|
|
|
|
|
* gdbarch.h: Re-generate.
|
|
|
|
|
|
2003-04-06 01:13:59 +00:00
|
|
|
|
2003-04-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
Eliminate FRAME_FIND_SAVED_REGS.
|
|
|
|
|
* config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
|
|
|
|
|
Change FSR parameter to a pointer.
|
|
|
|
|
* config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
|
|
|
|
|
Assume FSR parameter is a pointer.
|
|
|
|
|
* hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
|
|
|
|
|
Make fsr a pointer.
|
|
|
|
|
* hppa-tdep.c (hppa_frame_find_saved_regs): New function.
|
|
|
|
|
(hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
|
|
|
|
|
saved_regs a pointer.
|
|
|
|
|
(hppa_frame_saved_pc): Ditto.
|
|
|
|
|
(find_dummy_frame_regs): Make frame_saved_regs a pointer
|
|
|
|
|
(hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
|
|
|
|
|
pointer.
|
|
|
|
|
(restore_pc_queue): Make fsr a pointer.
|
|
|
|
|
(hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
|
|
|
|
|
(hppa_frame_chain): Make saved_regs a pointer, call
|
|
|
|
|
hppa_frame_init_saved_regs.
|
|
|
|
|
* sparc-tdep.c: Include "gdb_assert.h".
|
|
|
|
|
(sparc_frame_find_saved_regs): Replace internal_error with
|
|
|
|
|
gdb_assert.
|
|
|
|
|
* remote-vxsparc.c (vx_read_register): Delete reference to
|
|
|
|
|
FRAME_FIND_SAVED_REGS.
|
|
|
|
|
* gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
|
|
|
|
|
* gdbarch.h: Regenerate.
|
|
|
|
|
* frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
|
|
|
|
|
(deprecated_get_frame_saved_regs): Delete declaration.
|
|
|
|
|
(struct frame_saved_regs): Delete definition.
|
|
|
|
|
* frame.c (deprecated_get_frame_saved_regs): Delete function.
|
|
|
|
|
* config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
|
|
|
|
|
(hppa_frame_find_saved_regs): Delete declaration.
|
|
|
|
|
(FRAME_FIND_SAVED_REGS): Delete macro.
|
|
|
|
|
(DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
|
|
|
|
|
* config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
|
|
|
|
|
FRAME_FIND_SAVED_REGS in comment.
|
|
|
|
|
|
2003-04-05 18:54:38 +00:00
|
|
|
|
2003-04-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (frame_func_unwind, get_frame_func): New functions.
|
|
|
|
|
* frame.h (get_frame_func, frame_func_unwind): Declare.
|
|
|
|
|
(struct frame_info): Add field "prev_func" for caching the
|
|
|
|
|
previous frame's function address.
|
|
|
|
|
* arm-tdep.c (arm_frameless_function_invocation): Combine
|
|
|
|
|
get_pc_function_start and get_frame_pc into get_frame_func.
|
|
|
|
|
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
|
|
|
|
|
(sh64_nofp_frame_init_saved_regs): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_function_start): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_pop_frame): Ditto.
|
|
|
|
|
(rs6000_frameless_function_invocation): Ditto.
|
|
|
|
|
(rs6000_frame_saved_pc): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_frameless_signal_p): Ditto.
|
|
|
|
|
(i386_frame_init_saved_regs): Ditto.
|
|
|
|
|
* hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_unwind_cache): Combine
|
|
|
|
|
get_pc_function_start and frame_pc_unwind into frame_func_unwind.
|
|
|
|
|
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.
|
|
|
|
|
* blockframe.c (frameless_look_for_prologue): Ditto.
|
|
|
|
|
|
2003-04-05 15:49:54 +00:00
|
|
|
|
2003-04-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (legacy_get_prev_frame): Link prev to next at the
|
|
|
|
|
function start. Update comments.
|
|
|
|
|
|
2003-04-05 15:39:34 +00:00
|
|
|
|
2003-04-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_frame_id): Update comment.
|
|
|
|
|
(legacy_get_prev_frame): Update comment.
|
|
|
|
|
* gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
|
|
|
|
|
* gdbarch.h: Regenerate.
|
|
|
|
|
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
|
|
|
|
|
* frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
|
|
|
|
|
|
2003-04-05 15:19:12 +00:00
|
|
|
|
2003-04-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* stack.c (print_frame_info): Use get_frame_pc.
|
|
|
|
|
|
2003-04-05 03:56:00 +00:00
|
|
|
|
2003-04-04 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
|
|
|
|
|
the frame's type from the unwinder.
|
|
|
|
|
(get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
|
|
|
|
|
(create_new_frame, legacy_get_prev_frame): When the unwinder's
|
|
|
|
|
type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
|
|
|
|
|
(get_frame_base_address): Use get_frame_type.
|
|
|
|
|
(get_frame_locals_address, get_frame_args_address): Ditto.
|
|
|
|
|
(legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
|
|
|
|
|
* frame.h (enum frame_type): Add UNKNOWN_FRAME.
|
|
|
|
|
(struct frame_info): Add comment explaining why the frame contains
|
|
|
|
|
a "type" field.
|
|
|
|
|
* dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
|
|
|
|
|
* sentinel-frame.c (sentinel_frame_unwinder): Set the type to
|
|
|
|
|
NORMAL_FRAME.
|
|
|
|
|
* frame-unwind.h: Include "frame.h".
|
|
|
|
|
(struct frame_unwind): Add "type" field.
|
|
|
|
|
* Makefile.in (frame_unwind_h): Add $(frame_h).
|
|
|
|
|
|
2003-04-04 21:04:33 +00:00
|
|
|
|
2003-04-04 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
|
|
|
|
|
* dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
|
|
|
|
|
get_frame_base.
|
|
|
|
|
(d10v_unwind_dummy_id): Use frame_id_build.
|
|
|
|
|
* frame.c (find_frame_sal): Use get_frame_pc.
|
|
|
|
|
(create_new_frame): Use deprecated_update_frame_pc_hack and
|
|
|
|
|
deprecated_update_frame_base_hack.
|
|
|
|
|
(create_sentinel_frame): Add comment about ->pc going away.
|
|
|
|
|
(get_prev_frame): Add comment about ->pc going away.
|
|
|
|
|
(legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
|
|
|
|
|
frame_id_build, deprecated_update_frame_pc_hack and
|
|
|
|
|
deprecated_update_frame_base_hack.
|
|
|
|
|
(select_frame): Use get_frame_pc.
|
|
|
|
|
(legacy_saved_regs_this_id): Use frame_id_build.
|
|
|
|
|
|
2003-04-04 19:30:49 +00:00
|
|
|
|
2003-04-04 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
|
|
|
|
|
signed integer case.
|
|
|
|
|
(classify_argument): Handle enumerations and references.
|
2003-04-04 19:30:49 +00:00
|
|
|
|
|
2003-04-04 14:46:00 +00:00
|
|
|
|
2003-04-04 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (create_sentinel_frame): Initialize the sentinel frame's
|
|
|
|
|
ID to NULL.
|
|
|
|
|
|
2003-04-04 04:29:15 +00:00
|
|
|
|
2003-04-01 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* gdb/objc-lang.c (selectors_info): Replace calls to
|
|
|
|
|
SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
|
|
|
|
|
SYMBOL_NATURAL_NAME.
|
|
|
|
|
(classes_info, find_methods): Likewise.
|
|
|
|
|
|
2003-04-03 17:56:25 +00:00
|
|
|
|
2003-04-03 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
|
|
|
|
|
``mach'' to the value determined by bfd_default_set_arch_mach().
|
|
|
|
|
|
2003-04-03 00:09:57 +00:00
|
|
|
|
2003-04-02 Bob Rossi <bob_rossi@cox.net>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
|
|
|
|
|
(SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
|
|
|
|
|
(mi-cmd-file.o): Update dependencies.
|
|
|
|
|
|
2003-04-02 05:12:25 +00:00
|
|
|
|
2003-04-01 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
|
|
|
|
|
(mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
|
|
|
|
|
|
2003-04-02 03:02:46 +00:00
|
|
|
|
2003-04-01 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
|
|
|
|
|
* language.h (struct language_defn): Add la_demangle.
|
|
|
|
|
(language_demangle): Declare.
|
|
|
|
|
* language.c (language_demangle): New function.
|
|
|
|
|
(unk_lang_demangle): Likewise.
|
|
|
|
|
(unknown_language_defn, auto_language_defn, local_language_defn):
|
2003-05-31 00:27:46 +00:00
|
|
|
|
Add ukn_lang_demangle.
|
2003-04-02 03:02:46 +00:00
|
|
|
|
* ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
|
2003-04-02 03:02:46 +00:00
|
|
|
|
* c-lang.c (c_language_defn, asm_language_defn): Likewise.
|
|
|
|
|
(cplus_language_defn): Add cplus_demangle for la_demangle element.
|
|
|
|
|
* jv-lang.c (java_demangle): New function
|
|
|
|
|
(java_language_defn): Use it for la_demangle element.
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* objc-lang.c (objc_demangle): Add options argument
|
|
|
|
|
(objc_language_defn): Use objc_demangle for la_demangle element.
|
2003-04-02 03:02:46 +00:00
|
|
|
|
* maint.c (maintenance_demangle): Replace switch with
|
|
|
|
|
call to language_demangle.
|
|
|
|
|
* utils.c (fprintf_symbol_filtered): Likewise.
|
|
|
|
|
|
2003-04-01 23:51:17 +00:00
|
|
|
|
2003-04-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* printcmd.c (print_frame_nameless_args): Delete #ifdef
|
|
|
|
|
NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
|
|
|
|
|
PRINT_TYPELESS_INTEGER.
|
|
|
|
|
* config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
|
|
|
|
|
PUSH_RETURN_ADDRESS.
|
|
|
|
|
|
2003-04-01 19:55:03 +00:00
|
|
|
|
2003-04-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (d10v-tdep.o): Update dependencies.
|
|
|
|
|
* d10v-tdep.c: Include "frame-base.h".
|
|
|
|
|
(d10v_frame_unwind): Make constant.
|
|
|
|
|
(d10v_frame_base_address): New function.
|
|
|
|
|
(d10v_frame_base): New variable.
|
|
|
|
|
(d10v_gdbarch_init): Set frame_base default.
|
|
|
|
|
(struct d10v_unwind_cache): Add the field "prev_sp". Update
|
|
|
|
|
comment for base.
|
|
|
|
|
(d10v_frame_unwind_cache): Set and use "prev_sp".
|
|
|
|
|
(d10v_frame_this_id): Use the previous frame's inner most stack
|
|
|
|
|
address and this frame's func address for the frame ID. Use
|
|
|
|
|
frame_id_build. Don't analyze beyond the current instruction.
|
|
|
|
|
|
2003-04-01 19:26:52 +00:00
|
|
|
|
2003-04-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (get_frame_locals_address, get_frame_args_address):
|
|
|
|
|
Refer to the base address, instead of the address of the first
|
|
|
|
|
local or parameter.
|
|
|
|
|
|
2003-04-01 19:11:01 +00:00
|
|
|
|
2003-04-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
Add frame debug info addresses:
|
|
|
|
|
* frame-base.c: New file.
|
|
|
|
|
* frame-base.h: New file.
|
|
|
|
|
* frame.h (struct frame_base): Add opaque declaration.
|
|
|
|
|
(get_frame_base): Update comment.
|
|
|
|
|
(get_frame_base_address): Declare.
|
|
|
|
|
(get_frame_locals_address): Declare.
|
|
|
|
|
(get_frame_args_address): Declare.
|
|
|
|
|
(struct frame_info): Add "base" and "base_cache". Update
|
|
|
|
|
comments on the unwinder.
|
|
|
|
|
* frame.c: Include "frame-base.h".
|
|
|
|
|
(get_frame_locals_address): New function.
|
|
|
|
|
(get_frame_base_address): New function.
|
|
|
|
|
(get_frame_args_address): New function.
|
|
|
|
|
* findvar.c (read_var_value): Use get_frame_locals_address and
|
|
|
|
|
get_frame_args_address.
|
|
|
|
|
* stack.c (frame_info): Use get_frame_locals_address and
|
|
|
|
|
get_frame_args_address.
|
|
|
|
|
(FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
|
|
|
|
|
moved to "frame-base.c".
|
|
|
|
|
* printcmd.c (print_frame_nameless_args): Ditto.
|
|
|
|
|
* symtab.h (address_class): Update comments.
|
|
|
|
|
* dwarf2loc.c (dwarf_expr_frame_base): Add note about
|
|
|
|
|
get_frame_base_address.
|
|
|
|
|
* dwarf2expr.c (execute_stack_op): Ditto.
|
|
|
|
|
* Makefile.in (frame_base_h): Define.
|
|
|
|
|
(frame.o): Update dependencies.
|
|
|
|
|
(frame-base.o): Add dependencies.
|
|
|
|
|
(SFILES): Add frame-base.c.
|
|
|
|
|
(COMMON_OBS): Add frame-base.o.
|
|
|
|
|
|
2003-04-01 17:17:29 +00:00
|
|
|
|
2003-04-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
|
|
|
|
|
CALL_DUMMY_LENGTH): Ditto.
|
|
|
|
|
* gdbarch.c: Re-generate.
|
|
|
|
|
* inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
|
|
|
|
|
(CALL_DUMMY_LENGTH): Delete macro.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Ditto.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-04-01 15:26:08 +00:00
|
|
|
|
2003-04-01 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): Disable call to inside_entry_file().
|
|
|
|
|
|
2003-04-01 14:38:51 +00:00
|
|
|
|
2003-04-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
|
|
|
|
|
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
|
|
|
|
|
(CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
|
|
|
|
|
* config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
|
|
|
|
|
* inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
|
|
|
|
|
(CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
|
|
|
|
|
* infcmd.c (run_stack_dummy): Simplify assuming
|
|
|
|
|
CALL_DUMMY_BREAKPOINT_OFFSET_P.
|
|
|
|
|
* infrun.c (handle_inferior_event): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Do not set
|
|
|
|
|
call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Ditto.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-04-01 14:17:20 +00:00
|
|
|
|
2003-04-01 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* symfile.c (symfile_relocate_debug_section): Update call to
|
|
|
|
|
bfd_simple_get_relocated_section_contents.
|
|
|
|
|
|
2003-03-31 23:52:38 +00:00
|
|
|
|
2003-03-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* inferior.h (FIX_CALL_DUMMY): Delete macro.
|
|
|
|
|
* valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
|
|
|
|
|
available.
|
|
|
|
|
* frame.h (generic_fix_call_dummy): Delete declaration.
|
|
|
|
|
* dummy-frame.h: Update comment.
|
|
|
|
|
* dummy-frame.c (generic_fix_call_dummy): Delete function.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
|
|
|
|
|
fix_call_dummy.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-03-31 22:12:48 +00:00
|
|
|
|
2003-03-31 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
|
|
|
|
|
(INIT_FRAME_AP): Likewise.
|
|
|
|
|
(EXTRA_FRAME_INFO): Likewise.
|
|
|
|
|
|
2003-03-31 21:58:23 +00:00
|
|
|
|
2003-03-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh: Include "symfile.h".
|
|
|
|
|
(CALL_DUMMY_ADDRESS): Default to entry_point_address.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
|
|
|
|
|
call_dummy_address, the default is at entry_point_address.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-03-31 19:01:21 +00:00
|
|
|
|
2003-03-31 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (CALL_DUMMY_P): Delete.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* inferior.h (CALL_DUMMY_P): Delete macro.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* breakpoint.c (deprecated_frame_in_dummy): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* dummy-frame.c (dummy_frame_this_id): Update comments.
|
|
|
|
|
* rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
|
|
|
|
|
* frame.c (legacy_get_prev_frame): Ditto.
|
|
|
|
|
* valops.c (call_function_by_hand): Delete function.
|
|
|
|
|
(hand_function_call): Rename to call_function_by_hand
|
|
|
|
|
|
2003-03-31 04:35:24 +00:00
|
|
|
|
2003-03-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
2002-11-10 Klee Dienes <kdienes@apple.com>
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* value.h (struct value): Update comment.
|
2003-03-31 04:35:24 +00:00
|
|
|
|
|
2003-03-30 16:16:25 +00:00
|
|
|
|
2003-03-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-03-31 02:36:59 +00:00
|
|
|
|
* d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
|
|
|
|
|
D10V_FP_REGNUM.
|
|
|
|
|
(d10v_gdbarch_init): Do not set fp_regnum.
|
|
|
|
|
|
2003-03-30 16:16:25 +00:00
|
|
|
|
* frame.c (get_frame_base): Force ID initialization.
|
|
|
|
|
(get_prev_frame): Move computation of the frame ID from here ...
|
|
|
|
|
(get_frame_id): ... to here.
|
|
|
|
|
(legacy_get_prev_frame): Mark the frame ID as valid.
|
|
|
|
|
* frame.h (struct frame_info): Add field "id_p".
|
|
|
|
|
|
2003-03-30 15:03:46 +00:00
|
|
|
|
2003-03-30 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-tdep.c (i386_store_struct_return): Removed.
|
|
|
|
|
(i386_gdbarch_init): Don't set deprecated_store_struct_return.
|
|
|
|
|
|
2003-03-30 14:59:02 +00:00
|
|
|
|
2003-03-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
|
|
|
|
|
* config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* valops.c (hand_function_call): Replace TARGET_WRITE_SP with
|
|
|
|
|
DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
|
|
|
|
|
instead of when push_dummy_call is not available.
|
|
|
|
|
|
2003-03-30 14:52:42 +00:00
|
|
|
|
2003-03-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infttrace.c: Include "gdbthread.h".
|
|
|
|
|
(parent_attach_all): Fix function signature.
|
|
|
|
|
(call_ptrace): Update call.
|
|
|
|
|
* Makefile.in (infttrace.o): Update dependencies.
|
|
|
|
|
|
2003-03-30 14:32:09 +00:00
|
|
|
|
2003-03-30 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
|
|
|
|
|
PUSH_RETURN_ADDRESS.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* valops.c (hand_function_call): Update.
|
|
|
|
|
|
2003-03-30 00:09:40 +00:00
|
|
|
|
2003-03-29 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
|
|
|
|
|
sizeof_call_dummy_words.
|
|
|
|
|
* gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
|
|
|
|
|
define.
|
|
|
|
|
* gdbarch.h: Regenerate.
|
|
|
|
|
|
2003-03-29 23:29:47 +00:00
|
|
|
|
2003-03-29 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infttrace.h: New file.
|
|
|
|
|
* hpread.c: Include "gdb_assert.h" and "somsolib.h".
|
|
|
|
|
(hpread_get_textlow): Detect an uninitialized dn_bufp.
|
|
|
|
|
(hpread_read_doc_function_type): Detect an initialized type1.
|
|
|
|
|
(hpread_quick_traverse): Initialize mod_name_string.
|
|
|
|
|
* somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
|
|
|
|
|
(som_solib_get_solib_by_pc): Declare.
|
|
|
|
|
(so_lib_thread_start_addr): Declare.
|
|
|
|
|
(no_shared_libraries): Declare.
|
|
|
|
|
* somread.c (init_import_symbols): Make static. Add forward
|
|
|
|
|
declaration.
|
|
|
|
|
* config/pa/nm-hppah.h: Include "infttrace.h" for
|
|
|
|
|
parent_attach_all.
|
|
|
|
|
(hppa_insert_hw_watchpoint): Declare.
|
|
|
|
|
(hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
|
|
|
|
|
* hppah-nat.c: Include "gdb_string.h".
|
|
|
|
|
(parent_attach_all): Delete extern declaration, moved to
|
|
|
|
|
"infttrace.h".
|
|
|
|
|
(hppa_can_use_hw_watchpoint): Change type of "type" parameter to
|
|
|
|
|
int.
|
|
|
|
|
(hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
|
|
|
|
|
* Makefile.in (infttrace_h): Define.
|
|
|
|
|
(hpread.o): Update dependencies.
|
|
|
|
|
(hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
|
|
|
|
|
* hppa-hpux-tdep.c: Include "gdb_string.h".
|
|
|
|
|
* hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
|
|
|
|
|
* infrun.c (handle_inferior_event): Always initialize
|
|
|
|
|
stepped_after_stopped_by_watchpoint. Add default and remove
|
|
|
|
|
fallthrough in switch statement.
|
|
|
|
|
* infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
|
|
|
|
|
parameter to int.
|
|
|
|
|
(hppa_remove_hw_watchpoint): Ditto.
|
|
|
|
|
|
2003-03-29 22:13:14 +00:00
|
|
|
|
2003-03-29 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
|
|
|
|
|
offset.
|
|
|
|
|
|
2003-03-29 17:08:00 +00:00
|
|
|
|
2003-03-29 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (arm_push_arguments): Delete.
|
|
|
|
|
(struct stack_item): New type.
|
|
|
|
|
(push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
|
|
|
|
|
(arm_store_struct_return): Delte.
|
|
|
|
|
(arm_gdbarch_init): Register arm_push_dummy_call. Don't register
|
|
|
|
|
arm_push_arguments or arm_store_struct_return.
|
|
|
|
|
|
2003-03-29 01:40:01 +00:00
|
|
|
|
2003-03-28 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (d10v-tdep.o): Update dependencies.
|
|
|
|
|
* remote.h (target_resume_hook, target_wait_loop_hook): Declare.
|
|
|
|
|
* d10v-tdep.c: Include "remote.h".
|
|
|
|
|
(target_resume_hook): Delete extern declaration.
|
|
|
|
|
(target_wait_loop_hook): Ditto.
|
|
|
|
|
(tdisassemble_command): Eliminate assignment in "if" conditional.
|
|
|
|
|
(d10v_ts2_register_sim_regno): Eliminate call to
|
|
|
|
|
legacy_register_sim_regno.
|
|
|
|
|
(d10v_ts3_register_sim_regno): Ditto.
|
|
|
|
|
|
2003-03-28 21:42:41 +00:00
|
|
|
|
2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* thread.c: Reindented.
|
|
|
|
|
* lin-lwp.c: Ditto.
|
|
|
|
|
* linux-proc.c: Ditto.
|
|
|
|
|
|
2003-03-28 14:33:00 +00:00
|
|
|
|
2003-03-28 Bob Rossi <bob_rossi@cox.net>
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* MAINTAINERS (write after approval): Add myself.
|
2003-03-28 14:33:00 +00:00
|
|
|
|
|
2003-03-28 01:40:37 +00:00
|
|
|
|
2003-03-27 Theodore A. Roth <troth@openavr.org>
|
|
|
|
|
|
|
|
|
|
* objc-exp.y: Add missing semi-colons.
|
|
|
|
|
|
2003-03-27 15:29:45 +00:00
|
|
|
|
2003-03-27 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* regcache.c (write_sp): Delete function and references.
|
|
|
|
|
* inferior.h (write_sp): Delete declaration.
|
|
|
|
|
* valops.c (hand_function_call): Replace write_sp with
|
|
|
|
|
TARGET_WRITE_SP.
|
|
|
|
|
* sparc-tdep.c (sparc_push_dummy_frame): Ditto.
|
|
|
|
|
(sparc_pop_frame): Ditto.
|
|
|
|
|
|
2003-03-27 15:23:17 +00:00
|
|
|
|
2003-03-27 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention removal of support for hppa*-*-bsd* and
|
|
|
|
|
hppa*-*-osf* natives, and hppa*-*-pro* target.
|
|
|
|
|
* config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
|
|
|
|
|
* config/pa/xm-pa.h: Obsolete file.
|
|
|
|
|
* config/pa/xm-hppab.h: Obsolete file.
|
|
|
|
|
* config/pa/nm-hppab.h: Obsolete file.
|
|
|
|
|
* config/pa/tm-hppab.h: Obsolete file.
|
|
|
|
|
* config/pa/tm-hppao.h: Obsolete file.
|
|
|
|
|
* config/pa/nm-hppao.h: Obsolete file.
|
|
|
|
|
* config/pa/tm-pro.h: Obsolete file.
|
|
|
|
|
* config/pa/hppaosf.mt: Obsolete file.
|
|
|
|
|
* config/pa/hppaosf.mh: Obsolete file.
|
|
|
|
|
* config/pa/hppapro.mt: Obsolete file.
|
|
|
|
|
* config/pa/hppabsd.mt: Obsolete file.
|
|
|
|
|
* config/pa/hppabsd.mh: Obsolete file.
|
|
|
|
|
* configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
|
|
|
|
|
* configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
|
|
|
|
|
hppa*-*-osf*.
|
|
|
|
|
|
2003-03-27 15:09:48 +00:00
|
|
|
|
2003-03-27 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
|
|
|
|
|
push_arguments. Don't set push_return_address or write_sp.
|
|
|
|
|
(d10v_push_dummy_call): Replace d10v_push_arguments.
|
|
|
|
|
(d10v_push_return_address, d10v_write_sp): Delete function,
|
|
|
|
|
handled by push_dummy_call.
|
|
|
|
|
|
2003-03-26 22:39:53 +00:00
|
|
|
|
2003-03-26 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
|
|
|
|
|
(push_dummy_call): New pure multi-arch replacement with gdbarch,
|
|
|
|
|
regcache and dummy_addr parameters.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* valops.c (hand_function_call): Use gdbarch_push_dummy_call when
|
|
|
|
|
available; assume it will handle stack alignment and return
|
|
|
|
|
address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
|
|
|
|
|
legacy_push_arguments.
|
|
|
|
|
(legacy_push_arguments): Rename default_push_arguments.
|
|
|
|
|
* value.h (legacy_push_arguments): Rename default_push_arguments.
|
|
|
|
|
* i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
|
|
|
|
|
* config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
|
|
|
|
|
* config/i386/tm-symmetry.h: Update.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_init_abi): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
|
2003-03-26 20:44:39 +00:00
|
|
|
|
2003-03-26 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* signals/signals.c (do_target_signal_to_host): Correct realtime
|
|
|
|
|
signal range test.
|
|
|
|
|
|
2003-03-26 20:19:12 +00:00
|
|
|
|
2003-03-26 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
|
|
|
|
|
(struct sal_chain, map_catch_names): Remove.
|
|
|
|
|
(catch_exception_command_1): Don't call
|
|
|
|
|
handle_gnu_4_16_catch_command.
|
|
|
|
|
|
2003-03-26 20:17:36 +00:00
|
|
|
|
2003-03-26 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
From Mark Dettinger <dettinge@de.ibm.com>:
|
|
|
|
|
* dwarf2cfi.c (read_2u): Increment pointer by two.
|
|
|
|
|
|
2003-03-26 17:21:16 +00:00
|
|
|
|
2003-03-26 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* signals/signals.c: Fix typos in last change.
|
|
|
|
|
|
2003-03-26 16:29:39 +00:00
|
|
|
|
2003-03-26 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
|
|
|
|
|
not already defined. Use __SIGRTMIN if available.
|
|
|
|
|
(target_signal_from_host): Remove SIGRTMIN block.
|
|
|
|
|
(do_target_signal_to_host): Remove SIGRTMIN block; check that
|
|
|
|
|
the signal is within the realtime range.
|
|
|
|
|
|
2003-03-26 03:39:44 +00:00
|
|
|
|
2003-03-25 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (infrun.o): Add $(language_h)
|
|
|
|
|
* infrun.c (handle_inferior_event): Use skip_language_trampoline
|
|
|
|
|
for language specific trampolines.
|
|
|
|
|
* language.h (struct language_defn): Add skip_trampoline.
|
|
|
|
|
(skip_language_trampoline): Declare.
|
|
|
|
|
* language.c (unk_lang_trampoline, skip_language_trampoline):
|
|
|
|
|
New functions.
|
|
|
|
|
(unknown_language_defn, auto_language_defn, local_language_defn):
|
|
|
|
|
Add ukn_lang_trampoline.
|
|
|
|
|
* ada-lang.c (ada_language_defn): Add NULL for language
|
|
|
|
|
specific skip_trampoline.
|
|
|
|
|
* c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
|
|
|
|
|
scm-lang.c: Likewise.
|
|
|
|
|
* objc-lang.c (objc_skip_trampoline): New function.
|
|
|
|
|
(objc_language_defn): Add objc_skip_trampoline.
|
|
|
|
|
|
2003-03-30 14:32:09 +00:00
|
|
|
|
2003-03-25 Andrew Cagney <cagney@redhat.com>
|
2003-03-26 00:00:07 +00:00
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): Delay validating a frame's ID -
|
|
|
|
|
non-NULL, didn't go backwards - until an attempt to unwind it to
|
|
|
|
|
the previous frame.
|
|
|
|
|
|
2003-03-25 22:56:41 +00:00
|
|
|
|
2003-03-25 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
|
|
|
|
|
EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* config/sparc/tm-sparc.h
|
|
|
|
|
(DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Set
|
|
|
|
|
deprecated_extra_stack_alignment_needed.
|
|
|
|
|
* config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
|
|
|
|
|
extra_stack_alignment_needed.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-03-25 20:38:47 +00:00
|
|
|
|
2003-03-25 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
|
|
|
|
|
STORE_STRUCT_RETURN.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* d10v-tdep.c (d10v_store_struct_return): Delete function.
|
|
|
|
|
(d10v_push_arguments): Set the struct return register.
|
|
|
|
|
(d10v_gdbarch_init): Update.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
|
2003-03-25 18:54:16 +00:00
|
|
|
|
2003-03-25 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
|
|
|
|
|
(DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
|
|
|
|
|
CALL_DUMMY_STACK_ADJUST with a predicate variable.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
|
|
|
|
|
call_dummy_stack_adjust_p.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
|
|
|
|
|
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
|
|
|
|
|
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
|
|
|
|
|
call_dummy_stack_adjust_p.
|
|
|
|
|
* inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
|
|
|
|
|
(CALL_DUMMY_STACK_ADJUST): Delete macro.
|
|
|
|
|
* sparc-tdep.c (sparc32_push_arguments): Update.
|
|
|
|
|
* valops.c (hand_function_call): Update.
|
|
|
|
|
|
2003-03-25 16:12:56 +00:00
|
|
|
|
2003-03-25 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
|
|
|
|
|
set_gdbarch_char_signed.
|
|
|
|
|
|
2003-03-25 15:35:39 +00:00
|
|
|
|
2003-03-25 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR cli/548
|
|
|
|
|
* arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
|
|
|
|
|
|
2003-03-25 14:52:33 +00:00
|
|
|
|
2003-03-25 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
|
|
|
|
|
(_initialize_arm_tdep): Don't set tm_print_insn.
|
|
|
|
|
|
2003-03-25 02:18:55 +00:00
|
|
|
|
2003-03-24 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (YYOBJ): Add objc-exp.tab.o
|
|
|
|
|
* objc-lang.h: Add multiple inclusion protection.
|
|
|
|
|
(start_msglist, add_msglist, end_msglist): Additional declarations.
|
|
|
|
|
|
2003-03-24 09:53:41 +00:00
|
|
|
|
2003-03-24 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
|
|
|
|
|
value was renamed to ARM_FLOAT_SOFT_FPA.
|
|
|
|
|
|
2003-03-24 03:54:51 +00:00
|
|
|
|
2003-03-23 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
|
|
|
|
|
(DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* valops.c (hand_function_call): Update.
|
|
|
|
|
* objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
|
|
|
|
|
* frame.c (legacy_saved_regs_this_id): Update.
|
|
|
|
|
(legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
|
|
|
|
|
* dummy-frame.h: Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
|
|
|
|
|
* config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
|
|
|
|
|
* config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
|
|
|
|
|
* config/m68k/tm-sun3.h: Update.
|
|
|
|
|
* blockframe.c (inside_main_func, frame_chain_valid): Update.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_frame_saved_pc): Update.
|
|
|
|
|
(rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
|
|
|
|
|
(frame_get_saved_regs): Update.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
|
|
|
|
|
* i386-interix-tdep.c (i386_interix_init_abi): Update.
|
|
|
|
|
(i386_interix_back_one_frame): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
(hppa_init_extra_frame_info): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
|
2003-03-22 20:39:21 +00:00
|
|
|
|
2003-03-22 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.h (arm_float_model): Add AUTO and LAST values.
|
|
|
|
|
(arm_get_fp_model): Declare.
|
|
|
|
|
* arm-tdep.c (fp_model_strings): New string array.
|
|
|
|
|
(arm_fp_model, current_fp_model): New variables.
|
|
|
|
|
(arm_get_fp_model): New function.
|
|
|
|
|
(arm_set_fp): New function.
|
|
|
|
|
(set_fp_model_sfunc): New function.
|
|
|
|
|
(show_fp_model): New function.
|
|
|
|
|
(_initialize_arm_tdep): Add new command to set/show the FPU.
|
|
|
|
|
(arm_extract_return_value): Use arm_get_fp_model.
|
|
|
|
|
(arm_store_return_value): Likewise.
|
|
|
|
|
(arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
|
|
|
|
|
to initialize the floating-point data types.
|
|
|
|
|
* arm-linux-tdep.c (arm_linux_init_abi): The default floating point
|
|
|
|
|
model is FPA.
|
|
|
|
|
|
2003-03-22 18:01:38 +00:00
|
|
|
|
2003-03-22 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (show_arm_command): Don't print out help. Instead, show
|
|
|
|
|
the current setting of each value.
|
|
|
|
|
(_initialize_arm_tdep): Delete variable new_cmd and add new vars
|
|
|
|
|
new_set and new_show. Use add_setshow_cmd_full and
|
|
|
|
|
add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
|
|
|
|
|
commands and add new version as subcommands of "set/show arm".
|
|
|
|
|
|
2003-03-22 16:22:18 +00:00
|
|
|
|
2003-03-22 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
|
|
|
|
|
(set_arm_command, show_arm_command): New functions.
|
|
|
|
|
(_initialize_arm_tdep): Add them.
|
|
|
|
|
(num_disassembly_options): Renamed from num_flavor_options.
|
|
|
|
|
(valid_disassembly_styles): Renamed from valid_flavors.
|
|
|
|
|
(disassembly_style): Renamed from disassembly_flavor.
|
|
|
|
|
(set_disassembly_style_sfunc): Renamed from
|
|
|
|
|
set_disassembly_flavor_sfunc.
|
|
|
|
|
(set_disassembly_style): Renamed from set_disassembly_flavor.
|
|
|
|
|
(arm_othernames): Updated.
|
|
|
|
|
(_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
|
|
|
|
|
command. Add "set/show arm disassembly" commands. Deprecate
|
|
|
|
|
"othernames" command.
|
|
|
|
|
|
2003-03-22 14:54:58 +00:00
|
|
|
|
2003-03-22 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
|
|
|
|
|
(arm-tdep.o): Depend on elf_arm_h.
|
|
|
|
|
|
2003-03-22 14:42:54 +00:00
|
|
|
|
2003-03-22 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (coff_internal_h): Define.
|
|
|
|
|
(arm-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-03-22 14:31:30 +00:00
|
|
|
|
2003-03-22 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (prologue_cache): Delete.
|
|
|
|
|
(check_prologue_cache, save_prologue_cache): Delete.
|
|
|
|
|
(arm_scan_prologue): Don't check or update the prologue_cache.
|
|
|
|
|
(arm_gdb_arch_init): Don't initialize it.
|
|
|
|
|
(_initialize_arm_tdep): Likewise.
|
|
|
|
|
|
2003-03-21 20:00:20 +00:00
|
|
|
|
2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (tui): Maintainer of tui code.
|
|
|
|
|
|
2003-03-21 10:07:18 +00:00
|
|
|
|
2003-03-21 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
|
|
|
|
|
(i386-cygwin-tdep.o): Add dependencies.
|
|
|
|
|
* defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
|
|
|
|
|
* i386-cygwin-tdep.c: New file.
|
|
|
|
|
* osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
|
|
|
|
|
* config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
|
|
|
|
|
|
2003-03-20 22:09:54 +00:00
|
|
|
|
2003-03-20 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-03-20 22:52:53 +00:00
|
|
|
|
* infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
|
|
|
|
|
(handle_inferior_event): Remove code calling
|
|
|
|
|
DYNAMIC_TRAMPOLINE_NEXTPC.
|
|
|
|
|
|
2003-03-20 22:43:10 +00:00
|
|
|
|
* Makefile.in (init.c): Don't add $(srcdir) prefix when a file
|
|
|
|
|
already has a full path.
|
|
|
|
|
|
2003-03-20 22:25:16 +00:00
|
|
|
|
* main.c (gdb_main): Return 1.
|
|
|
|
|
(captured_main): Call error to report an invalid interpreter.
|
|
|
|
|
|
2003-03-20 22:09:54 +00:00
|
|
|
|
* Makefile.in (alpha-osf1-tdep.o): Update dependencies.
|
|
|
|
|
* alpha-osf1-tdep.c: Include "gdb_string.h".
|
|
|
|
|
|
2003-03-19 20:14:01 +00:00
|
|
|
|
2003-03-19 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
Continuing work to convert the hppa targets to multiarch partial.
|
|
|
|
|
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
|
|
|
|
|
method, now that hppa_push_dummy_frame has a conformant prototype.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
|
|
|
|
|
inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
|
|
|
|
|
for the switch to multiarch partial.
|
|
|
|
|
|
2003-03-19 19:45:49 +00:00
|
|
|
|
2003-03-19 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mdebugread.c (parse_symbol): For stEnd, we're done counting
|
|
|
|
|
when iss is issNull.
|
|
|
|
|
|
2003-03-19 06:49:17 +00:00
|
|
|
|
2003-03-18 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_register_name): Fix fencepost error involving
|
|
|
|
|
NUM_REGS bounds check.
|
|
|
|
|
|
2003-03-19 06:21:14 +00:00
|
|
|
|
2003-03-18 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
|
|
|
|
|
* mips-tdep.c (gdb_assert.h): Include.
|
|
|
|
|
(mips_generic_reg_names, mips_processor_reg_names): Make static.
|
|
|
|
|
(mips_register_name): Handle integer registers explicitly. Add
|
|
|
|
|
bounds checking.
|
|
|
|
|
(mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
|
|
|
|
|
(mips_lsi33k_reg_names): Don't list integer registers; they're
|
|
|
|
|
handled by mips_register_name() now.
|
|
|
|
|
* config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
|
|
|
|
|
* config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
|
|
|
|
|
* config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
|
|
|
|
|
* config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
|
|
|
|
|
* config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
|
|
|
|
|
|
2003-03-18 22:03:29 +00:00
|
|
|
|
2003-03-18 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* printcmd.c (print_scalar_formatted): Change VALADDR parameter to
|
|
|
|
|
a void pointer.
|
|
|
|
|
* gdbtypes.h (print_scalar_formatted): Update declaration.
|
|
|
|
|
* expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
|
|
|
|
|
|
2003-03-18 19:06:54 +00:00
|
|
|
|
2003-03-18 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* infrun.c (observer.h): Add #include.
|
|
|
|
|
(normal_stop): Add call to observer_notify_normal_stop.
|
|
|
|
|
* Makefile.in (infrun.o): Add dependency on observer.h.
|
|
|
|
|
|
2003-03-18 18:57:48 +00:00
|
|
|
|
2003-03-18 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
Continuing work to convert the hppa targets to multiarch partial.
|
|
|
|
|
* hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
|
|
|
|
|
parameter. Reformat comment.
|
|
|
|
|
* config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
|
|
|
|
|
(DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
|
|
|
|
|
to match new profile.
|
|
|
|
|
|
2003-03-18 18:26:41 +00:00
|
|
|
|
2003-03-18 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
|
|
|
|
|
appear to be working in any case.
|
|
|
|
|
|
2003-03-18 18:05:51 +00:00
|
|
|
|
2003-03-18 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* observer.c (observer_test_first_observer): New static variable.
|
|
|
|
|
(observer_test_second_observer): Likewise.
|
|
|
|
|
(observer_test_third_observer): Likewise.
|
|
|
|
|
(observer_test_first_notification_function): New static function.
|
|
|
|
|
(observer_test_second_notification_function): Likewise.
|
|
|
|
|
(observer_test_third_notification_function): Likewise.
|
|
|
|
|
|
2003-03-17 23:25:09 +00:00
|
|
|
|
2003-03-17 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* hppa-tdep.c (gdb_assert.h): Add missing #include.
|
|
|
|
|
* somsolib.c (gdb_assert.h): Likewise.
|
|
|
|
|
* Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
|
|
|
|
|
(somsolib.o): Likewise.
|
|
|
|
|
|
2003-03-17 19:57:12 +00:00
|
|
|
|
2003-03-17 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* disasm.c (gdb_disassembly): Set di.mach using the architecture's
|
|
|
|
|
BFD. Simplify setting of di.endian.
|
|
|
|
|
|
2003-03-17 18:27:07 +00:00
|
|
|
|
2003-03-17 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rs6000-tdep.c (ppc_floating_point_unit_p): New function.
|
|
|
|
|
* ppc-tdep.h (ppc_floating_point_unit_p): Declare.
|
|
|
|
|
|
|
|
|
|
From Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
* ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
|
|
|
|
|
vector and floating-point parameters.
|
|
|
|
|
(ppc_sysv_abi_use_struct_convention): Handle e500 struct return
|
|
|
|
|
convention.
|
|
|
|
|
(ppc_sysv_abi_broken_use_struct_convention): Ditto.
|
|
|
|
|
|
2003-03-17 15:01:48 +00:00
|
|
|
|
2003-03-17 Fernando Nasser <fnasser@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Remove my name from several maintainership roles.
|
|
|
|
|
|
2003-03-17 14:23:50 +00:00
|
|
|
|
2003-03-17 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
Fix frame off-by-one bug.
|
|
|
|
|
* frame-unwind.h (frame_this_id_ftype): Replace
|
|
|
|
|
frame_unwind_id_ftype.
|
|
|
|
|
(frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
|
|
|
|
|
(struct frame_unwind): Replace "id" with "this_id". Replace "reg"
|
|
|
|
|
with "prev_register".
|
|
|
|
|
* frame-unwind.c (frame_unwind_find_by_pc): Return
|
|
|
|
|
legacy_saved_regs_unwind instead of trad_frame_unwind. Update
|
|
|
|
|
comment.
|
|
|
|
|
* dummy-frame.c (cached_find_dummy_frame): Delete function.
|
|
|
|
|
(dummy_frame_this_id): Replace dummy_frame_id_unwind.
|
|
|
|
|
(dummy_frame_prev_register): Replace dummy_frame_register_unwind.
|
|
|
|
|
(dummy_frame_unwind): Update.
|
|
|
|
|
* sentinel-frame.c (sentinel_frame_prev_register): Replace
|
|
|
|
|
sentinel_frame_register_unwind.
|
|
|
|
|
(sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
|
|
|
|
|
(sentinel_frame_unwinder): Update.
|
|
|
|
|
* frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
|
|
|
|
|
(struct frame_info): Rename "unwind_cache" to "prologue_cache".
|
|
|
|
|
* frame.c (create_sentinel_frame): Update. Initialize
|
|
|
|
|
"prologue_cache" instead of "unwind_cache".
|
|
|
|
|
(frame_register_unwind): Call this frame's prev_register with the
|
|
|
|
|
next frame and this frame's prologue cache.
|
|
|
|
|
(get_prev_frame): Simplify. Always call prev frame's this_id with
|
|
|
|
|
this frame and prev frame's prologue cache. Document that this
|
|
|
|
|
call is shifted one to the left when compared to the
|
|
|
|
|
frame_register_unwind call.
|
|
|
|
|
(legacy_saved_regs_prev_register): Replace
|
|
|
|
|
frame_saved_regs_register_unwind.
|
|
|
|
|
(legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
|
|
|
|
|
(legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
|
|
|
|
|
(legacy_saved_regs_unwind): Replace trad_frame_unwind.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
|
|
|
|
|
(d10v_frame_unwind): Update.
|
|
|
|
|
(d10v_frame_prev_register): Replace d10v_frame_register_unwind.
|
|
|
|
|
(d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
|
|
|
|
|
(saved_regs_unwinder): Replace this "frame" with "next_frame", and
|
|
|
|
|
"saved_regs" with "this_saved_regs".
|
|
|
|
|
|
2003-03-16 20:47:40 +00:00
|
|
|
|
2003-03-16 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (frame_pop): Don't call target_store_registers. Fix
|
|
|
|
|
problem reported by Mark Kettenis.
|
|
|
|
|
|
2003-03-16 20:14:57 +00:00
|
|
|
|
2003-03-16 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-tdep.c (i386_register_type): Renamed from
|
|
|
|
|
i386_register_virtual_type. Adjust function signature.
|
|
|
|
|
(i386_gdbarch_init): Set register_type instead of
|
|
|
|
|
deprecated_max_register_raw_size,
|
|
|
|
|
deprecated_max_register_virtual_size and register_virtual_type.
|
|
|
|
|
|
2003-03-14 20:34:14 +00:00
|
|
|
|
2003-03-14 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): When a legacy frame, always call
|
|
|
|
|
legacy_get_prev_frame. Simplify unwind code using assumption that
|
|
|
|
|
the unwinder is new.
|
|
|
|
|
(legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
|
|
|
|
|
(legacy_frame_p): When no gdbarch_unwind_dummy_id, or
|
|
|
|
|
SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
|
|
|
|
|
|
2003-03-14 17:07:01 +00:00
|
|
|
|
2003-03-14 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_saved_register): Delete function.
|
|
|
|
|
* frame.h (get_saved_register): Delete declaration.
|
|
|
|
|
* xstormy16-tdep.c: Update comment.
|
|
|
|
|
* regcache.h: Update comments.
|
|
|
|
|
* sparc-tdep.c (sparc_init_extra_frame_info): Instead of
|
|
|
|
|
get_saved_register and extract_address, use
|
|
|
|
|
frame_read_unsigned_register.
|
|
|
|
|
(sparc_frame_saved_pc): Ditto.
|
|
|
|
|
(sparc_get_saved_register): Instead of get_saved_register, use
|
|
|
|
|
frame_register.
|
|
|
|
|
(sparc_pop_frame): Ditto.
|
|
|
|
|
* findvar.c: Update comments.
|
|
|
|
|
(value_of_register): Call frame_register instead of
|
|
|
|
|
get_saved_register.
|
|
|
|
|
(value_from_register): Ditto.
|
|
|
|
|
* config/sparc/tm-sparc.h: Update comment.
|
|
|
|
|
* breakpoint.c: Update comment.
|
|
|
|
|
|
2003-03-14 16:05:36 +00:00
|
|
|
|
2003-03-14 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
|
|
|
|
|
GET_SAVED_REGISTER.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* frame.h: Update comments.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* frame.c (frame_register): Update.
|
|
|
|
|
(get_saved_register): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
|
|
|
|
|
|
2003-03-13 21:45:43 +00:00
|
|
|
|
2003-03-13 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* valops.c (hand_function_call): Update comment.
|
|
|
|
|
* stack.c (return_command): Update comment.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
|
2003-03-13 18:09:30 +00:00
|
|
|
|
2003-03-13 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (legacy_frame_p): New function.
|
|
|
|
|
(get_prev_frame): Use legacy_frame_p.
|
|
|
|
|
* frame.h (legacy_frame_p): Declare.
|
|
|
|
|
|
2003-03-13 05:32:21 +00:00
|
|
|
|
2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* MAINTAINERS (write after approval): Alphabetically
|
2003-03-13 05:32:21 +00:00
|
|
|
|
listing corrected.
|
|
|
|
|
|
2003-03-13 05:13:57 +00:00
|
|
|
|
2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* MAINTAINERS (write after approval): Add myself.
|
2003-03-13 05:13:57 +00:00
|
|
|
|
|
2003-03-12 23:55:36 +00:00
|
|
|
|
2003-03-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): Rename the frame parameter to
|
|
|
|
|
"this_frame".
|
|
|
|
|
(get_next_frame, legacy_get_prev_frame): Ditto.
|
|
|
|
|
|
2003-03-12 22:39:16 +00:00
|
|
|
|
2003-03-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_current_frame): Check target_has_registers before
|
|
|
|
|
checking target_has_stack.
|
|
|
|
|
* eval.c (evaluate_subexp_standard): Use get_selected_frame,
|
|
|
|
|
instead of deprecated_selected_frame.
|
|
|
|
|
* findvar.c (value_of_register): Pass "frame", not
|
|
|
|
|
deprecated_selected_frame, to value_of_builtin_reg.
|
|
|
|
|
|
2003-03-12 20:50:13 +00:00
|
|
|
|
2003-03-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* regcache.c (regcache_cooked_write_signed): New function.
|
|
|
|
|
(regcache_cooked_write_unsigned): New function.
|
|
|
|
|
(regcache_cooked_read_unsigned): Fix regnum in range assertion.
|
|
|
|
|
(regcache_cooked_read_signed): Fix regnum in range assertion.
|
|
|
|
|
* regcache.h (regcache_cooked_write_signed): Declare.
|
|
|
|
|
(regcache_cooked_write_unsigned): Declare.
|
|
|
|
|
|
2003-03-12 16:50:47 +00:00
|
|
|
|
2003-03-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.h: Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* i386-interix-tdep.c (i386_interix_init_abi): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_init_extra_frame_info): Update.
|
|
|
|
|
(sh64_init_extra_frame_info): Update.
|
|
|
|
|
* ns32knbsd-nat.c (frame_num_args): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_pop_frame): Update.
|
|
|
|
|
(xstormy16_frame_chain_valid): Update.
|
|
|
|
|
* vax-tdep.c (vax_saved_pc_after_call): Update.
|
|
|
|
|
* v850-tdep.c (v850_frame_chain): Update.
|
|
|
|
|
(v850_pop_frame): Update.
|
|
|
|
|
(v850_init_extra_frame_info): Update.
|
|
|
|
|
* sparc-tdep.c (setup_arbitrary_frame): Update.
|
|
|
|
|
* ns32k-tdep.c (umax_frame_num_args): Update.
|
|
|
|
|
* s390-tdep.c (s390_pop_frame_regular): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_frame_chain): Update.
|
|
|
|
|
(mn10300_pop_frame_regular): Update.
|
|
|
|
|
(mn10300_init_extra_frame_info): Update.
|
|
|
|
|
* mips-tdep.c (mips_init_frame_pc_first): Update.
|
|
|
|
|
(mips_frame_chain): Update.
|
|
|
|
|
(mips_pop_frame): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_frame_chain): Update.
|
|
|
|
|
(mcore_pop_frame): Update.
|
|
|
|
|
(mcore_init_extra_frame_info): Update.
|
|
|
|
|
* arch-utils.c (init_frame_pc_default): Update.
|
|
|
|
|
* m68k-tdep.c (isi_frame_num_args): Update.
|
|
|
|
|
(delta68_frame_num_args): Update.
|
|
|
|
|
(news_frame_num_args): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_pop_frame_regular): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
|
|
|
|
|
(alpha_frame_chain): Update.
|
|
|
|
|
(alpha_pop_frame): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_saved_pc_after_call): Update.
|
|
|
|
|
(hppa_init_extra_frame_info): Update.
|
|
|
|
|
(hppa_frame_chain): Update.
|
|
|
|
|
(hppa_frame_chain_valid): Update.
|
|
|
|
|
* cris-tdep.c (cris_init_extra_frame_info): Update.
|
|
|
|
|
* avr-tdep.c (avr_init_extra_frame_info): Update.
|
|
|
|
|
* arm-tdep.c (arm_frame_chain_valid): Update.
|
|
|
|
|
(arm_init_extra_frame_info): Update.
|
|
|
|
|
(arm_pop_frame): Update.
|
|
|
|
|
* frame.c (frame_pc_unwind): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
|
|
|
|
|
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
* config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
|
2003-03-12 15:39:30 +00:00
|
|
|
|
2003-03-12 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
Eliminate the need for POP_FRAME.
|
|
|
|
|
* frame.c (do_frame_unwind_register): New function.
|
|
|
|
|
(frame_pop): When no POP_FRAME, pop the frame using register
|
|
|
|
|
unwind and a scratch regcache.
|
|
|
|
|
(frame_saved_regs_pop): Delete function.
|
|
|
|
|
(trad_frame_unwinder): Update.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_pop): Delete function.
|
|
|
|
|
(d10v_frame_unwind): Update.
|
|
|
|
|
* sentinel-frame.c (sentinel_frame_pop): Delete function.
|
|
|
|
|
(sentinel_frame_unwinder): Update.
|
|
|
|
|
* dummy-frame.c (dummy_frame_pop): Delete function.
|
|
|
|
|
(dummy_frame_unwind): Update.
|
|
|
|
|
* frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
|
|
|
|
|
(struct frame_unwind): Update.
|
|
|
|
|
|
2003-03-11 23:15:38 +00:00
|
|
|
|
2003-03-11 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
|
|
|
|
|
mips_dwarf_dwarf2_ecoff_reg_to_regnum().
|
|
|
|
|
(mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
|
|
|
|
|
Do range checks on register number obtained from debugging info.
|
|
|
|
|
(mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
|
|
|
|
|
set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
|
|
|
|
|
set_gdbarch_ecoff_reg_to_regnum() to account for new name of
|
|
|
|
|
mapping function.
|
|
|
|
|
(do_fp_register_row): Fix typo which caused double type to be
|
|
|
|
|
used when attempting to unpack a float.
|
|
|
|
|
|
2003-03-11 19:07:01 +00:00
|
|
|
|
2003-03-11 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (bpstat_stop_status): Fix a small memory leak.
|
|
|
|
|
|
2003-03-11 17:47:13 +00:00
|
|
|
|
2003-03-11 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (deprecated_update_frame_pc_hack): Don't assume a next
|
|
|
|
|
frame. Problem found by Corinna Vinschen.
|
|
|
|
|
|
2003-03-11 16:38:52 +00:00
|
|
|
|
2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
|
|
|
|
|
|
|
|
|
|
* doublest.c (floatformat_from_length): Accept also
|
|
|
|
|
the real size of 'long double' type.
|
|
|
|
|
|
2003-03-11 18:35:29 +00:00
|
|
|
|
2003-03-10 Daniel Jacobowitz <drow@mvista.com>
|
2003-03-10 23:37:29 +00:00
|
|
|
|
|
2003-03-11 18:35:29 +00:00
|
|
|
|
From Klee Dienes <kdienes@apple.com>:
|
2003-03-10 23:37:29 +00:00
|
|
|
|
* breakpoint.c (bpstat_copy): Copy the command lines as well
|
|
|
|
|
as the old value, to match what is freed in bpstat_clear.
|
|
|
|
|
|
2003-03-10 20:40:45 +00:00
|
|
|
|
2003-03-10 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* minsyms.c (add_minsym_to_hash_table): Replace
|
|
|
|
|
DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
|
|
|
|
|
(compare_minimal_symbols, compact_minimal_symbols)
|
|
|
|
|
(install_minimal_symbols, find_solib_trampoline_target): Ditto.
|
|
|
|
|
(lookup_minimal_symbol_text): Use strcmp on linkage names instead
|
|
|
|
|
of DEPRECATED_SYMBOL_MATCHES_NAME.
|
|
|
|
|
(lookup_minimal_symbol_solib_trampoline): Ditto.
|
|
|
|
|
|
2003-03-10 19:08:47 +00:00
|
|
|
|
2003-03-10 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* regcache.h (regcache_cooked_read_ftype): Define.
|
|
|
|
|
(regcache_save, regcache_restore): Add a cooked_read parameter.
|
|
|
|
|
* regcache.c (regcache_save, regcache_restore): Update.
|
|
|
|
|
(do_cooked_read): New function.
|
|
|
|
|
(regcache_cpy): Pass do_cooked_read to regcache_save and
|
|
|
|
|
regcache_restore.
|
|
|
|
|
|
2003-03-12 16:50:47 +00:00
|
|
|
|
2003-03-10 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.h: Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* i386-interix-tdep.c (i386_interix_init_abi): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_init_extra_frame_info): Update.
|
|
|
|
|
(sh64_init_extra_frame_info): Update.
|
|
|
|
|
* ns32knbsd-nat.c (frame_num_args): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_pop_frame): Update.
|
|
|
|
|
(xstormy16_frame_chain_valid): Update.
|
|
|
|
|
* vax-tdep.c (vax_saved_pc_after_call): Update.
|
|
|
|
|
* v850-tdep.c (v850_frame_chain): Update.
|
|
|
|
|
(v850_pop_frame): Update.
|
|
|
|
|
(v850_init_extra_frame_info): Update.
|
|
|
|
|
* sparc-tdep.c (setup_arbitrary_frame): Update.
|
|
|
|
|
* ns32k-tdep.c (umax_frame_num_args): Update.
|
|
|
|
|
* s390-tdep.c (s390_pop_frame_regular): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_frame_chain): Update.
|
|
|
|
|
(mn10300_pop_frame_regular): Update.
|
|
|
|
|
(mn10300_init_extra_frame_info): Update.
|
|
|
|
|
* mips-tdep.c (mips_init_frame_pc_first): Update.
|
|
|
|
|
(mips_frame_chain): Update.
|
|
|
|
|
(mips_pop_frame): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_frame_chain): Update.
|
|
|
|
|
(mcore_pop_frame): Update.
|
|
|
|
|
(mcore_init_extra_frame_info): Update.
|
|
|
|
|
* arch-utils.c (init_frame_pc_default): Update.
|
|
|
|
|
* m68k-tdep.c (isi_frame_num_args): Update.
|
|
|
|
|
(delta68_frame_num_args): Update.
|
|
|
|
|
(news_frame_num_args): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_pop_frame_regular): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
|
|
|
|
|
(alpha_frame_chain): Update.
|
|
|
|
|
(alpha_pop_frame): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_saved_pc_after_call): Update.
|
|
|
|
|
(hppa_init_extra_frame_info): Update.
|
|
|
|
|
(hppa_frame_chain): Update.
|
|
|
|
|
(hppa_frame_chain_valid): Update.
|
|
|
|
|
* cris-tdep.c (cris_init_extra_frame_info): Update.
|
|
|
|
|
* avr-tdep.c (avr_init_extra_frame_info): Update.
|
|
|
|
|
* arm-tdep.c (arm_frame_chain_valid): Update.
|
|
|
|
|
(arm_init_extra_frame_info): Update.
|
|
|
|
|
(arm_pop_frame): Update.
|
|
|
|
|
* frame.c (frame_pc_unwind): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
|
|
|
|
|
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
* config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
|
|
|
|
|
|
2003-03-10 15:28:41 +00:00
|
|
|
|
2003-03-10 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (gdbarch_unwind_pc): New method.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
|
|
|
|
|
but use read_pc and FRAME_SAVED_PC as fall backs.
|
|
|
|
|
(frame_saved_regs_pc_unwind): Delete function.
|
|
|
|
|
(trad_frame_unwinder): Update.
|
|
|
|
|
* frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
|
|
|
|
|
(struct frame_unwind): Update.
|
|
|
|
|
* dummy-frame.c (dummy_frame_pc_unwind): Delete function.
|
|
|
|
|
(dummy_frame_unwind): Update.
|
|
|
|
|
* sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
|
|
|
|
|
(sentinel_frame_unwinder): Update.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
|
|
|
|
|
(d10v_frame_unwind): Update.
|
|
|
|
|
(d10v_unwind_pc): New function.
|
|
|
|
|
(d10v_gdbarch_init): Set unwind_pc.
|
|
|
|
|
|
2003-03-10 14:43:15 +00:00
|
|
|
|
2003-03-10 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-03-10 14:54:58 +00:00
|
|
|
|
* gdbarch.h: Re-generate.
|
|
|
|
|
|
2003-03-10 14:43:15 +00:00
|
|
|
|
* d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
|
|
|
|
|
PC.
|
|
|
|
|
(d10v_frame_pop): Unwind the PC, and not the LR, when restoring
|
|
|
|
|
the PC register.
|
|
|
|
|
|
2003-03-08 22:16:45 +00:00
|
|
|
|
2003-03-08 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (save_dummy_frame_tos): Add comment.
|
|
|
|
|
|
2003-03-08 20:04:27 +00:00
|
|
|
|
2003-03-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cli-out.c: Update copyright.
|
|
|
|
|
(cli_out_data): Define typedef. Use instead of ui_out_data.
|
|
|
|
|
|
2003-03-08 19:27:12 +00:00
|
|
|
|
2003-03-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
|
|
|
|
|
the result.
|
|
|
|
|
|
2003-03-07 23:34:15 +00:00
|
|
|
|
2003-03-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh: Don't generate two macro definitions when an
|
|
|
|
|
undefined macro taking no arguments.
|
|
|
|
|
* gdbarch.h: Regenerate.
|
|
|
|
|
|
2003-03-07 15:07:51 +00:00
|
|
|
|
2002-03-07 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_save_dummy_frame_tos)
|
|
|
|
|
(x86_64_unwind_dummy_id): New functions.
|
|
|
|
|
(x86_64_init_abi): Register these two new functions.
|
|
|
|
|
|
2003-03-07 10:43:00 +00:00
|
|
|
|
2003-03-07 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_function_has_prologue): New function.
|
|
|
|
|
(x86_64_skip_prologue): Move prologue detection to
|
|
|
|
|
separate function.
|
|
|
|
|
* x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
|
|
|
|
|
|
2003-03-05 23:14:18 +00:00
|
|
|
|
2003-03-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_unwind_dummy_id): New function.
|
|
|
|
|
(d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
|
|
|
|
|
* frame.c (get_prev_frame): Restructure the frame ID unwind code
|
|
|
|
|
to use unwind_dummy_id when a dummy frame.
|
|
|
|
|
* gdbarch.sh (unwind_dummy_id): New multi-arch method with
|
|
|
|
|
predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regneerate.
|
|
|
|
|
|
2003-03-05 22:54:22 +00:00
|
|
|
|
2003-03-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
|
|
|
|
|
(d10v_frame_unwind_cache): Rewrite code computing the base and SP.
|
|
|
|
|
Do not use d10v_read_sp or d10v_read_fp when obtaining register
|
|
|
|
|
values.
|
|
|
|
|
|
2003-03-05 20:57:28 +00:00
|
|
|
|
2003-03-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (struct frame_extra_info): Delete unused structure.
|
|
|
|
|
(struct d10v_unwind_cache): Delete field "frameless". Replace
|
|
|
|
|
"next_addr" with "sp_offset". Add "r11_offset".
|
|
|
|
|
(d10v_frame_unwind_cache): Update.
|
|
|
|
|
(prologue_find_regs): Update. When "mv r11, sp", save the
|
|
|
|
|
"sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
|
|
|
|
|
RN was saved in r11_offset.
|
|
|
|
|
|
2003-03-05 20:26:46 +00:00
|
|
|
|
2003-03-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (deprecated_update_frame_pc_hack): Also update the the
|
|
|
|
|
cached PC value in the next frame.
|
|
|
|
|
|
2003-03-05 18:51:17 +00:00
|
|
|
|
2003-03-05 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (struct frame_info): Replace "id_unwind_cache_p" and
|
|
|
|
|
"id_unwind_cache" with "id".
|
|
|
|
|
(frame_id_unwind): Delete declaration.
|
|
|
|
|
* frame.c (frame_id_unwind): Delete function.
|
|
|
|
|
(get_prev_frame): Call the frame id unwind method directly. Store
|
|
|
|
|
the returned next frame's ID value in NEXT_FRAME. Note that there
|
|
|
|
|
is a problem with the wrong unwind ID being called with the wrong
|
|
|
|
|
unwind cache.
|
|
|
|
|
|
2003-03-05 18:07:15 +00:00
|
|
|
|
2003-03-05 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
|
|
|
|
|
|
* cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
(auto_cp_abi): New variable.
(current_cp_abi, num_cp_abis): Make static.
(CP_ABI_MAX): Define.
(cp_abis): Turn into an array.
(value_virtual_fn_field): Fix formatting.
(switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
takes a pointer.
(set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
(list_cp_abis, _initialize_cp_abi): New functions.
* cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
declarations for cp_abis, num_cp_abis, current_cp_abi, and
switch_to_cp_abi. Update prototype for register_cp_abi.
* Makefile.in (cp-abi.o): Update dependencies.
* minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
instead of switch_to_cp_abi.
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
register_cp_abi.
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
register_cp_abi.
* hpacc-abi.c (_initialize_hpacc_abi): Likewise.
2003-03-05 18:01:46 +00:00
|
|
|
|
2003-03-05 James Ingham <jingham@apple.com>
|
|
|
|
|
Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
|
|
|
|
|
(auto_cp_abi): New variable.
|
|
|
|
|
(current_cp_abi, num_cp_abis): Make static.
|
|
|
|
|
(CP_ABI_MAX): Define.
|
|
|
|
|
(cp_abis): Turn into an array.
|
|
|
|
|
(value_virtual_fn_field): Fix formatting.
|
|
|
|
|
(switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
|
|
|
|
|
takes a pointer.
|
|
|
|
|
(set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
|
|
|
|
|
(list_cp_abis, _initialize_cp_abi): New functions.
|
|
|
|
|
* cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
|
|
|
|
|
declarations for cp_abis, num_cp_abis, current_cp_abi, and
|
|
|
|
|
switch_to_cp_abi. Update prototype for register_cp_abi.
|
|
|
|
|
* Makefile.in (cp-abi.o): Update dependencies.
|
|
|
|
|
* minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
|
|
|
|
|
instead of switch_to_cp_abi.
|
|
|
|
|
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
|
|
|
|
|
register_cp_abi.
|
|
|
|
|
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
|
|
|
|
|
register_cp_abi.
|
|
|
|
|
* hpacc-abi.c (_initialize_hpacc_abi): Likewise.
|
|
|
|
|
|
2003-03-05 18:00:02 +00:00
|
|
|
|
2003-03-05 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
|
|
|
|
|
* dwarf2loc.c: Include "regcache.h".
|
|
|
|
|
(dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
|
|
|
|
|
register_size.
|
|
|
|
|
* Makefile.in (dwarf2loc.o): Update dependencies.
|
|
|
|
|
|
2003-03-05 00:19:56 +00:00
|
|
|
|
2003-03-04 Theodore A. Roth <troth@openavr.org>
|
|
|
|
|
|
|
|
|
|
* avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
|
|
|
|
|
number of io registers reported by remote target is not a multiple of
|
|
|
|
|
step.
|
|
|
|
|
|
2003-03-04 17:06:21 +00:00
|
|
|
|
2003-03-04 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.c (lookup_partial_symbol): Add linkage_name argument.
|
|
|
|
|
(lookup_symbol_aux_psymtabs): Update call to
|
|
|
|
|
lookup_partial_symbol.
|
|
|
|
|
(lookup_transparent_type, find_main_psymtab)
|
|
|
|
|
(make_symbol_overload_list): Ditto.
|
|
|
|
|
|
2003-03-04 16:33:06 +00:00
|
|
|
|
2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (Write after approval): Update my email address.
|
|
|
|
|
|
2003-03-03 20:50:20 +00:00
|
|
|
|
2003-03-03 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
|
|
|
|
|
* gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
|
|
|
|
|
predicate. Replace MAX_REGISTER_RAW_SIZE.
|
|
|
|
|
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
|
|
|
|
|
MAX_REGISTER_VIRTUAL_SIZE.
|
|
|
|
|
* regcache.c (legacy_max_register_raw_size): New function.
|
|
|
|
|
(legacy_max_register_virtual_size): New function.
|
|
|
|
|
* defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
|
|
|
|
|
(MAX_REGISTER_RAW_SIZE): Define.
|
|
|
|
|
(legacy_max_register_raw_size): Declare.
|
|
|
|
|
(legacy_max_register_virtual_size): Declare.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
|
|
|
|
|
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
|
|
|
|
|
* config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
|
|
|
|
|
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
|
|
|
|
|
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
|
|
|
|
|
* config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
|
|
|
|
|
* config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
|
|
|
|
|
* config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Do not set
|
|
|
|
|
max_register_raw_size or max_register_virtual_size.
|
|
|
|
|
|
2003-03-03 18:34:12 +00:00
|
|
|
|
2003-03-03 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
|
|
|
|
|
SYMBOL_MATCHES_NAME, add comment.
|
|
|
|
|
(SYMBOL_MATCHES_NATURAL_NAME): New.
|
|
|
|
|
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
|
|
|
|
|
SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
|
|
|
|
|
(lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
|
|
|
|
|
* symtab.c (lookup_partial_symbol): Use
|
|
|
|
|
SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
|
|
|
|
|
unhelpful comment.
|
|
|
|
|
(lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
|
|
|
|
|
SYMBOL_MATCHES_NAME.
|
|
|
|
|
Fix for PR c++/33.
|
|
|
|
|
|
2003-03-03 18:01:33 +00:00
|
|
|
|
2003-03-03 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
|
|
|
|
|
* symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
|
|
|
|
|
by regexp matching against SYMBOL_NATURAL_NAME.
|
|
|
|
|
|
2003-03-03 17:20:24 +00:00
|
|
|
|
2003-03-03 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c (find_method): Extract code into collect_methods.
|
|
|
|
|
(collect_methods): New.
|
|
|
|
|
|
2003-03-02 10:40:37 +00:00
|
|
|
|
2003-03-02 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-03-02 17:05:18 +00:00
|
|
|
|
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
|
|
|
|
|
get_frame_base.
|
|
|
|
|
|
2003-03-02 10:40:37 +00:00
|
|
|
|
* i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
|
|
|
|
|
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
|
|
|
|
|
|
2003-03-02 10:23:09 +00:00
|
|
|
|
2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
|
|
|
|
|
|
|
|
|
|
* arch-utils.c (generic_register_byte): Fix to use the loop index
|
|
|
|
|
and not regnum when summing the size of all registers up to regnum.
|
|
|
|
|
|
2003-03-02 04:02:25 +00:00
|
|
|
|
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
|
|
|
|
|
FRAME_INIT_SAVED_REGS.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* stack.c (frame_info): Update.
|
|
|
|
|
* sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
|
|
|
|
|
(sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
|
|
|
|
|
(sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_pop_frame): Update.
|
|
|
|
|
* mips-tdep.c (mips_pop_frame): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_pop_frame): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_frame_chain): Update.
|
|
|
|
|
(ia64_frame_saved_pc, ia64_get_saved_register): Update.
|
|
|
|
|
(ia64_frameless_function_invocation): Update.
|
|
|
|
|
(ia64_init_extra_frame_info): Update.
|
|
|
|
|
(ia64_pop_frame_regular): Update.
|
|
|
|
|
* frame.h (struct frame_info): Update comment.
|
|
|
|
|
(DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
|
|
|
|
|
* frame.c (frame_saved_regs_register_unwind): Update.
|
|
|
|
|
(frame_saved_regs_register_unwind): Update.
|
|
|
|
|
(deprecated_generic_get_saved_register): Update.
|
|
|
|
|
* cris-tdep.c: Update comment.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
|
|
|
|
|
Rename macro.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Update.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Update.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Update.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Update.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Update.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Update.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Update.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Update.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
|
2003-03-02 02:07:12 +00:00
|
|
|
|
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
|
|
|
|
|
option enum and switch. When no windows, set the interpreter to
|
|
|
|
|
INTERP_CONSOLE.
|
|
|
|
|
|
2003-03-02 01:22:18 +00:00
|
|
|
|
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* main.c (captured_main): Replace magic option characters with an
|
|
|
|
|
enum.
|
|
|
|
|
|
2003-03-02 00:11:43 +00:00
|
|
|
|
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
|
|
|
|
|
INIT_EXTRA_FRAME_INFO.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* arm-tdep.c: Update comments.
|
|
|
|
|
* sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
|
|
|
|
|
* i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
|
|
|
|
|
* frame.h, avr-tdep.c: Ditto.
|
|
|
|
|
* frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
|
|
|
|
|
(create_new_frame, legacy_get_prev_frame): Ditto.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
|
|
|
|
|
deprecated_init_extra_frame_info instead of init_extra_frame_info.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Ditto.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* i386-interix-tdep.c (i386_interix_init_abi): Ditto.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-03-01 17:59:12 +00:00
|
|
|
|
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (register_type): New function with predicate.
|
|
|
|
|
(REGISTER_VIRTUAL_TYPE): Change to function with predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
* arch-utils.c (generic_register_byte): Use generic_register_size.
|
|
|
|
|
(generic_register_size): When available, use
|
|
|
|
|
gdbarch_register_type.
|
|
|
|
|
* regcache.c (init_regcache_descr): When available, initialize the
|
|
|
|
|
register type array using gdbarch_register_type. If the
|
|
|
|
|
architecture supplies gdbarch_register_type, do not use the legacy
|
|
|
|
|
regcache layout.
|
|
|
|
|
* d10v-tdep.c (d10v_register_type): Replace
|
|
|
|
|
d10v_register_virtual_type.
|
|
|
|
|
(d10v_gdbarch_init): Set register_type instead of
|
|
|
|
|
register_virtual_type.
|
|
|
|
|
|
2003-03-01 17:03:19 +00:00
|
|
|
|
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (ax-gdb.o): Update dependencies.
|
|
|
|
|
* ax-gdb.c: Include "regcache.h".
|
|
|
|
|
(gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
|
|
|
|
|
* findvar.c (value_of_register): Ditto.
|
|
|
|
|
* infcmd.c (default_print_registers_info): Ditto.
|
|
|
|
|
|
2003-03-01 13:00:07 +00:00
|
|
|
|
2003-03-01 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
|
|
|
|
|
DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
|
|
|
|
|
|
2003-03-01 12:36:36 +00:00
|
|
|
|
2003-03-01 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
|
|
|
|
|
of STREQ.
|
|
|
|
|
|
2003-02-28 20:03:18 +00:00
|
|
|
|
2003-02-28 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (dwarf2loc.o): Update dependencies.
|
|
|
|
|
* ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
|
|
|
|
|
* dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
|
|
|
|
|
* dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
|
|
|
|
|
* dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
|
|
|
|
|
(locexpr_tracepoint_var_ref): New function.
|
|
|
|
|
(dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
|
|
|
|
|
|
2003-02-28 17:47:43 +00:00
|
|
|
|
2003-02-28 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* regcache.c (register_size): New function.
|
|
|
|
|
* regcache.h (register_size): Declare
|
|
|
|
|
* d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
|
|
|
|
|
max_register_size instead of MAX_REGISTER_RAW_SIZE.
|
|
|
|
|
|
2003-02-28 17:21:16 +00:00
|
|
|
|
2003-02-28 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_compound): Extract code into find_method.
|
|
|
|
|
(find_method): New.
|
|
|
|
|
|
2003-02-28 17:14:16 +00:00
|
|
|
|
2003-02-28 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Add rules to build and link in observer.o.
|
|
|
|
|
|
2003-02-28 07:19:32 +00:00
|
|
|
|
2003-02-27 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* observer.c: Minor comments edits.
|
|
|
|
|
|
2003-02-28 07:08:51 +00:00
|
|
|
|
2003-02-27 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* observer.h, observer.c: New file.
|
|
|
|
|
|
2003-02-27 23:17:52 +00:00
|
|
|
|
2003-02-27 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
|
|
|
|
|
|
2003-02-27 21:02:17 +00:00
|
|
|
|
2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
|
|
|
|
|
|
|
|
|
|
* m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
|
|
|
|
|
(M6812_OP_STS_EXT): Likewise.
|
|
|
|
|
(m6811_prologue): Use the above to recognize prologue.
|
|
|
|
|
(m6812_prologue): Likewise.
|
|
|
|
|
|
2003-02-27 20:48:03 +00:00
|
|
|
|
2003-02-27 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
|
|
|
|
|
SYMBOL_PRINT_NAME.
|
|
|
|
|
(compare_psymbols): Ditto.
|
|
|
|
|
* symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
|
|
|
|
|
|
2003-02-27 18:08:25 +00:00
|
|
|
|
2003-02-27 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
2003-02-27 18:13:37 +00:00
|
|
|
|
* f-lang.c (build_fortran_types): New function.
|
|
|
|
|
(_initialize_f_language): Gdbarch-register built-in fortran types.
|
2003-02-27 18:08:25 +00:00
|
|
|
|
* doublest.c (extract_floating): Fix warning text.
|
|
|
|
|
|
2003-02-27 17:48:48 +00:00
|
|
|
|
2003-02-27 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
|
|
|
|
|
predicate. Replaces PUSH_DUMMY_FRAME.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regnerate.
|
|
|
|
|
* valops.c (hand_function_call): Update. Call
|
|
|
|
|
generic_push_dummy_frame directly.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Update.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Update.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Update.
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Update.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Update.
|
|
|
|
|
* config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
|
|
|
|
|
* inferior.h (PUSH_DUMMY_FRAME): Delete definition.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
|
|
|
|
|
push_dummy_frame to generic_push_dummy_frame.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Ditto.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
|
|
|
|
|
* i386-tdep.c (i386_gdbarch_init): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Ditto.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Ditto.
|
|
|
|
|
|
2003-02-27 01:14:53 +00:00
|
|
|
|
2003-02-26 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (show_mips_abi): New function.
|
|
|
|
|
(_initialize_mips_tdep): Use show_mips_abi() to implement the
|
|
|
|
|
command ``show mips abi''.
|
|
|
|
|
|
2003-02-26 21:41:18 +00:00
|
|
|
|
2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
From Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
* dbxread.c (process_one_symbol): Only record line 0 if one or
|
|
|
|
|
more sline entries have been seen for the function.
|
|
|
|
|
|
2003-02-26 20:30:27 +00:00
|
|
|
|
2003-02-26 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate with autoconf 000227.
|
|
|
|
|
|
2003-02-26 17:24:12 +00:00
|
|
|
|
2003-02-26 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
Close PR build/660.
|
|
|
|
|
* PROBLEMS (i[3456]86-*-linux*): Note explicit error message
|
|
|
|
|
for old libc5/glibc.
|
|
|
|
|
* gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
|
|
|
|
|
|
2003-02-26 16:34:53 +00:00
|
|
|
|
2003-02-26 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
|
|
|
|
* defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
|
|
|
|
|
* osabi.c (gdb_osabi_names): Add "QNX Neutrino".
|
|
|
|
|
|
2003-02-26 15:10:47 +00:00
|
|
|
|
2003-02-26 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* configure.in: New variable HAVE_UINTPTR_T.
|
|
|
|
|
* configure, config.in: Regenerated.
|
|
|
|
|
|
2003-02-26 14:35:19 +00:00
|
|
|
|
2003-02-26 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
Fix PR build/1097.
|
|
|
|
|
* utils.c (gdb_realpath): Move closing brace outwards one #endif.
|
|
|
|
|
|
2003-02-25 23:52:16 +00:00
|
|
|
|
2003-02-25 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (get_prev_frame): Add comment on check for
|
|
|
|
|
inside_entry_func. Only check for inside_entry_file when not a
|
|
|
|
|
dummy and not a sentinel. Check that the new frame is not inner
|
|
|
|
|
to the old frame.
|
|
|
|
|
|
2003-02-25 23:12:22 +00:00
|
|
|
|
2003-02-25 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (frame_debug): New variable.
|
|
|
|
|
(_initialize_frame): Add "set/show debug frame" command.
|
|
|
|
|
(get_prev_frame): When frame_debug, print reason why unwind
|
|
|
|
|
failed.
|
|
|
|
|
|
2003-02-25 21:58:20 +00:00
|
|
|
|
2003-02-25 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
|
|
|
|
|
to avoid uintptr_t definition problems.
|
|
|
|
|
|
2003-02-25 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_NATURAL_NAME): New macro.
(SYMBOL_LINKAGE_NAME): Ditto.
(SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
SYMBOL_LINKAGE_NAME.
(struct general_symbol_info): Expand comment.
(DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
(SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
(SYMBOL_MATCHES_REGEXP): Ditto.
* symtab.c (symbol_natural_name): New function.
* objfiles.h: Replace all uses of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
* symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
* somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
* printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
* minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
* i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
* gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
* dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
* cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
* blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
* ada-exp.y: Ditto.
* ada-exp.y: Update copyright.
* sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
* cp-valprint.c: Ditto.
2003-02-25 David Carlton <carlton@math.stanford.edu>
* generic/gdbtk.h: Replace all instances of SYMBOL_NAME by
DEPRECATED_SYMBOL_NAME.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto.
* generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright.
2003-02-25 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with
DEPRECATED_SYMBOL_NAME. Update copyright.
2003-02-25 21:36:23 +00:00
|
|
|
|
2003-02-25 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.h (SYMBOL_NATURAL_NAME): New macro.
|
|
|
|
|
(SYMBOL_LINKAGE_NAME): Ditto.
|
|
|
|
|
(SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
|
|
|
|
|
SYMBOL_LINKAGE_NAME.
|
|
|
|
|
(struct general_symbol_info): Expand comment.
|
|
|
|
|
(DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
|
|
|
|
|
(SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
|
|
|
|
|
(SYMBOL_MATCHES_REGEXP): Ditto.
|
|
|
|
|
* symtab.c (symbol_natural_name): New function.
|
|
|
|
|
* objfiles.h: Replace all uses of SYMBOL_NAME by
|
|
|
|
|
DEPRECATED_SYMBOL_NAME.
|
|
|
|
|
* xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
|
|
|
|
|
* symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
|
|
|
|
|
* somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
|
|
|
|
|
* printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
|
|
|
|
|
* minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
|
|
|
|
|
* i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
|
|
|
|
|
* gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
|
|
|
|
|
* dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
|
|
|
|
|
* cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
|
|
|
|
|
* blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
|
|
|
|
|
* ada-exp.y: Ditto.
|
|
|
|
|
* ada-exp.y: Update copyright.
|
|
|
|
|
* sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
|
|
|
|
|
* cp-valprint.c: Ditto.
|
|
|
|
|
|
2003-02-25 19:38:21 +00:00
|
|
|
|
2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infptrace.c (detach): Do not flag error if ptrace detach fails
|
|
|
|
|
and errno is set to ESRCH.
|
|
|
|
|
|
2003-02-24 23:58:32 +00:00
|
|
|
|
2003-02-24 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infptrace.c (udot_info): Change type of udot_off to long. Use
|
|
|
|
|
paddr when printing udot_off's value.
|
|
|
|
|
|
2003-02-24 23:40:50 +00:00
|
|
|
|
2003-02-24 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.c (make_symbol_overload_list): Only read in partial
|
|
|
|
|
symtabs containing a matching partial symbol.
|
|
|
|
|
|
2003-02-24 23:37:02 +00:00
|
|
|
|
2003-02-24 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
|
|
|
|
|
do the comparison, not strcmp.
|
|
|
|
|
* symfile.c (compare_psymbols): Ditto.
|
|
|
|
|
* defs.h: Declare strcmp_iw_ordered.
|
|
|
|
|
* utils.c (strcmp_iw_ordered): New function.
|
|
|
|
|
|
2003-02-24 22:21:13 +00:00
|
|
|
|
2003-02-24 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
|
|
|
|
|
support, shared libs): Remove my name from here, to better reflect
|
|
|
|
|
reality.
|
|
|
|
|
|
2003-02-24 21:56:51 +00:00
|
|
|
|
2003-02-24 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
|
|
|
|
* target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
|
|
|
|
|
(target_ops): Add to_have_continuable_watchpoint.
|
|
|
|
|
* target.c (update_current_target): Add INHERIT line for
|
|
|
|
|
to_have_continuable_watchpoint.
|
|
|
|
|
* infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
|
|
|
|
|
* config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
|
|
|
|
|
config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
|
|
|
|
|
config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
|
|
|
|
|
|
2003-02-24 20:35:25 +00:00
|
|
|
|
2003-02-24 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
|
|
|
|
|
maintainership.
|
|
|
|
|
|
2003-02-24 19:11:04 +00:00
|
|
|
|
2003-02-24 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
2003-02-24 21:40:48 +00:00
|
|
|
|
* solib.c (solib_open): Call target defined search function after
|
|
|
|
|
failing with solib-search-path.
|
|
|
|
|
* solist.h (target_so_ops): Add find_and_open_solib function hook and
|
|
|
|
|
create define TARGET_SO_FIND_AND_OPEN_SOLIB.
|
2003-02-24 19:11:04 +00:00
|
|
|
|
|
2003-02-24 17:58:21 +00:00
|
|
|
|
2003-02-24 Kris Warkentin <kewarken@qnx.com>
|
|
|
|
|
|
2003-02-24 21:40:48 +00:00
|
|
|
|
* MAINTAINERS: Add myself to Write After section.
|
2003-02-24 17:58:21 +00:00
|
|
|
|
|
2003-02-23 20:24:17 +00:00
|
|
|
|
2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
|
|
|
|
|
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
|
|
|
|
|
|
2003-02-22 15:59:49 +00:00
|
|
|
|
2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
|
|
|
|
|
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_init_reggroups): New function.
|
|
|
|
|
(m68hc11_add_reggroups): New function.
|
|
|
|
|
(m68hc11_register_reggroup_p): New to register hard/soft reggroups.
|
|
|
|
|
(m68hc11_gdbarch_init): Install the reggroups.
|
|
|
|
|
(_initialize_m68hc11_tdep): Initialize them.
|
|
|
|
|
|
2003-02-22 00:24:11 +00:00
|
|
|
|
2003-02-21 James E Wilson <wilson@tuliptree.org>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
|
2003-02-21 17:17:31 +00:00
|
|
|
|
2003-02-21 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Add break after default label.
|
|
|
|
|
|
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
2003-02-21 15:24:18 +00:00
|
|
|
|
2003-02-21 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
|
|
|
|
|
* symtab.h: Add opaque declarations of struct axs_value and
|
|
|
|
|
struct agent_expr.
|
|
|
|
|
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
|
|
|
|
|
(struct location_funcs): New type.
|
|
|
|
|
(struct symbol): Add "loc" to aux_value.
|
|
|
|
|
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
|
|
|
|
|
* dwarf2read.c: Include "dwarf2expr.h".
|
|
|
|
|
(dwarf2_symbol_mark_computed): New function.
|
|
|
|
|
(read_func_scope): Use it.
|
|
|
|
|
(var_decode_location): New function.
|
|
|
|
|
(new_symbol): Use it.
|
|
|
|
|
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
|
|
|
|
|
|
|
|
|
|
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
|
|
|
|
|
(dwarf2expr_h, dwarf2loc_h): New variables.
|
|
|
|
|
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
|
|
|
|
|
(dwarf2expr.o, dwarf2loc.o): New rules.
|
|
|
|
|
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
|
|
|
|
|
* buildsym.c (finish_block): Handle LOC_COMPUTED and
|
|
|
|
|
LOC_COMPUTED_ARG.
|
|
|
|
|
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
|
|
|
|
|
* m2-exp.y (yylex): Likewise.
|
|
|
|
|
* printcmd.c (address_info, print_frame_args): Likewise.
|
|
|
|
|
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
|
|
|
|
|
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
|
|
|
|
|
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
|
|
|
|
|
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
|
|
|
|
|
* symtab.c (lookup_block_symbol): Likewise.
|
|
|
|
|
|
2003-02-21 03:00:27 +00:00
|
|
|
|
2003-02-20 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* symtab.h: Remove objc_specific struct
|
|
|
|
|
(SYMBOL_OBJC_DEMANGLED_NAME): Remove.
|
|
|
|
|
* symtab.c (symbol_init_language_specific, symbol_demangled_name):
|
|
|
|
|
Have language_objc use cplus_specific struct.
|
|
|
|
|
|
2003-02-21 02:49:12 +00:00
|
|
|
|
2003-02-20 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
|
|
|
|
|
TYPE_NAME, when printing a String value. PR java/1075.
|
|
|
|
|
|
2003-02-21 02:43:01 +00:00
|
|
|
|
2003-02-20 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
2003-02-21 02:45:50 +00:00
|
|
|
|
* objc-lang.h (find_methods): Remove declaration.
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* objc-lang.c (find_methods): Make static.
|
2003-02-21 02:43:01 +00:00
|
|
|
|
|
2003-02-21 02:29:18 +00:00
|
|
|
|
2003-02-20 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
|
|
|
|
* win32-nat.c (get_image_name): Check return value from
|
|
|
|
|
ReadProcessMemory.
|
|
|
|
|
(child_xfer_memory): Ditto.
|
|
|
|
|
|
2003-02-20 23:38:58 +00:00
|
|
|
|
2003-02-20 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.in (TARGET_SYSTEM_ROOT): Set default to
|
|
|
|
|
${exec_prefix}/${target_alias}/sys-root. Match explicit
|
|
|
|
|
'${exec_prefix}' (in addition to the expansion thereof) as
|
|
|
|
|
relocatable.
|
|
|
|
|
* configure: Rebuilt.
|
|
|
|
|
|
2003-02-20 22:07:38 +00:00
|
|
|
|
2003-02-20 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.c (search_symbols): Revert the search_symbols part of my
|
|
|
|
|
2002-12-23 patch. Add comment.
|
|
|
|
|
|
2003-02-20 18:31:14 +00:00
|
|
|
|
2002-02-20 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
|
|
|
|
|
* dbxread.c (elfstab_build_psymtabs): Don't call
|
|
|
|
|
install_minimal_symbols.
|
|
|
|
|
(stabsect_build_psymtabs): Likewise.
|
|
|
|
|
* elfread.c (elf_symfile_read): Call install_minimal_symbols
|
|
|
|
|
earlier.
|
|
|
|
|
* somread.c (som_symfile_read): Call install_minimal_symbols
|
|
|
|
|
and do_cleanups earlier.
|
|
|
|
|
* nlmread.c (nlm_symfile_read): Likewise.
|
|
|
|
|
* mdebugread.c (elfmdebug_build_psymtabs): Call
|
|
|
|
|
install_minimal_symbols and make appropriate cleanups.
|
|
|
|
|
|
2003-02-20 18:25:27 +00:00
|
|
|
|
2003-02-20 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* solib.c (reload_shared_libraries): New function.
|
|
|
|
|
(_initialize_solib): Add callbacks for ``set solib-search-path''
|
|
|
|
|
and ``set solib-absolute-prefix''.
|
|
|
|
|
|
2003-02-20 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
expand comment.
* ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
* ada-typeprint.c (ada_typedef_print): Ditto.
* ax-gdb.c (gen_var_ref): Ditto.
* breakpoint.c (print_one_breakpoint): Ditto.
* buildsym.c (finish_block): Ditto.
* c-valprint.c (c_val_print): Ditto.
* expprint.c (print_subexp): Ditto.
* findvar.c (locate_var_value): Ditto.
* infcmd.c (jump_command): Ditto.
* linespec.c (decode_line_2, decode_compound): Ditto.
* maint.c (maintenance_translate_address): Ditto.
* objc-lang.c (compare_selectors, compare_classes): Ditto.
* printcmd.c (build_address_symbolic, sym_info, print_frame_args):
Ditto.
* p-valprint.c (pascal_val_print): Ditto.
* stabsread.c (define_symbol): Ditto.
* stack.c (print_frame, frame_info, print_block_frame_locals)
(print_frame_arg_vars, return_command): Ditto.
* symfile.c (compare_symbols, compare_psymbols): Ditto.
* symmisc.c (print_symbol): Ditto.
* symtab.c (lookup_partial_symbol, lookup_block_symbol)
(compare_search_syms, print_symbol_info, print_msymbol_info)
(rbreak_command): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* typeprint.c (typedef_print): Ditto.
* valops.c (value_of_variable, hand_function_call): Ditto.
* cli/cli-cmds.c (edit_command, list_command): Ditto.
* ada-typeprint.c: Update Copyright.
* infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
* tracepoint.c, cli/cli-cmds.c: Ditto.
2003-02-20 17:17:25 +00:00
|
|
|
|
2003-02-20 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
|
|
|
|
|
expand comment.
|
|
|
|
|
* ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
|
|
|
|
|
SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
|
|
|
|
|
* ada-typeprint.c (ada_typedef_print): Ditto.
|
|
|
|
|
* ax-gdb.c (gen_var_ref): Ditto.
|
|
|
|
|
* breakpoint.c (print_one_breakpoint): Ditto.
|
|
|
|
|
* buildsym.c (finish_block): Ditto.
|
|
|
|
|
* c-valprint.c (c_val_print): Ditto.
|
|
|
|
|
* expprint.c (print_subexp): Ditto.
|
|
|
|
|
* findvar.c (locate_var_value): Ditto.
|
|
|
|
|
* infcmd.c (jump_command): Ditto.
|
|
|
|
|
* linespec.c (decode_line_2, decode_compound): Ditto.
|
|
|
|
|
* maint.c (maintenance_translate_address): Ditto.
|
|
|
|
|
* objc-lang.c (compare_selectors, compare_classes): Ditto.
|
|
|
|
|
* printcmd.c (build_address_symbolic, sym_info, print_frame_args):
|
|
|
|
|
Ditto.
|
|
|
|
|
* p-valprint.c (pascal_val_print): Ditto.
|
|
|
|
|
* stabsread.c (define_symbol): Ditto.
|
|
|
|
|
* stack.c (print_frame, frame_info, print_block_frame_locals)
|
|
|
|
|
(print_frame_arg_vars, return_command): Ditto.
|
|
|
|
|
* symfile.c (compare_symbols, compare_psymbols): Ditto.
|
|
|
|
|
* symmisc.c (print_symbol): Ditto.
|
|
|
|
|
* symtab.c (lookup_partial_symbol, lookup_block_symbol)
|
|
|
|
|
(compare_search_syms, print_symbol_info, print_msymbol_info)
|
|
|
|
|
(rbreak_command): Ditto.
|
|
|
|
|
* tracepoint.c (tracepoints_info): Ditto.
|
|
|
|
|
* typeprint.c (typedef_print): Ditto.
|
|
|
|
|
* valops.c (value_of_variable, hand_function_call): Ditto.
|
|
|
|
|
* cli/cli-cmds.c (edit_command, list_command): Ditto.
|
|
|
|
|
* ada-typeprint.c: Update Copyright.
|
|
|
|
|
* infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
|
|
|
|
|
* tracepoint.c, cli/cli-cmds.c: Ditto.
|
|
|
|
|
|
2003-02-20 16:35:51 +00:00
|
|
|
|
2003-02-20 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (generic_unwind_get_saved_register): Make non-static.
|
|
|
|
|
* frame.h (generic_unwind_get_saved_register): Declare.
|
|
|
|
|
* mips-tdep.c (read_next_frame_reg): Fetch register from
|
|
|
|
|
current regcache when frame is NULL.
|
|
|
|
|
(mips_init_extra_frame_info): Pass NULL explicitly for parameter
|
|
|
|
|
that must be NULL.
|
|
|
|
|
(mips_get_saved_register): Call generic_unwind_get_saved_register()
|
|
|
|
|
instead of frame_register_unwind().
|
|
|
|
|
|
2003-02-20 14:37:59 +00:00
|
|
|
|
2003-02-20 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote-sim.c (gdbsim_insert_breakpoint)
|
|
|
|
|
(gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
|
|
|
|
|
code.
|
|
|
|
|
|
2003-02-20 13:43:14 +00:00
|
|
|
|
2003-02-20 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* remote.c (_initialize_remote): Add commands "set/show remote
|
|
|
|
|
hardware-watchpoint-limit" and "set/show remote
|
|
|
|
|
hardware-breakpoint-limit".
|
|
|
|
|
(remote_hw_watchpoint_limit): Initialize to -1.
|
|
|
|
|
(remote_hw_breakpoint_limit): Ditto.
|
|
|
|
|
(remote_check_watch_resources): Treat a limit of -1 as unlimited.
|
|
|
|
|
|
2003-02-20 03:12:46 +00:00
|
|
|
|
2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
|
|
|
|
|
|
|
|
|
|
* coff-pe-read.c: New file - support reading of minimal symbols from a
|
|
|
|
|
portable executable using the export table.
|
|
|
|
|
* coff-pe-read.h: New file.
|
|
|
|
|
* coffread.c: Include coff-pe-read.h.
|
|
|
|
|
(coff_symtab_read): Call read_pe_exported_syms iff no recognized
|
|
|
|
|
debugging symbols found.
|
|
|
|
|
* Makefile.in (SFILES): Add coff-pe-read.o.
|
|
|
|
|
(coff_pe_read_h): Define.
|
|
|
|
|
(COMMON_OBS): Add coff-pe-read.o.
|
|
|
|
|
(coffread.o): Add coff_pe_read_h dependency.
|
|
|
|
|
(coff-pe-read.o): New target.
|
|
|
|
|
|
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
2003-02-20 00:01:07 +00:00
|
|
|
|
2003-02-19 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (SFILES): Add block.c.
|
|
|
|
|
(block_h): New.
|
|
|
|
|
(COMMON_OBS): Add block.o.
|
|
|
|
|
(block.o): New.
|
|
|
|
|
(x86-64-tdep.o): Add $(block_h).
|
|
|
|
|
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
|
|
|
|
|
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
|
|
|
|
|
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
|
|
|
|
|
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
|
|
|
|
|
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
|
|
|
|
|
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
|
|
|
|
|
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
|
|
|
|
|
* value.h: Add opaque declaration for struct block.
|
|
|
|
|
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
|
|
|
|
|
* ada-lang.h: Ditto.
|
|
|
|
|
* x86-64-tdep.c: #include "block.h"
|
|
|
|
|
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
|
|
|
|
|
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
|
|
|
|
|
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
|
|
|
|
|
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
|
|
|
|
|
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
|
|
|
|
|
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
|
|
|
|
|
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
|
|
|
|
|
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
|
|
|
|
|
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
|
|
|
|
|
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
|
|
|
|
|
* symtab.c (block_function): Ditto.
|
|
|
|
|
(contained_in): Ditto.
|
|
|
|
|
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
|
|
|
|
|
block.h. Add opaque declaration for struct block.
|
|
|
|
|
* symtab.h: Move block_function and contained_in declarations to
|
|
|
|
|
block.h. Add opaque declarations for struct block, struct
|
|
|
|
|
blockvector.
|
|
|
|
|
(struct block): Move to block.h.
|
|
|
|
|
(struct blockvector): Ditto.
|
|
|
|
|
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
|
|
|
|
|
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
|
|
|
|
|
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
|
|
|
|
|
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
|
|
|
|
|
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
|
|
|
|
|
Ditto.
|
|
|
|
|
* block.c: New file.
|
|
|
|
|
* block.h: New file.
|
|
|
|
|
|
2003-02-19 20:38:01 +00:00
|
|
|
|
2003-02-19 Theodore A. Roth <troth@openavr.org>
|
|
|
|
|
|
|
|
|
|
* avr-tdep.c (avr_extract_return_value): Remove function.
|
|
|
|
|
(avr_store_return_value): Remove function.
|
|
|
|
|
(avr_extract_struct_value_address): Remove function.
|
|
|
|
|
(avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
|
|
|
|
|
|
2003-02-19 18:57:30 +00:00
|
|
|
|
2003-02-19 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rs6000-tdep.c: Include "gdb_assert.h".
|
|
|
|
|
(registers_e500): Add "acc" and "spefscr".
|
|
|
|
|
(PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
|
|
|
|
|
(rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
|
|
|
|
|
ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
|
|
|
|
|
really is "r0".
|
|
|
|
|
(registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
|
|
|
|
|
|
2003-02-18 23:27:42 +00:00
|
|
|
|
2003-02-18 Keith Seitz <keiths@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Add gdbtk-interps.c.
|
|
|
|
|
|
2003-02-18 22:46:16 +00:00
|
|
|
|
2003-02-18 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c (sparc_frame_chain): Adjust return value.
|
|
|
|
|
* config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
|
|
|
|
|
|
2003-02-18 22:14:26 +00:00
|
|
|
|
2003-02-18 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symtab.h (struct objfile): Add opaque declaration.
|
|
|
|
|
|
2003-02-18 15:41:29 +00:00
|
|
|
|
2003-02-18 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
From Jim Ingham <jingham@apple.com>:
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* dbxread.c (process_one_symbol): Use last_function_start rather
|
|
|
|
|
than function_start_offset to find the real beginning of the
|
|
|
|
|
current function. The latter is just the text section offset on
|
|
|
|
|
some systems, the former is always the real function start.
|
2003-02-18 15:41:29 +00:00
|
|
|
|
|
2003-02-17 21:56:29 +00:00
|
|
|
|
2003-02-17 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: Revert ${target} != ${host}.
|
|
|
|
|
|
2003-02-17 16:58:02 +00:00
|
|
|
|
2003-02-17 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.in (Makefile): Use the test ${target} != ${host},
|
|
|
|
|
instead of the absence of the "nm.h" file, to determine of the
|
|
|
|
|
configuration non-native.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2003-02-14 20:36:58 +00:00
|
|
|
|
2003-02-14 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
From Brian Ford <ford@vss.fsi.com>
|
2003-02-14 20:36:58 +00:00
|
|
|
|
|
|
|
|
|
* cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
|
|
|
|
|
conditionalize tui_active test.
|
|
|
|
|
(lookup_cmd_1): Ditto.
|
|
|
|
|
|
2003-02-14 20:07:00 +00:00
|
|
|
|
2003-02-14 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.in: Add check for _etext.
|
|
|
|
|
* maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
|
|
|
|
|
available.
|
|
|
|
|
* config.in, configure: regenerated.
|
|
|
|
|
|
2003-02-14 19:05:52 +00:00
|
|
|
|
2003-02-14 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
|
|
|
|
|
|
2003-02-14 13:58:06 +00:00
|
|
|
|
2003-02-14 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* main.c (tui_version): Delete variable.
|
|
|
|
|
(captured_main): When --tui, set interpreter_p to "tui" instead of
|
|
|
|
|
enabling tui_version.
|
|
|
|
|
* printcmd.c (display_command) [TUI]: Test tui_active instead of
|
|
|
|
|
tui_version.
|
|
|
|
|
* cli/cli-decode.c (lookup_cmd_composition): Ditto.
|
|
|
|
|
* cli/cli-cmds.c (disassemble_command): Ditto.
|
|
|
|
|
* defs.h (tui_version): Delete declaration.
|
|
|
|
|
* Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
|
|
|
|
|
(tui-interp.o): Add rules.
|
|
|
|
|
(SUBDIR_TUI_OBS): Add "tui-interp.o".
|
|
|
|
|
|
2003-02-14 05:15:43 +00:00
|
|
|
|
2003-02-14 Christopher Faylor <cgf@redhat.com>
|
|
|
|
|
|
2003-02-20 21:33:05 +00:00
|
|
|
|
* win32-nat.c (register_loaded_dll): Correctly set address range for
|
2003-02-14 05:15:43 +00:00
|
|
|
|
just-loaded dll.
|
|
|
|
|
|
2003-02-14 01:13:45 +00:00
|
|
|
|
2003-02-12 Jason Molenda (jmolenda@apple.com)
|
|
|
|
|
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* symmisc.c (print_objfile_statistics): Include information about
|
|
|
|
|
the number of psymtabs and symtabs in each object file.
|
2003-02-14 01:13:45 +00:00
|
|
|
|
|
2003-02-13 18:07:24 +00:00
|
|
|
|
2003-02-13 Keith R Seitz <keiths@redhat.com>
|
|
|
|
|
|
|
|
|
|
* main.h (struct captured_main_args): Add interpreter_p.
|
|
|
|
|
* main.c (captured_main): Initialize interpreter_p from context.
|
|
|
|
|
* gdb.c (main): Set interpreter_p argument.
|
|
|
|
|
* Makefile.in (gdb.o): Add dependency for interps.h.
|
|
|
|
|
|
2003-02-12 15:31:30 +00:00
|
|
|
|
2003-02-12 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* event-top.c (cli_command_loop): Delete declaration.
|
|
|
|
|
(_initialize_event_loop): Delete function setting event_loop_hook.
|
|
|
|
|
* event-top.h (cli_command_loop): Declare. Update copyright.
|
|
|
|
|
(EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
|
|
|
|
|
* interps.c (current_interp_command_loop): When event_loop_p, call
|
|
|
|
|
cli_command_loop.
|
|
|
|
|
|
2003-02-12 15:23:20 +00:00
|
|
|
|
2003-02-12 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* interps.h (interp_command_loop_ftype): Change return type to
|
|
|
|
|
void.
|
|
|
|
|
|
2003-02-11 23:09:59 +00:00
|
|
|
|
2003-02-12 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_extract_return_value)
|
|
|
|
|
(x86_64_store_return_value): Use regcache instead of regbuf.
|
|
|
|
|
(x86_64_gdbarch_init): Change related set_gdbarch_* functions.
|
|
|
|
|
* x86-64-linux-nat.c (fill_gregset): Use regcache.
|
|
|
|
|
|
2003-02-11 16:11:16 +00:00
|
|
|
|
2003-02-11 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
* Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
|
|
|
|
|
TCL_LD_SEARCH_FLAGS.
|
|
|
|
|
|
2003-02-10 11:50:20 +00:00
|
|
|
|
2003-02-10 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* dwarf2cfi.c: Reindented.
|
|
|
|
|
|
2003-02-09 10:47:37 +00:00
|
|
|
|
2003-02-09 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* interps.c (clear_interpreter_hooks): Convert function definition
|
|
|
|
|
to ISO C.
|
|
|
|
|
|
2003-02-08 00:39:53 +00:00
|
|
|
|
2003-02-07 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* gdb_mbuild.sh: Delete extra shift after parsing '-f'.
|
|
|
|
|
|
2003-02-07 21:44:01 +00:00
|
|
|
|
2003-02-07 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbtypes.h (struct main_type): Move ``length'' field from here...
|
|
|
|
|
(struct type): ...to here.
|
|
|
|
|
(TYPE_LENGTH): Adjust to reflect different location of ``length''
|
|
|
|
|
field.
|
|
|
|
|
* gdbtypes.c (make_qualified_type): Set length on newly created type.
|
|
|
|
|
(replace_type): Set length on all type variants for a given type.
|
|
|
|
|
|
2003-02-07 05:33:45 +00:00
|
|
|
|
2003-02-07 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
|
|
|
|
|
<sys/stat.h>.
|
|
|
|
|
* Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
|
|
|
|
|
|
2003-02-07 00:27:31 +00:00
|
|
|
|
2003-02-06 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
2003-02-07 04:49:34 +00:00
|
|
|
|
* Makefile.in (symm-nat.o): Update dependencies.
|
|
|
|
|
(sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
|
|
|
|
|
(lynx-nat.o, ia64-linux-nat.): Ditto.
|
|
|
|
|
* symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
|
|
|
|
|
"gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
|
|
|
|
|
* ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
|
|
|
|
|
|
2003-02-07 04:21:34 +00:00
|
|
|
|
* Makefile.in (inflow_h): Define.
|
|
|
|
|
(procfs.o, inflow.o, procfs.o): Update dependencies.
|
|
|
|
|
* inftarg.c (child_stop): Delete extern declaration of
|
|
|
|
|
inferior_process_group. Include "inflow.h".
|
|
|
|
|
* procfs.c (procfs_stop): Ditto. Include "inflow.h".
|
|
|
|
|
* inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
|
|
|
|
|
* inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
|
|
|
|
|
(our_process_group, inferior_process_group): Extern declarations.
|
|
|
|
|
|
2003-02-07 03:23:20 +00:00
|
|
|
|
* procfs.c: Include "gdb_assert.h".
|
|
|
|
|
|
2003-02-07 00:27:31 +00:00
|
|
|
|
* linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
|
|
|
|
|
* cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
|
|
|
|
|
* jv-typeprint.c (java_type_print_base): Ditto.
|
|
|
|
|
* typeprint.c (typedef_print): Eliminate STREQ.
|
|
|
|
|
* cli/cli-script.c (define_command, define_command): Ditto.
|
|
|
|
|
* main.c (captured_main): Ditto.
|
|
|
|
|
* values.c (lookup_internalvar): Ditto.
|
|
|
|
|
* utils.c (safe_strerror, parse_escape): Eliminate assignment
|
|
|
|
|
within `if' conditional.
|
|
|
|
|
* linespec.c (decode_line_2): Ditto.
|
|
|
|
|
* cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
|
|
|
|
|
(bfd_openw_with_cleanup): Ditto.
|
|
|
|
|
|
2003-02-06 23:20:52 +00:00
|
|
|
|
2003-02-07 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
|
|
|
|
|
legacy_extract_return_value and store_return_value to
|
|
|
|
|
legacy_return_value.
|
|
|
|
|
|
2003-02-06 19:51:25 +00:00
|
|
|
|
2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
|
|
|
|
|
|
|
|
|
|
* win32-nat.c (get_relocated_section_addrs): New function. Find
|
|
|
|
|
section load addresses for symbol handling in relocated DLLs.
|
|
|
|
|
(solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
|
|
|
|
|
|
2003-02-06 17:58:01 +00:00
|
|
|
|
2003-02-05 Fred Fish <fnf@intrinsity.com>
|
|
|
|
|
|
|
|
|
|
* remote-e7000.c (e7000_drain_command): Fix precedence problem with
|
|
|
|
|
'=' and '!='.
|
|
|
|
|
* rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
|
|
|
|
|
with '&' and '=='.
|
|
|
|
|
(angel_RDI_info): Ditto.
|
|
|
|
|
* infttrace.c (threads_continue_all_but_one): Fix precedence problem
|
|
|
|
|
with '&' and '!='.
|
|
|
|
|
(threads_continue_all_with_signals): Ditto.
|
|
|
|
|
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 01:19:12 +00:00
|
|
|
|
2003-02-05 Jim Ingham <jingham@apple.com>
|
2003-05-31 00:27:46 +00:00
|
|
|
|
Keith Seitz <keiths@redhat.com>
|
|
|
|
|
Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
Andrew Cagney <ac131313@redhat.com>
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 01:19:12 +00:00
|
|
|
|
|
|
|
|
|
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
|
|
|
|
|
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
|
|
|
|
|
(SUBDIR_MI_OBS): Add "mi-interp.o".
|
|
|
|
|
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
|
|
|
|
|
(SFILES): Add "interps.c".
|
|
|
|
|
(COMMON_OBS): Add "interps.o".
|
|
|
|
|
(interps_h, mi_main_h): Define.
|
|
|
|
|
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
|
|
|
|
|
(mi-main.o, main.o, event-top.o): Update dependencies.
|
|
|
|
|
* cli/cli-interp.c: New file.
|
|
|
|
|
* interps.h, interps.c: New files.
|
|
|
|
|
* top.c: (gdb_init): Don't install the default interpreter, handed
|
|
|
|
|
by captured_main.
|
|
|
|
|
* main.c: Include "interps.h".
|
|
|
|
|
(interpreter_p): Note that it should malloc'ed.
|
|
|
|
|
(captured_command_loop): Call current_interp_command_loop.
|
|
|
|
|
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
|
|
|
|
|
xfree and xstrdup when updating interpreter_p. Install the
|
|
|
|
|
default interpreter. Add hack to stop mi1's copyright notice
|
|
|
|
|
being encoded.
|
|
|
|
|
* event-top.h (gdb_setup_readline): Declare.
|
|
|
|
|
(gdb_disable_readline): Declare.
|
|
|
|
|
* event-top.c: Include "interps.h".
|
|
|
|
|
(display_gdb_prompt): Call current_interp_display_prompt_p.
|
|
|
|
|
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
|
|
|
|
|
gdb_stdlog, and gdb_stdtarg.
|
|
|
|
|
(_initialize_event_loop): Don't call gdb_setup_readline.
|
|
|
|
|
* cli-out.c (cli_out_set_stream): New function.
|
|
|
|
|
* cli-out.h (cli_out_set_stream): Declare.
|
|
|
|
|
|
2003-02-05 23:14:47 +00:00
|
|
|
|
2003-02-06 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
|
|
|
|
|
i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
|
|
|
|
|
handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
|
|
|
|
|
* config/i386/i386sco5.mt, config/i386/i386v4.mt,
|
|
|
|
|
config/i386/i386v42mp.mt: Removed.
|
|
|
|
|
|
2003-02-05 23:04:16 +00:00
|
|
|
|
2003-02-05 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (*-*-solaris*): Set gdb_osabi to
|
|
|
|
|
GDB_OSABI_SOLARIS.
|
|
|
|
|
|
2003-02-05 17:45:14 +00:00
|
|
|
|
2003-02-05 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* PROBLEMS (i[3456]86-*-linux*): Warn about binutils
|
|
|
|
|
2.12.1 and earlier versions.
|
|
|
|
|
|
2003-02-05 Andrew Cagney <ac131313@redhat.com>
Remove orphaned hosts, targets and files.
* config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
* config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
* config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
* config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
* config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
* config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
* config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
* config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
* config/sparc/tm-sp64sim.h: Delete.
* configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
hosts.
* configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
mips*-dec-mach3* targets.
2003-02-05 15:31:56 +00:00
|
|
|
|
2003-02-05 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
Remove orphaned hosts, targets and files.
|
|
|
|
|
* config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
|
|
|
|
|
* config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
|
|
|
|
|
* config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
|
|
|
|
|
* config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
|
|
|
|
|
* config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
|
|
|
|
|
* config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
|
|
|
|
|
* config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
|
|
|
|
|
* config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
|
|
|
|
|
* config/sparc/tm-sp64sim.h: Delete.
|
|
|
|
|
* configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
|
|
|
|
|
hosts.
|
|
|
|
|
* configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
|
|
|
|
|
mips*-dec-mach3* targets.
|
|
|
|
|
|
2003-02-05 07:58:40 +00:00
|
|
|
|
2003-02-04 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* NEWS: Fix typo: sepcifying -> specifying.
|
|
|
|
|
|
2003-02-05 06:48:55 +00:00
|
|
|
|
2003-02-04 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* dwarfread.c: Add documentation on the state of dwarf-1,
|
|
|
|
|
looking towards obsoletion.
|
|
|
|
|
|
2003-02-05 06:42:08 +00:00
|
|
|
|
2003-02-03 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
|
|
|
|
|
gdb/testsuite/gdb.c++/pr-1023.exp.
|
|
|
|
|
|
2003-02-04 23:59:26 +00:00
|
|
|
|
2003-02-04 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
|
|
|
|
|
* TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
|
|
|
|
|
|
|
|
|
|
* utils.c (init_page_info): Delete reference to MPW in comments.
|
|
|
|
|
* main.c (captured_main): Delete #ifdef MPW.
|
|
|
|
|
|
2003-02-04 23:26:43 +00:00
|
|
|
|
2003-02-04 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Note that the m32r-*-elf* is obsolete.
|
|
|
|
|
* monitor.c (monitor_expect): Obsolete reference to m32r.
|
|
|
|
|
* configure.tgt: Mark m32r-*-elf* as obsolete.
|
|
|
|
|
* MAINTAINERS: Mark m32k as obsolete.
|
|
|
|
|
* m32r-rom.c: Obsolete file.
|
|
|
|
|
* config/m32r/m32r.mt: Obsolete file.
|
|
|
|
|
* config/m32r/tm-m32r.h: Obsolete file.
|
|
|
|
|
* m32r-stub.c: Obsolete file.
|
|
|
|
|
* m32r-tdep.c: Obsolete file.
|
|
|
|
|
|
2003-02-04 23:22:25 +00:00
|
|
|
|
2003-02-04 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention that the z8k-zilog-none is obsolete.
|
|
|
|
|
* MAINTAINERS: Mark z8k as obsolete.
|
|
|
|
|
* configure.tgt: Obsolete the z8k-*-coff* target.
|
|
|
|
|
* config/z8k/z8k.mt: Obsolete file.
|
|
|
|
|
* config/z8k/tm-z8k.h: Obsolete file.
|
|
|
|
|
* z8k-tdep.c: Obsolete file.
|
|
|
|
|
|
2003-02-04 22:49:19 +00:00
|
|
|
|
2003-02-04 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention that the mn10200-elf is obsolete.
|
|
|
|
|
* configure.tgt: Obsolete mn10200-*-* target.
|
|
|
|
|
* breakpoint.c (update_breakpoints_after_exec): Update comment to
|
|
|
|
|
mention that the mn10200 is obsolete.
|
|
|
|
|
* breakpoint.h: Ditto.
|
|
|
|
|
* MAINTAINERS: Mark the mn10200-elf as obsolete.
|
|
|
|
|
* config/mn10200/mn10200.mt: Obsolete file.
|
|
|
|
|
* config/mn10200/tm-mn10200.h: Obsolete file.
|
|
|
|
|
* mn10200-tdep.c: Obsolete file.
|
|
|
|
|
|
2003-02-04 22:04:08 +00:00
|
|
|
|
2003-02-04 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Mark h8500 as obsolete.
|
|
|
|
|
* configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
|
|
|
|
|
* findvar.c (value_from_register): Ditto.
|
|
|
|
|
* h8500-tdep.c: Mark file as obsolete.
|
|
|
|
|
* config/h8500/h8500.mt: Ditto.
|
|
|
|
|
* config/h8500/tm-h8500.h: Ditto.
|
|
|
|
|
* NEWS: Mention that h8500 is obsolete.
|
|
|
|
|
|
2003-02-04 21:55:26 +00:00
|
|
|
|
2003-02-04 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* objfiles.c (allocate_objfile): Always set name. Add comment at
|
|
|
|
|
start of function.
|
|
|
|
|
* jv-lang.c (get_dynamics_objfile): Add comment.
|
|
|
|
|
|
2003-02-04 21:37:03 +00:00
|
|
|
|
2003-02-04 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* symtab.h (SYMBOL_LINKAGE_NAME): Delete.
|
|
|
|
|
* printcmd.c (build_address_symbolic): Replace uses of
|
|
|
|
|
SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
|
|
|
|
|
SYMBOL_NAME, and asm_demangle.
|
|
|
|
|
Update copyright.
|
|
|
|
|
|
2003-02-04 21:24:21 +00:00
|
|
|
|
2003-02-04 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_compound): Extract code into
|
|
|
|
|
lookup_prefix_sym.
|
|
|
|
|
(lookup_prefix_sym): New function.
|
|
|
|
|
|
2003-02-04 21:19:27 +00:00
|
|
|
|
2003-02-04 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
|
|
|
|
|
FLOAT_COERCION_BADNESS.
|
|
|
|
|
* gdbtypes.c (rank_one_type): Replace all uses of
|
|
|
|
|
INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
|
|
|
|
|
|
2003-02-04 20:17:02 +00:00
|
|
|
|
2003-02-04 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dwarf2_locate_sections): When we find a macro info
|
|
|
|
|
section, let dwarf_macinfo_section point to it, not
|
|
|
|
|
dwarf_loc_section.
|
|
|
|
|
|
2003-02-04 18:21:29 +00:00
|
|
|
|
2003-02-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
Pointed out by Anton Blanchard <anton@samba.org>.
|
|
|
|
|
* ppc-linux-tdep.c (insn_is_sigreturn): New function.
|
|
|
|
|
(ppc_linux_at_sigtramp_return_path): Use it.
|
|
|
|
|
|
2003-02-04 18:07:01 +00:00
|
|
|
|
2003-02-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* defs.h (streq): Add prototype.
|
|
|
|
|
* utils.c (streq): New function.
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
|
|
|
|
|
SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
|
|
|
|
|
* mdebugread.c (new_symbol): Likewise.
|
|
|
|
|
* stabsread.c (define_symbol): Likewise.
|
|
|
|
|
* coffread.c (process_coff_symbol): Likewise.
|
|
|
|
|
* dwarfread.c (new_symbol): Likewise.
|
|
|
|
|
|
|
|
|
|
* minsyms.c (prim_record_minimal_symbol_and_info): Use
|
|
|
|
|
SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
|
|
|
|
|
here.
|
|
|
|
|
(install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
|
|
|
|
|
SYMBOL_INIT_DEMANGLED_NAME.
|
|
|
|
|
* objfiles.c: Include "hashtab.h".
|
|
|
|
|
(allocate_objfile): Call htab_set_functions_ex for the
|
|
|
|
|
demangled_names_hash.
|
|
|
|
|
(free_objfile): Call htab_delete for the demangled_names_hash.
|
|
|
|
|
* objfiles.h (struct htab): Add declaration.
|
|
|
|
|
(struct objfile): Add demangled_names_hash.
|
|
|
|
|
* symfile.c: Include "hashtab.h".
|
|
|
|
|
(reread_symbols): Call htab_delete for the demangled_names_hash.
|
|
|
|
|
(add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
|
|
|
|
|
SYMBOL_NAME in the bcache.
|
|
|
|
|
* symtab.c: Include "hashtab.h". Update comments.
|
|
|
|
|
(create_demangled_names_hash, symbol_set_names): New functions.
|
|
|
|
|
(symbol_find_demangled_name): New function, broken out from
|
|
|
|
|
symbol_init_demangled_names.
|
|
|
|
|
(symbol_init_demangled_names): Use it.
|
|
|
|
|
* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
|
|
|
|
|
(SYMBOL_SET_NAMES): New macro.
|
|
|
|
|
(symbol_set_names): Add prototype.
|
|
|
|
|
|
2003-02-03 20:39:41 +00:00
|
|
|
|
2003-02-03 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
Use a single, consistent representation for an empty minimal
|
|
|
|
|
symbol table in an objfile.
|
|
|
|
|
* objfiles.c (terminate_minimal_symbol_table): New function.
|
|
|
|
|
(allocate_objfile): Call it.
|
|
|
|
|
* objfiles.h (terminate_minimal_symbol_table): New declaration.
|
|
|
|
|
(ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
|
|
|
|
|
non-NULL.
|
|
|
|
|
* minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
|
|
|
|
|
objfile has minimal symbols, compare minimal_symbol_count to zero,
|
|
|
|
|
instead of comparing msymbols with NULL.
|
|
|
|
|
* objfiles.c (have_minimal_symbols): Same.
|
|
|
|
|
* solib-sunos.c (solib_add_common_symbols): Call
|
|
|
|
|
terminate_minimal_symbol_table.
|
|
|
|
|
* symfile.c (reread_symbols): Same.
|
|
|
|
|
|
2003-02-03 20:35:44 +00:00
|
|
|
|
2003-02-03 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* s390-tdep.c (s390_address_class_type_flags)
|
|
|
|
|
(s390_address_class_type_flags_to_name)
|
|
|
|
|
(s390_address_class_name_to_type_flags): New functions.
|
|
|
|
|
(s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
|
|
|
|
|
ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
|
|
|
|
|
|
2003-02-03 20:03:00 +00:00
|
|
|
|
2003-02-03 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c: Fix spell-o in comment.
|
|
|
|
|
|
2003-02-03 14:33:20 +00:00
|
|
|
|
2003-02-03 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* dwarf2cfi.c (pointer_encoding): Added new parameter.
|
|
|
|
|
* dwarf2cfi.c, dwarf2read.c: Changed all warnings and
|
|
|
|
|
error messages to contain BFD filename.
|
|
|
|
|
|
2003-02-02 Elena Zannoni <ezannoni@redhat.com>
Fix PR gdb/742 gdb/743
* disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Use
make_cleanup_ui_out_tuple_begin_end and
make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Ditto.
* thread.c (do_captured_list_thread_ids): Ditto.
* ui-out.h (ui_out_table_begin, ui_out_list_begin,
ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
ui_out_tuple_end): Delete prototypes.
* ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
ui_out_list_end, ui_out_tuple_end): Delete.
From Kevin Buettner <kevinb@redhat.com>:
* ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
* ui-out.c (make_cleanup_ui_out_table_begin_end)
(do_cleanup_table_end): New functions.
* breakpoint.c (print_it_typical, print_one_breakpoint, mention):
Use cleanups to invoke_ui_out_tuple_end().
(breakpoint_1): Use cleanup to invoke ui_out_table_end().
* cli/cli-setshow.c (cmd_show_list): Use
make_cleanup_ui_out_tuple_begin_end.
2003-02-03 01:18:37 +00:00
|
|
|
|
2003-02-02 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
2003-02-03 01:22:46 +00:00
|
|
|
|
Fix PR gdb/742 gdb/743 gdb/877
|
2003-02-02 Elena Zannoni <ezannoni@redhat.com>
Fix PR gdb/742 gdb/743
* disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Use
make_cleanup_ui_out_tuple_begin_end and
make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Ditto.
* thread.c (do_captured_list_thread_ids): Ditto.
* ui-out.h (ui_out_table_begin, ui_out_list_begin,
ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
ui_out_tuple_end): Delete prototypes.
* ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
ui_out_list_end, ui_out_tuple_end): Delete.
From Kevin Buettner <kevinb@redhat.com>:
* ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
* ui-out.c (make_cleanup_ui_out_table_begin_end)
(do_cleanup_table_end): New functions.
* breakpoint.c (print_it_typical, print_one_breakpoint, mention):
Use cleanups to invoke_ui_out_tuple_end().
(breakpoint_1): Use cleanup to invoke ui_out_table_end().
* cli/cli-setshow.c (cmd_show_list): Use
make_cleanup_ui_out_tuple_begin_end.
2003-02-03 01:18:37 +00:00
|
|
|
|
* disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
|
|
|
|
|
(do_mixed_source_and_assembly): Use
|
|
|
|
|
make_cleanup_ui_out_tuple_begin_end and
|
|
|
|
|
make_cleanup_ui_out_tuple_begin_end.
|
|
|
|
|
(do_mixed_source_and_assembly): Ditto.
|
|
|
|
|
* thread.c (do_captured_list_thread_ids): Ditto.
|
|
|
|
|
* ui-out.h (ui_out_table_begin, ui_out_list_begin,
|
|
|
|
|
ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
|
|
|
|
|
ui_out_tuple_end): Delete prototypes.
|
|
|
|
|
* ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
|
|
|
|
|
ui_out_list_end, ui_out_tuple_end): Delete.
|
|
|
|
|
|
|
|
|
|
From Kevin Buettner <kevinb@redhat.com>:
|
|
|
|
|
* ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* ui-out.c (make_cleanup_ui_out_table_begin_end)
|
|
|
|
|
(do_cleanup_table_end): New functions.
|
|
|
|
|
* breakpoint.c (print_it_typical, print_one_breakpoint, mention):
|
|
|
|
|
Use cleanups to invoke_ui_out_tuple_end().
|
|
|
|
|
(breakpoint_1): Use cleanup to invoke ui_out_table_end().
|
2003-02-02 Elena Zannoni <ezannoni@redhat.com>
Fix PR gdb/742 gdb/743
* disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Use
make_cleanup_ui_out_tuple_begin_end and
make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Ditto.
* thread.c (do_captured_list_thread_ids): Ditto.
* ui-out.h (ui_out_table_begin, ui_out_list_begin,
ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
ui_out_tuple_end): Delete prototypes.
* ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
ui_out_list_end, ui_out_tuple_end): Delete.
From Kevin Buettner <kevinb@redhat.com>:
* ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
* ui-out.c (make_cleanup_ui_out_table_begin_end)
(do_cleanup_table_end): New functions.
* breakpoint.c (print_it_typical, print_one_breakpoint, mention):
Use cleanups to invoke_ui_out_tuple_end().
(breakpoint_1): Use cleanup to invoke ui_out_table_end().
* cli/cli-setshow.c (cmd_show_list): Use
make_cleanup_ui_out_tuple_begin_end.
2003-02-03 01:18:37 +00:00
|
|
|
|
* cli/cli-setshow.c (cmd_show_list): Use
|
|
|
|
|
make_cleanup_ui_out_tuple_begin_end.
|
|
|
|
|
|
2003-02-02 20:31:43 +00:00
|
|
|
|
2003-02-02 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (frame_unwind_register): New function.
|
|
|
|
|
(frame_unwind_unsigned_register): Use.
|
|
|
|
|
(frame_unwind_signed_register): Use.
|
|
|
|
|
(frame_read_register): New function.
|
|
|
|
|
* frame.h (frame_unwind_register): Declare.
|
|
|
|
|
(frame_read_register): Declare.
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
|
|
|
|
|
and frame_unwind_register instead of read_memory, write_register
|
|
|
|
|
and deprecated_write_register_bytes.
|
|
|
|
|
|
2003-02-02 18:53:22 +00:00
|
|
|
|
2003-02-02 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h: Note that namelen can be negative.
|
|
|
|
|
* frame.c (frame_map_name_to_regnum): When LEN is negative, use
|
|
|
|
|
NAME's length.
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention that the d10v's `regs' command is deprecated.
|
|
|
|
|
* d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
|
|
|
|
|
(d10v_print_registers_info): New function.
|
|
|
|
|
(show_regs): Call d10v_print_registers_info.
|
|
|
|
|
(_initialize_d10v_tdep): Mark "show regs" command as deprecated.
|
|
|
|
|
|
2003-02-02 18:30:56 +00:00
|
|
|
|
2003-02-02 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* stack.c (print_frame_info): Restore call to annotate_frame_begin
|
|
|
|
|
lost in the previous patch.
|
|
|
|
|
|
2003-02-02 05:51:09 +00:00
|
|
|
|
2003-02-01 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
|
2003-05-31 00:27:46 +00:00
|
|
|
|
* stack.c (print_frame_info_base): Output complete FRAME tuple
|
|
|
|
|
for synthesized frames.
|
2003-02-02 05:51:09 +00:00
|
|
|
|
|
2003-02-02 05:46:14 +00:00
|
|
|
|
2003-02-02 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-nat.c (zerobuf): Delete.
|
|
|
|
|
(fetch_inferior_registers): Alloc local zerobuf.
|
|
|
|
|
(fetch_core_registers): Alloc local zerobuf.
|
|
|
|
|
* d10v-tdep.c (show_regs): Don't allocate a dynamic array using
|
|
|
|
|
MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
|
|
|
|
|
* thread-db.c (thread_db_store_registers): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_do_register): Ditto.
|
|
|
|
|
* rom68k-rom.c (rom68k_supply_one_register): Ditto.
|
|
|
|
|
* remote-sim.c (gdbsim_store_register): Ditto.
|
|
|
|
|
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
|
|
|
|
|
* remote-e7000.c (fetch_regs_from_dump): Ditto.
|
|
|
|
|
* monitor.c (monitor_supply_register): Ditto.
|
|
|
|
|
* mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
|
|
|
|
|
* mips-nat.c (fetch_inferior_registers): Ditto.
|
|
|
|
|
* m68klinux-nat.c (fetch_register): Ditto.
|
|
|
|
|
* lynx-nat.c (fetch_inferior_registers): Ditto.
|
|
|
|
|
(fetch_inferior_registers): Ditto.
|
|
|
|
|
* irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
|
|
|
|
|
* hpux-thread.c (hpux_thread_fetch_registers): Ditto.
|
|
|
|
|
(hpux_thread_store_registers): Ditto.
|
|
|
|
|
* hppah-nat.c (fetch_register): Ditto.
|
|
|
|
|
* hppab-nat.c (fetch_register): Ditto.
|
|
|
|
|
* hppa-tdep.c (pa_register_look_aside): Ditto.
|
|
|
|
|
(pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
|
|
|
|
|
* dve3900-rom.c (fetch_bitmapped_register): Ditto.
|
|
|
|
|
|
2003-02-02 03:16:44 +00:00
|
|
|
|
2003-02-01 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh: Explictly specify all method levels. When a
|
|
|
|
|
variable with an empty level, provide a non-multi-arch default.
|
|
|
|
|
(BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
|
|
|
|
|
* gdbarch.h: Re-generate.
|
|
|
|
|
* stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
|
|
|
|
|
* config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
|
|
|
|
|
|
2003-02-01 23:34:05 +00:00
|
|
|
|
2003-02-01 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* defs.h (host_pointer_to_address): Delete declaration.
|
|
|
|
|
(address_to_host_pointer): Delete declaration.
|
|
|
|
|
* utils.c (host_pointer_to_address): Delete function.
|
|
|
|
|
(address_to_host_pointer): Delete function.
|
|
|
|
|
* procfs.c (procfs_address_to_host_pointer): New function.
|
|
|
|
|
* procfs.c (proc_set_watchpoint): Use.
|
|
|
|
|
(procfs_can_use_hw_breakpoint): Update comments.
|
|
|
|
|
* somsolib.c (hpux_address_to_host_pointer_hack): New function.
|
|
|
|
|
(som_solib_add): Use.
|
|
|
|
|
* hppa-tdep.c (hppa_pointer_to_address_hack): New function.
|
|
|
|
|
* hppa-tdep.c (unwind_command): Use.
|
|
|
|
|
|
2003-02-01 20:51:06 +00:00
|
|
|
|
2003-02-01 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
2003-02-01 20:56:57 +00:00
|
|
|
|
* gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
|
|
|
|
|
strlen d_name.
|
|
|
|
|
|
2003-02-01 20:51:06 +00:00
|
|
|
|
* main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
|
|
|
|
|
ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
|
|
|
|
|
(print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
|
|
|
|
|
* stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
|
|
|
|
|
(define_symbol): Update.
|
|
|
|
|
* symfile.c (generic_load): Remove references to nindy.
|
|
|
|
|
* symtab.c: Remove references to nindy.
|
|
|
|
|
|
2003-02-01 17:28:41 +00:00
|
|
|
|
2003-02-01 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcmd.c (print_float_info): Delete code conditional on
|
|
|
|
|
FLOAT_INFO.
|
|
|
|
|
* config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
|
|
|
|
|
* config/m68k/nm-apollo68b.h: Ditto.
|
|
|
|
|
* config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
|
|
|
|
|
* config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
|
|
|
|
|
* config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
|
|
|
|
|
|
2003-02-01 11:32:19 +00:00
|
|
|
|
2003-02-01 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-02-01 12:35:49 +00:00
|
|
|
|
* config/i386/tm-i386os9k.h: Removed.
|
|
|
|
|
|
2003-02-01 12:28:00 +00:00
|
|
|
|
* configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
|
|
|
|
|
Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
|
|
|
|
|
they're identical to i[3456]86-*-sysv* now.
|
|
|
|
|
* config/i386/i386v32.mh: Removed.
|
|
|
|
|
* config/i386/xm-i386v32.h: Removed.
|
|
|
|
|
* config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
|
|
|
|
|
|
2003-02-01 12:08:54 +00:00
|
|
|
|
* config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
|
|
|
|
|
|
2003-02-01 11:45:13 +00:00
|
|
|
|
* config/i386/i386dgux.mh: Removed.
|
|
|
|
|
* configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
|
|
|
|
|
|
2003-02-01 11:32:19 +00:00
|
|
|
|
* configure.in: Fix typo.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-02-01 01:11:57 +00:00
|
|
|
|
2003-01-31 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* dwarf2read.c (dwarf2_locate_sections): Set
|
|
|
|
|
dwarf_ranges_section.
|
|
|
|
|
|
2003-01-31 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Delete nindy files.
* nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
* nindy-share/nindy.c, nindy-share/env.h: Delete files.
* nindy-share/coff.h, nindy-share/block_io.h: Delete files.
* nindy-share/b.out.h, nindy-share/VERSION: Delete files.
* nindy-share/README, nindy-share/Onindy.c: Delete files.
* nindy-tdep.c, nindy-share/Makefile: Delete files.
* Makefile.in (init.c): Remove nindy references.
(saber_gdb): Delete rule.
(ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
and a68v-nat.c.
(hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
(Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
(HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
nindy-share/stop.h.
* hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
* saber.suppress: Delete file.
2003-01-31 20:43:54 +00:00
|
|
|
|
2003-01-31 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
2003-01-31 23:22:07 +00:00
|
|
|
|
* objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
|
|
|
|
|
* utils.c: Update comments documenting legitimate uses of PTR.
|
|
|
|
|
|
2003-01-31 22:45:22 +00:00
|
|
|
|
* utils.c: Re-indent.
|
|
|
|
|
|
2003-01-31 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Delete nindy files.
* nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
* nindy-share/nindy.c, nindy-share/env.h: Delete files.
* nindy-share/coff.h, nindy-share/block_io.h: Delete files.
* nindy-share/b.out.h, nindy-share/VERSION: Delete files.
* nindy-share/README, nindy-share/Onindy.c: Delete files.
* nindy-tdep.c, nindy-share/Makefile: Delete files.
* Makefile.in (init.c): Remove nindy references.
(saber_gdb): Delete rule.
(ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
and a68v-nat.c.
(hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
(Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
(HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
nindy-share/stop.h.
* hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
* saber.suppress: Delete file.
2003-01-31 20:43:54 +00:00
|
|
|
|
* config/djgpp/fnchange.lst: Delete nindy files.
|
|
|
|
|
* nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
|
|
|
|
|
* nindy-share/nindy.c, nindy-share/env.h: Delete files.
|
|
|
|
|
* nindy-share/coff.h, nindy-share/block_io.h: Delete files.
|
|
|
|
|
* nindy-share/b.out.h, nindy-share/VERSION: Delete files.
|
|
|
|
|
* nindy-share/README, nindy-share/Onindy.c: Delete files.
|
|
|
|
|
* nindy-tdep.c, nindy-share/Makefile: Delete files.
|
|
|
|
|
* Makefile.in (init.c): Remove nindy references.
|
|
|
|
|
(saber_gdb): Delete rule.
|
|
|
|
|
(ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
|
|
|
|
|
nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
|
|
|
|
|
and a68v-nat.c.
|
|
|
|
|
(hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
|
|
|
|
|
(Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
|
|
|
|
|
(HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
|
|
|
|
|
nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
|
|
|
|
|
nindy-share/stop.h.
|
|
|
|
|
* hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
|
|
|
|
|
* saber.suppress: Delete file.
|
|
|
|
|
|
2003-01-31 19:22:18 +00:00
|
|
|
|
2003-01-31 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* dbxread.c (stabs_data): New static variable.
|
|
|
|
|
(fill_symbuf): Support an in-memory buffer for stabs data.
|
|
|
|
|
(stabs_seek): New function.
|
|
|
|
|
(dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
|
|
|
|
|
(read_ofile_symtab): Use stabs_seek.
|
|
|
|
|
(elfstab_build_psymtabs): Take an asection* instead of
|
|
|
|
|
an offset and size. Relocate the stabs data if necessary.
|
|
|
|
|
Save the section* for dbx_psymtab_to_symtab.
|
|
|
|
|
* dwarf2read.c: Add section variables for each debug section.
|
|
|
|
|
(dwarf2_locate_sections): Fill them in.
|
|
|
|
|
(dwarf2_read_section): Take an asection* argument.
|
|
|
|
|
Relocate the section contents if necessary.
|
|
|
|
|
(dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
|
|
|
|
|
* dwarf2cfi.c (parse_frame_info): Take a section argument and pass
|
|
|
|
|
it to dwarf2_read_section.
|
|
|
|
|
(dwarf2_build_frame_info): Update callers.
|
|
|
|
|
* elfread.c (elf_symfile_read): Update call to
|
|
|
|
|
elfstab_build_psymtabs.
|
|
|
|
|
* gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
|
|
|
|
|
(DBX_STAB_SECTION): New macro.
|
|
|
|
|
* stabsread.h (elfstab_build_psymtabs): Update prototype.
|
|
|
|
|
* symfile.c (symfile_dummy_outputs): New function.
|
|
|
|
|
(symfile_relocate_debug_section): New function.
|
|
|
|
|
* symfile.h (symfile_relocate_debug_section): Add prototype.
|
|
|
|
|
|
2003-01-31 18:28:25 +00:00
|
|
|
|
2003-01-31 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
|
|
|
|
|
(register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
|
|
|
|
|
(fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
|
|
|
|
|
* alpha-tdep.c (alpha_register_name): Add "unique".
|
|
|
|
|
* alpha-tdep.h (ALPHA_NUM_REGS): Increment.
|
|
|
|
|
(ALPHA_UNIQUE_REGNUM): New.
|
|
|
|
|
* config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
|
|
|
|
|
|
2003-01-31 16:32:45 +00:00
|
|
|
|
2003-01-31 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README: Remove reference to Ericsson 1800 monitor.
|
|
|
|
|
* Makefile.in (remote-es.o): Delete rule.
|
|
|
|
|
(ALLDEPFILES): Delete remote-es.c.
|
|
|
|
|
* remote-es.c: Delete file.
|
|
|
|
|
* config/m68k/es1800.mt: Delete file.
|
|
|
|
|
* config/djgpp/fnchange.lst: Update.
|
|
|
|
|
* configure.tgt: Delete m68*-ericsson-* target.
|
|
|
|
|
|
2003-01-31 15:22:57 +00:00
|
|
|
|
2003-01-31 Adam Fedor <fedor@gnu.org>
|
|
|
|
|
|
|
|
|
|
* infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
|
|
|
|
|
Remove duplicate/shadowing variable of same name.
|
|
|
|
|
|
2003-01-30 21:45:07 +00:00
|
|
|
|
2003-01-30 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symfile.c (find_separate_debug_file): Assert that the objfile's
|
|
|
|
|
directory name we compute ends with a slash, and then assume that
|
|
|
|
|
that's so everywhere we use it.
|
|
|
|
|
|
2003-01-30 16:44:20 +00:00
|
|
|
|
2003-01-30 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* valops.c (value_assign): Flush frame cache after stores to memory
|
|
|
|
|
also.
|
|
|
|
|
|
2003-01-30 16:29:03 +00:00
|
|
|
|
2003-01-30 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (mon960-rom.o): Delete rule.
|
|
|
|
|
* mon960-rom.c: Delete file.
|
|
|
|
|
|
2003-01-30 15:11:20 +00:00
|
|
|
|
2003-01-30 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c: Include "frame-unwind.h".
|
|
|
|
|
(d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
|
|
|
|
|
list.
|
|
|
|
|
(next_addr, uses_frame): Delete.
|
|
|
|
|
(struct d10v_unwind_cache): Define.
|
|
|
|
|
(prologue_find_regs): Add struct d10v_unwind_cache info parameter.
|
|
|
|
|
Use info instead of next_addr and uses_frame globals.
|
|
|
|
|
(d10v_frame_init_saved_regs): Delete function.
|
|
|
|
|
(d10v_init_extra_frame_info): Delete function.
|
|
|
|
|
(d10v_gdbarch_init): Do not initialize init_extra_frame_info,
|
|
|
|
|
frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
|
|
|
|
|
init_frame_pc or frame_saved_pc.
|
|
|
|
|
(d10v_pop_frame): Delete function.
|
|
|
|
|
(do_d10v_pop_frame): Delete function.
|
|
|
|
|
(d10v_frame_chain): Delete function.
|
|
|
|
|
(d10v_frame_chain_valid): Delete function.
|
|
|
|
|
(d10v_frame_pc_unwind): New function.
|
|
|
|
|
(d10v_frame_id_unwind): New function.
|
|
|
|
|
(saved_regs_unwinder): New function.
|
|
|
|
|
(d10v_frame_register_unwind): New function.
|
|
|
|
|
(d10v_frame_pop): New function.
|
|
|
|
|
(d10v_frame_unwind): New variable.
|
|
|
|
|
(d10v_frame_p): New function.
|
|
|
|
|
(d10v_frame_saved_pc): Delete function.
|
|
|
|
|
* Makefile.in (d10v-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-01-30 05:48:26 +00:00
|
|
|
|
2003-01-30 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
|
|
|
|
|
causing some regressions due to a change in the default value
|
|
|
|
|
for this macro.
|
|
|
|
|
|
2003-01-30 01:51:48 +00:00
|
|
|
|
2003-01-29 Richard Henderson <rth@redhat.com>
|
|
|
|
|
Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
Fix PR gdb/961.
|
|
|
|
|
* dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
|
|
|
|
|
variables.
|
|
|
|
|
(RANGES_SECTION): New.
|
|
|
|
|
(dwarf_ranges_buffer): New variable.
|
|
|
|
|
(struct comp_unit_head): Add member "die".
|
|
|
|
|
(struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
|
|
|
|
|
(DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
|
|
|
|
|
(dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
|
|
|
|
|
(dwarf2_locate_sections): Likewise.
|
|
|
|
|
(dwarf2_build_psymtabs): Read .debug_ranges.
|
|
|
|
|
(dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
|
|
|
|
|
(psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
|
|
|
|
|
(dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
|
|
|
|
|
Look for DW_AT_ranges and return the bounding box.
|
|
|
|
|
|
2003-01-30 01:39:52 +00:00
|
|
|
|
2003-01-29 Brian Ford <ford@vss.fsi.com>
|
|
|
|
|
|
|
|
|
|
* win32-nat.c (cygwin_pid): Removed as unused.
|
|
|
|
|
(child_attach): Try fall back to Cygwin pid.
|
|
|
|
|
|
2003-01-29 23:46:39 +00:00
|
|
|
|
2003-01-29 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objfiles.h (struct objfile): Doc fix.
|
|
|
|
|
|
2003-01-29 18:07:07 +00:00
|
|
|
|
2003-01-29 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
|
|
|
|
|
(legacy_get_prev_frame): Assert FRAME_CHAIN_P.
|
|
|
|
|
(get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
|
|
|
|
|
(frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
|
|
|
|
|
* gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
|
|
|
|
|
(FRAME_SAVED_PC): Change to a function with predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Re-generate.
|
|
|
|
|
|
2003-01-28 19:53:25 +00:00
|
|
|
|
2003-01-28 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
2003-01-29 15:56:11 +00:00
|
|
|
|
* hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
|
|
|
|
|
|
2003-01-28 19:53:25 +00:00
|
|
|
|
* complaints.c (complain): Delete function.
|
|
|
|
|
* complaints.h (struct deprecated_complaint): Delete definition.
|
|
|
|
|
(complain): Delete declaration.
|
|
|
|
|
|
2003-01-28 16:31:11 +00:00
|
|
|
|
2003-01-28 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (mips_init_extra_frame_info): Return early for
|
|
|
|
|
dummy frames.
|
|
|
|
|
|
2003-01-27 21:41:41 +00:00
|
|
|
|
2003-01-27 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sentinel-frame.h, sentinel-frame.c: New files.
|
|
|
|
|
* Makefile.in (frame.o): Update dependencies.
|
|
|
|
|
(SFILES): Add sentinel-frame.c.
|
|
|
|
|
(sentinel_frame_h): Define.
|
|
|
|
|
(COMMON_OBS): Add sentinel-frame.o.
|
|
|
|
|
(sentinel-frame.o): Specify dependencies.
|
|
|
|
|
* frame.c: Include "sentinel-frame.h".
|
|
|
|
|
(frame_register_unwind): Rewrite assuming that there is always a a
|
|
|
|
|
->next frame.
|
|
|
|
|
(frame_register, generic_unwind_get_saved_register): Ditto.
|
|
|
|
|
(frame_read_unsigned_register, frame_read_signed_register): Ditto.
|
|
|
|
|
(create_sentinel_frame, unwind_to_current_frame): New functions.
|
|
|
|
|
(get_current_frame): Rewrite using create_sentinel_frame and
|
|
|
|
|
unwind_to_current_frame. When possible, always create a frame.
|
|
|
|
|
(create_new_frame): Set next to the sentinel frame.
|
|
|
|
|
(get_next_frame): Rewrite. Don't go below the level 0 frame.
|
|
|
|
|
(deprecated_update_frame_pc_hack): Update the next frame's PC and
|
|
|
|
|
ID cache when necessary.
|
|
|
|
|
(frame_saved_regs_id_unwind): Use frame_relative_level.
|
|
|
|
|
(deprecated_generic_get_saved_register): Use frame_relative_level,
|
|
|
|
|
get_frame_saved_regs, get_frame_pc, get_frame_base and
|
|
|
|
|
get_next_frame.
|
|
|
|
|
(frame_saved_regs_register_unwind): Use get_frame_saved_regs and
|
|
|
|
|
frame_register.
|
|
|
|
|
|
2003-01-27 21:16:06 +00:00
|
|
|
|
2003-01-27 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
|
|
|
|
|
|
2003-01-27 20:25:35 +00:00
|
|
|
|
2003-01-27 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
|
|
|
|
|
(maintenance_set_profile_cmd): Use error () instead of warning ().
|
|
|
|
|
|
2003-01-27 14:36:56 +00:00
|
|
|
|
2003-01-27 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: Check that -pg works if using --enable-profiling.
|
|
|
|
|
Check for monstartup and _mcleanup regardless of --enable-profiling.
|
|
|
|
|
* maint.c: Check for monstartup and _mcleanup before using them.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-02-03 14:38:05 +00:00
|
|
|
|
2003-01-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Add sh2e support:
|
|
|
|
|
|
|
|
|
|
2002-04-02 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdb/sh-tdep.c (sh_sh2e_register_name): New.
|
|
|
|
|
(sh2e_show_regs): New.
|
|
|
|
|
(sh_gdbarch_init): Handle bfd_mach_sh2e.
|
|
|
|
|
* config/sh/tm-sh.h: Added sh2e to comments.
|
|
|
|
|
|
2003-01-23 23:17:28 +00:00
|
|
|
|
2003-01-23 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* symfile.c (syms_from_objfile): Don't print the "(no debugging
|
|
|
|
|
symbols found)" message here; we haven't checked for a separate
|
|
|
|
|
debug info file yet, so we don't know yet.
|
|
|
|
|
(symbol_file_add_with_addrs_or_offsets): Print it here, after
|
|
|
|
|
we've looked everywhere. Also, there's no need to print a special
|
|
|
|
|
message when we're loading the separate debug info file: the one
|
|
|
|
|
symbol_file_add prints is fine.
|
|
|
|
|
|
gdb/ChangeLog:
2003-01-23 Alexander Larsson <alexl@redhat.com>
Jim Blandy <jimb@redhat.com>
Add support for executables whose debug info has been separated
out into a separate file, leaving only a link behind.
* objfiles.h (struct objfile): New fields: separate_debug_objfile
and separate_debug_objfile_backlink.
(put_objfile_before): New declaration.
* symfile.c: #include "filenames.h".
(symbol_file_add_with_addrs_or_offsets): If this objfile has its
debug info in a separate file, read that, too. Save the addrs
argument, so we can use it again to read the separated debug info;
syms_from_objfile modifies the table we pass it.
(reread_symbols): After re-reading an objfile, call
reread_separate_symbols to refresh its separate debug info
objfile, if it has one.
(reread_separate_symbols, find_separate_debug_file,
get_debug_link_info, separate_debug_file_exists): New functions.
(debug_file_directory): New global var.
(_initialize_symfile): Initialize debug_file_directory, and
provide the new `set debug-file-directory' command to let the user
change it.
* objfiles.c (free_objfile): If this objfile has its debug info in
a separate objfile, free that one too. If this is itself a
separate debug info objfile, clear our parent's backlink.
(put_objfile_before): New function.
* utils.c (gnu_debuglink_crc32): New function.
* defs.h (gnu_debuglink_crc32): New declaration.
* Makefile.in (symfile.o): Note dependency on "filenames.h".
* configure.in: Handle --with-separate-debug-dir config option.
* acinclude.m4 (AC_DEFINE_DIR): New macro.
* acconfig.h (DEBUGDIR): New macro.
* configure, aclocal.m4, config.in: Regenerated.
gdb/doc/ChangeLog:
2003-01-23 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Separate Debug Files): New section.
2003-01-23 23:03:32 +00:00
|
|
|
|
2003-01-23 Alexander Larsson <alexl@redhat.com>
|
|
|
|
|
Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
|
|
Add support for executables whose debug info has been separated
|
|
|
|
|
out into a separate file, leaving only a link behind.
|
|
|
|
|
* objfiles.h (struct objfile): New fields: separate_debug_objfile
|
|
|
|
|
and separate_debug_objfile_backlink.
|
|
|
|
|
(put_objfile_before): New declaration.
|
|
|
|
|
* symfile.c: #include "filenames.h".
|
|
|
|
|
(symbol_file_add_with_addrs_or_offsets): If this objfile has its
|
|
|
|
|
debug info in a separate file, read that, too. Save the addrs
|
|
|
|
|
argument, so we can use it again to read the separated debug info;
|
|
|
|
|
syms_from_objfile modifies the table we pass it.
|
|
|
|
|
(reread_symbols): After re-reading an objfile, call
|
|
|
|
|
reread_separate_symbols to refresh its separate debug info
|
|
|
|
|
objfile, if it has one.
|
|
|
|
|
(reread_separate_symbols, find_separate_debug_file,
|
|
|
|
|
get_debug_link_info, separate_debug_file_exists): New functions.
|
|
|
|
|
(debug_file_directory): New global var.
|
|
|
|
|
(_initialize_symfile): Initialize debug_file_directory, and
|
|
|
|
|
provide the new `set debug-file-directory' command to let the user
|
|
|
|
|
change it.
|
|
|
|
|
* objfiles.c (free_objfile): If this objfile has its debug info in
|
|
|
|
|
a separate objfile, free that one too. If this is itself a
|
|
|
|
|
separate debug info objfile, clear our parent's backlink.
|
|
|
|
|
(put_objfile_before): New function.
|
|
|
|
|
* utils.c (gnu_debuglink_crc32): New function.
|
|
|
|
|
* defs.h (gnu_debuglink_crc32): New declaration.
|
|
|
|
|
* Makefile.in (symfile.o): Note dependency on "filenames.h".
|
|
|
|
|
* configure.in: Handle --with-separate-debug-dir config option.
|
|
|
|
|
* acinclude.m4 (AC_DEFINE_DIR): New macro.
|
|
|
|
|
* acconfig.h (DEBUGDIR): New macro.
|
|
|
|
|
* configure, aclocal.m4, config.in: Regenerated.
|
|
|
|
|
|
2003-01-23 07:30:18 +00:00
|
|
|
|
2003-01-22 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
2003-01-23 08:06:36 +00:00
|
|
|
|
* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
|
|
|
|
|
like the old symbol_file_add, but taking new arguments: you can
|
|
|
|
|
now pass in either a `struct section_addr_info' list to say where
|
|
|
|
|
each section is loaded, or a `struct section_offsets' table. Pass
|
|
|
|
|
these new arguments through to syms_from_objfile as appropriate.
|
|
|
|
|
(symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
|
|
|
|
|
with the appropriate quiescent values for the new arguments.
|
|
|
|
|
|
2003-01-23 07:30:18 +00:00
|
|
|
|
* symfile.c: #include "gdb_assert.h".
|
|
|
|
|
(syms_from_objfile): Add the ability to pass in a section offset
|
|
|
|
|
table directly, as an alternative to the section_addr_info table.
|
|
|
|
|
Document arguments better.
|
|
|
|
|
(symbol_file_add): Pass extra arguments to syms_from_objfile.
|
|
|
|
|
* symfile.h (syms_from_objfile): Update declaration.
|
|
|
|
|
* rs6000-nat.c (objfile_symbol_add): Pass new arguments to
|
|
|
|
|
syms_from_objfile.
|
|
|
|
|
* Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
|
|
|
|
|
|
2003-01-22 23:50:35 +00:00
|
|
|
|
2003-01-22 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
Original patch by Tom Tromey <tromey@cygnus.com> and
|
|
|
|
|
Jason Molenda <jmolenda@apple.com>.
|
|
|
|
|
* Makefile.in (PROFILE_CFLAGS): Substitute from configure.
|
|
|
|
|
(INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
|
|
|
|
|
* NEWS: Mention profiling.
|
|
|
|
|
* configure.in (--enable-gdbtk): Fix typo.
|
|
|
|
|
(--enable-profiling): New. Set PROFILE_CFLAGS.
|
|
|
|
|
* maint.c (maintenance_set_profile_cmd): Remove NOTYET.
|
|
|
|
|
Fill in function.
|
|
|
|
|
(profiling_state): New variable.
|
|
|
|
|
(mcleanup_wrapper): New function.
|
|
|
|
|
(_initialize_maint): Remove NOTYET, fix call to
|
|
|
|
|
add_setshow_boolean_cmd for "maint set profile".
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-21 21:39:31 +00:00
|
|
|
|
2003-01-21 Martin M. Hunt <hunt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (install-gdbtk): Install PNG images too.
|
|
|
|
|
|
2003-01-21 19:43:48 +00:00
|
|
|
|
2003-01-21 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* exec.c (text_start): Delete global variable.
|
|
|
|
|
(exec_file_attach): Make text_start local to the function.
|
|
|
|
|
* inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
|
|
|
|
|
* valops.c (hand_function_call): Delete code that handles
|
|
|
|
|
BEFORE_TEXT_END and AFTER_TEXT_END.
|
|
|
|
|
* gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
|
|
|
|
|
of CALL_DUMMY_LOCATION.
|
|
|
|
|
* gdbarch.c: Regenerate.
|
|
|
|
|
* inferior.h (deprecated_pc_in_call_dummy_before_text_end)
|
|
|
|
|
(deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
|
|
|
|
|
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
|
|
|
|
|
(deprecated_pc_in_call_dummy_after_text_end): Delete functions.
|
|
|
|
|
(text_end): Delete extern declaration.
|
|
|
|
|
|
2003-01-21 19:32:42 +00:00
|
|
|
|
2003-01-21 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (FRAME_OBSTACK_ZALLOC): Define.
|
|
|
|
|
* blockframe.c (backtrace_below_main): Move to "frame.c".
|
|
|
|
|
(frame_chain_valid): Delete check for backtrace_below_main.
|
|
|
|
|
(_initialize_blockframe): Delete initialization, move ``set
|
|
|
|
|
backtrace-below-main'' command to "frame.c".
|
|
|
|
|
(do_flush_frames_sfunc): Delete function.
|
|
|
|
|
* frame.c: Include "command.h" and "gdbcmd.h".
|
|
|
|
|
(frame_type_from_pc): New function.
|
|
|
|
|
(create_new_frame): Use frame_type_from_pc.
|
|
|
|
|
(legacy_get_prev_frame): New function.
|
|
|
|
|
(get_prev_frame): Rewrite. When an old style frame, call
|
|
|
|
|
legacy_get_prev_frame. Otherwize, unwind the PC first.
|
|
|
|
|
(_initialize_frame): Add ``set backtrace-below-main'' command.
|
|
|
|
|
* Makefile.in (frame.o): Update dependencies.
|
|
|
|
|
|
2003-01-20 01:01:47 +00:00
|
|
|
|
2003-01-19 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
|
|
|
|
|
DEPRECATED_REGISTERS_INFO.
|
|
|
|
|
|
2003-01-20 00:46:42 +00:00
|
|
|
|
2003-01-19 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Replace `Blanket Write Privs' with `Global
|
|
|
|
|
Maintainers'. Update `Various Maintainers'.
|
|
|
|
|
|
2003-01-19 23:27:28 +00:00
|
|
|
|
2003-01-19 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
|
|
|
|
|
* gdbarch.sh (POP_FRAME): Change to function with predicate.
|
|
|
|
|
Suppress actual parameters when `-'.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
|
2003-01-19 22:24:50 +00:00
|
|
|
|
2003-01-19 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
|
|
|
|
|
code handling dummy frames.
|
|
|
|
|
|
2003-01-19 17:39:16 +00:00
|
|
|
|
2003-01-19 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame-unwind.h (frame_unwind_pop_ftype): Declare.
|
|
|
|
|
(struct frame_unwind): Add field pop.
|
|
|
|
|
* frame.h (frame_pop): Declare.
|
|
|
|
|
* frame.c (frame_saved_regs_pop): New function.
|
|
|
|
|
(trad_frame_unwinder): Add frame_saved_regs_pop.
|
|
|
|
|
(frame_pop): New function.
|
|
|
|
|
* dummy-frame.c (dummy_frame_pop): New function.
|
|
|
|
|
(discard_innermost_dummy): New function.
|
|
|
|
|
(generic_pop_dummy_frame): Use discard_innermost_dummy.
|
|
|
|
|
(dummy_frame_unwind): Add dummy_frame_pop.
|
|
|
|
|
* infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
|
|
|
|
|
* valops.c (hand_function_call): Ditto.
|
|
|
|
|
* stack.c (return_command): Ditto.
|
|
|
|
|
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* cris-tdep.c: Fix function declaration indentation.
* dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
* mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
* rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
* symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
* xcoffread.c, config/pa/tm-hppa.h: Ditto.
* config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
2003-01-19 04:06:47 +00:00
|
|
|
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cris-tdep.c: Fix function declaration indentation.
|
|
|
|
|
* dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
|
|
|
|
|
* mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
|
|
|
|
|
* rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
|
|
|
|
|
* symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
|
|
|
|
|
* xcoffread.c, config/pa/tm-hppa.h: Ditto.
|
|
|
|
|
* config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
|
|
|
|
|
|
|
|
|
|
2003-01-18 Michael Chastain <mec@shout.net>
|
2003-01-18 17:43:14 +00:00
|
|
|
|
|
|
|
|
|
* README (Unpacking and Installation -- quick overview):
|
|
|
|
|
Warn against ".../gdb-5.3/gdb/configure".
|
|
|
|
|
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.
2003-01-18 17:25:23 +00:00
|
|
|
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
|
|
|
|
|
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
|
|
|
|
|
(struct frame_unwind): Declare opaque.
|
|
|
|
|
(dummy_frame_p): Declare function.
|
|
|
|
|
* dummy-frame.c (dummy_frame_id_unwind): Make static.
|
|
|
|
|
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
|
|
|
|
|
* dummy-frame.c: Include "frame-unwind.h".
|
|
|
|
|
(dummy_frame_p): New function.
|
|
|
|
|
(dummy_frame_unwind): New variable.
|
|
|
|
|
* frame.c: Include "frame-unwind.h".
|
|
|
|
|
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
|
|
|
|
|
to use the new unwind field.
|
|
|
|
|
(set_unwind_by_pc): Delete function.
|
|
|
|
|
(create_new_frame, get_prev_frame): Set unwind field using
|
|
|
|
|
frame_unwind_find_by_pc.
|
|
|
|
|
(trad_frame_unwind, trad_frame_unwinder): New variables.
|
|
|
|
|
* frame.h (trad_frame_unwind): Declare variable.
|
|
|
|
|
(frame_id_unwind_ftype): Delete declaration.
|
|
|
|
|
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
|
|
|
|
|
(struct frame_unwind): Declare opaque.
|
|
|
|
|
(struct frame_info): Replace the fields id_unwind, pc_unwind and
|
|
|
|
|
register_unwind with a single unwind pointer.
|
|
|
|
|
* frame-unwind.h, frame-unwind.c: New files.
|
|
|
|
|
* Makefile.in (SFILES): Add frame-unwind.c.
|
|
|
|
|
(frame_unwind_h): Define.
|
|
|
|
|
(COMMON_OBS): Add frame-unwind.o.
|
|
|
|
|
(frame-unwind.o): Specify dependencies.
|
|
|
|
|
(frame.o, dummy-frame.o): Update dependencies.
|
|
|
|
|
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* ada-valprint.c: Eliminate PTR.
* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
2003-01-18 15:55:53 +00:00
|
|
|
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ada-valprint.c: Eliminate PTR.
|
|
|
|
|
* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
|
|
|
|
|
* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
|
|
|
|
|
* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
|
|
|
|
|
* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
|
|
|
|
|
* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
|
|
|
|
|
* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
|
|
|
|
|
* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
|
|
|
|
|
|
2003-01-17 16:56:52 +00:00
|
|
|
|
2003-01-17 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
2003-01-17 19:12:19 +00:00
|
|
|
|
* main.c (captured_main): Don't use PTR.
|
|
|
|
|
* cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
|
|
|
|
|
* gdbtypes.c (lookup_primitive_typename): Ditto.
|
|
|
|
|
(lookup_struct_elt_type): Ditto.
|
|
|
|
|
* f-valprint.c (info_common_command): Ditto.
|
|
|
|
|
(list_all_visible_commons): Ditto.
|
|
|
|
|
* jv-typeprint.c (java_type_print_base): Ditto.
|
|
|
|
|
|
2003-01-17 16:56:52 +00:00
|
|
|
|
* config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
|
|
|
|
|
mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
|
|
|
|
|
Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
|
|
|
|
|
i386-interix-nat.c and i386-interix-tdep.c. Rename
|
|
|
|
|
m68klinux-nat.c and m68klinux-tdep.c. Rename
|
|
|
|
|
config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
|
|
|
|
|
bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
|
|
|
|
|
gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
|
|
|
|
|
* main.c (captured_main): Use xfree, not free.
|
|
|
|
|
|
2003-01-16 16:54:57 +00:00
|
|
|
|
2003-01-16 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (frame_id_unwind_ftype): Change type so that the frame's
|
|
|
|
|
ID back using a parameter.
|
|
|
|
|
* frame.c (frame_id_unwind): Update call.
|
|
|
|
|
(frame_saved_regs_id_unwind): Update.
|
|
|
|
|
* dummy-frame.c (dummy_frame_id_unwind): Update function.
|
|
|
|
|
* dummy-frame.h (struct frame_id): Add opaque declaration.
|
|
|
|
|
(dummy_frame_id_unwind): Update declaration.
|
|
|
|
|
|
2003-01-15 19:35:28 +00:00
|
|
|
|
2003-01-15 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
|
|
|
|
|
|
2003-01-15 21:06:33 +00:00
|
|
|
|
2003-01-15 Stephen P. Smith <ischis2@cox.net>
|
2003-01-15 15:54:04 +00:00
|
|
|
|
|
2003-01-15 21:06:33 +00:00
|
|
|
|
* MAINTAINERS (Stephen P. Smith): Updated email address.
|
2003-01-15 15:54:04 +00:00
|
|
|
|
|
2003-01-15 00:48:38 +00:00
|
|
|
|
2003-01-14 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
2003-02-03 01:22:46 +00:00
|
|
|
|
Fix PR gdb/898
|
2003-01-15 00:48:38 +00:00
|
|
|
|
* breakpoint.c (until_break_command): Add new argument. Use it to
|
|
|
|
|
decide whether to stop only at the current frame or not.
|
|
|
|
|
* breakpoint.h (until_break_command): Update prototype.
|
|
|
|
|
* infcmd.c (until_command): Add new argument to until_break_command
|
|
|
|
|
call.
|
|
|
|
|
(advance_command): New function.
|
|
|
|
|
(_initialize_infcmd): Update help string for 'until' command.
|
|
|
|
|
Add new 'advance' command.
|
|
|
|
|
|
2003-01-14 20:48:50 +00:00
|
|
|
|
2003-01-14 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_1): Normalize comments.
|
|
|
|
|
(set_flags): Ditto.
|
|
|
|
|
(locate_first_half): Ditto.
|
|
|
|
|
(decode_compound): Ditto.
|
|
|
|
|
(symtab_from_filename): Ditto.
|
|
|
|
|
(decode_all_digits): Ditto.
|
|
|
|
|
(decode_dollar): Ditto.
|
|
|
|
|
(find_methods): Ditto.
|
|
|
|
|
(find_toplevel_char): Ditto.
|
|
|
|
|
|
2003-01-13 Andrew Cagney <ac131313@redhat.com>
* ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
* demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
* elfread.c, eval.c, expprint.c, expression.h: Update copyright.
* f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
* gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
* language.c, language.h, m32r-tdep.c: Update copyright.
* mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
* somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
* thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
* values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
* x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
* cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
Index: mi/ChangeLog
2003-01-13 Andrew Cagney <ac131313@redhat.com>
* mi-cmd-env.c: Update copyright.
2003-01-14 00:49:06 +00:00
|
|
|
|
2003-01-13 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
|
|
|
|
|
* demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
|
|
|
|
|
* elfread.c, eval.c, expprint.c, expression.h: Update copyright.
|
|
|
|
|
* f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
|
|
|
|
|
* gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
|
|
|
|
|
* language.c, language.h, m32r-tdep.c: Update copyright.
|
|
|
|
|
* mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
|
|
|
|
|
* somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
|
|
|
|
|
* thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
|
|
|
|
|
* values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
|
|
|
|
|
* x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
|
|
|
|
|
* cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
|
|
|
|
|
|
2003-01-13 Elena Zannoni <ezannoni@redhat.com>
* stabsread.h (process_later, resolve_cfront_continuation):
Obsolete.
Update copyright years.
* buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
Update copyright year.
* dbxread.c(struct cont_elem): Obsolete.
(process_later, process_now): Obsolete functions.
(read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
Update copyright year.
* gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
(add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
* mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
(parse_partial_symbols): Obsolete cfront support.
* stabsread.c
(CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
macros.
(get_substring, get_cfront_method_physname, msg_unknown_complaint,
read_cfront_baseclasses, read_cfront_member_functions,
resolve_cfront_continuation,read_cfront_static_fields,
copy_cfront_struct_fields): Obsolete functions.
(define_symbol, read_one_struct_field): Obsolete cfront support.
* xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
Update Copyright year.
2003-01-14 00:15:05 +00:00
|
|
|
|
2003-01-13 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* stabsread.h (process_later, resolve_cfront_continuation):
|
|
|
|
|
Obsolete.
|
|
|
|
|
Update copyright years.
|
|
|
|
|
* buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
|
|
|
|
|
Update copyright year.
|
|
|
|
|
* dbxread.c(struct cont_elem): Obsolete.
|
|
|
|
|
(process_later, process_now): Obsolete functions.
|
|
|
|
|
(read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
|
|
|
|
|
Update copyright year.
|
|
|
|
|
* gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
|
|
|
|
|
(add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
|
|
|
|
|
* mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
|
|
|
|
|
(parse_partial_symbols): Obsolete cfront support.
|
|
|
|
|
* stabsread.c
|
|
|
|
|
(CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
|
|
|
|
|
macros.
|
|
|
|
|
(get_substring, get_cfront_method_physname, msg_unknown_complaint,
|
|
|
|
|
read_cfront_baseclasses, read_cfront_member_functions,
|
|
|
|
|
resolve_cfront_continuation,read_cfront_static_fields,
|
|
|
|
|
copy_cfront_struct_fields): Obsolete functions.
|
|
|
|
|
(define_symbol, read_one_struct_field): Obsolete cfront support.
|
|
|
|
|
* xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
|
|
|
|
|
Update Copyright year.
|
|
|
|
|
|
2003-01-13 Elena Zannoni <ezannoni@redhat.com>
* stack.c (print_frame_info, print_stack_frame_base_stub,
print_stack_frame_base, show_and_print_stack_frame_stub,
show_and_print_stack_frame, print_only_stack_frame_stub,
print_only_stack_frame): Delete functions.
(print_stack_frame_stub): Call print_frame_info instead of
print_frame_info_base.
(print_frame_info_base): Rename to print_frame_info.
(backtrace_command_1): Call print_frame_info, instead of
print_frame_info_base.
(current_frame_command): Call print_stack_frame, instead of
print_only_stack_frame.
(frame_command): Call print_stack_frame, instead of
show_and_print_stack_frame.
(up_command): Ditto.
(down_command): Ditto.
* frame.h (print_only_stack_frame): Delete prototype.
* infrun.c (normal_stop): Call print_stack_frame, instead of
show_and_print_stack_frame.
* thread.c (info_threads_command): Call print_stack_frame, instead
of print_only_stack_frame.
2003-01-13 Elena Zannoni <ezannoni@redhat.com>
* mi-main.c (mi_cmd_exec_return): Use print_stack_frame instead of
show_and_print_stack_frame.
2003-01-14 00:07:43 +00:00
|
|
|
|
2003-01-13 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* stack.c (print_frame_info, print_stack_frame_base_stub,
|
|
|
|
|
print_stack_frame_base, show_and_print_stack_frame_stub,
|
|
|
|
|
show_and_print_stack_frame, print_only_stack_frame_stub,
|
|
|
|
|
print_only_stack_frame): Delete functions.
|
|
|
|
|
(print_stack_frame_stub): Call print_frame_info instead of
|
|
|
|
|
print_frame_info_base.
|
|
|
|
|
(print_frame_info_base): Rename to print_frame_info.
|
|
|
|
|
(backtrace_command_1): Call print_frame_info, instead of
|
|
|
|
|
print_frame_info_base.
|
|
|
|
|
(current_frame_command): Call print_stack_frame, instead of
|
|
|
|
|
print_only_stack_frame.
|
|
|
|
|
(frame_command): Call print_stack_frame, instead of
|
|
|
|
|
show_and_print_stack_frame.
|
|
|
|
|
(up_command): Ditto.
|
|
|
|
|
(down_command): Ditto.
|
|
|
|
|
* frame.h (print_only_stack_frame): Delete prototype.
|
|
|
|
|
* infrun.c (normal_stop): Call print_stack_frame, instead of
|
|
|
|
|
show_and_print_stack_frame.
|
|
|
|
|
* thread.c (info_threads_command): Call print_stack_frame, instead
|
|
|
|
|
of print_only_stack_frame.
|
|
|
|
|
|
2003-01-13 23:07:07 +00:00
|
|
|
|
2003-01-13 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
2003-01-13 23:25:55 +00:00
|
|
|
|
* README (Graphical interface to GDB): Update URL. Point at
|
|
|
|
|
gdb/links/.
|
|
|
|
|
|
2003-01-13 23:07:07 +00:00
|
|
|
|
* gdb_indent.sh: Update to version 2.2.9. Warn when not exact
|
|
|
|
|
version match.
|
|
|
|
|
|
2003-01-13 21:59:53 +00:00
|
|
|
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* symtab.c (find_pc_sect_line): Don't consider end-of-function
|
|
|
|
|
lines.
|
|
|
|
|
|
2003-01-13 21:48:32 +00:00
|
|
|
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* thread-db.c (attach_thread): Prototype.
|
|
|
|
|
(struct private_thread_info): Remove lwpid. Add thread handle (th),
|
|
|
|
|
thread information (ti), and valid flags (th_valid, ti_valid).
|
|
|
|
|
(attach_thread): Move target_pid_to_str call to after the thread
|
|
|
|
|
is added to GDB's list. Initialize the cache.
|
|
|
|
|
(thread_get_info_callback, thread_db_map_id2thr)
|
|
|
|
|
(thread_db_get_info): New functions.
|
|
|
|
|
(thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
|
|
|
|
|
(thread_db_store_registers, thread_db_thread_alive)
|
|
|
|
|
(thread_db_get_thread_local_address): Use them.
|
|
|
|
|
(thread_db_pid_to_str): Likewise. Return "Missing" instead
|
|
|
|
|
of calling error() for threads in unknown state.
|
|
|
|
|
|
|
|
|
|
(clear_lwpid_callback): New function.
|
|
|
|
|
(thread_db_resume): Use it to clear the cache.
|
|
|
|
|
|
2003-01-13 21:47:35 +00:00
|
|
|
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
|
|
|
|
|
(resume_callback): Remove dead code.
|
|
|
|
|
|
2003-01-13 21:10:30 +00:00
|
|
|
|
2003-01-13 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
|
|
|
|
|
predicate.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* stack.c (frame_info): Only initialize the saved registers when
|
|
|
|
|
FRAME_INIT_SAVED_REGS_P.
|
|
|
|
|
* frame.c (frame_saved_regs_register_unwind): Assert
|
|
|
|
|
FRAME_INIT_SAVED_REGS_P.
|
|
|
|
|
(deprecated_generic_get_saved_register): Ditto.
|
|
|
|
|
|
2003-01-13 20:26:15 +00:00
|
|
|
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* source.c (openp): Squelch warning about "filename".
|
|
|
|
|
|
2003-01-13 20:11:47 +00:00
|
|
|
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* source.c (openp): If the file does not exist don't necessarily
|
|
|
|
|
search the path.
|
|
|
|
|
|
2003-01-13 20:08:58 +00:00
|
|
|
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
Fix PR gdb/872.
|
|
|
|
|
* gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
|
|
|
|
|
(integer_types_same_name_p): New function.
|
|
|
|
|
(rank_one_type): Use it.
|
|
|
|
|
* stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
|
|
|
|
|
|
2003-01-13 18:00:16 +00:00
|
|
|
|
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
|
|
|
|
|
variables.
|
|
|
|
|
(main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
|
|
|
|
|
* configure.in: Add --with-sysroot.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* main.c (gdb_sysroot): New variable.
|
|
|
|
|
(captured_main): Initialize gdb_sysroot.
|
|
|
|
|
* defs.h (gdb_sysroot): New extern declaration.
|
|
|
|
|
* solib.c (_initialize_solib): Initialize solib_absolute_prefix.
|
|
|
|
|
|
2003-01-12 22:55:51 +00:00
|
|
|
|
2003-01-12 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
|
|
|
|
|
|
2003-01-12 21:38:16 +00:00
|
|
|
|
2003-01-12 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* top.c (print_gdb_version): Bump copyright year to 2003.
|
|
|
|
|
|
2003-01-12 20:55:32 +00:00
|
|
|
|
2003-01-12 David Carlton <carlton@bactrian.org>
|
|
|
|
|
|
|
|
|
|
* linespec.c (symtab_from_filename): Rename variable 's' to
|
|
|
|
|
'file_symtab'.
|
|
|
|
|
|
2003-01-12 19:25:39 +00:00
|
|
|
|
2003-01-12 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
|
|
|
|
|
dummy frame.
|
|
|
|
|
(d10v_frame_saved_pc, d10v_frame_chain): Ditto.
|
|
|
|
|
|
2003-01-12 18:59:53 +00:00
|
|
|
|
2003-01-12 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* d10v-tdep.c: Include "gdb_assert.h".
|
|
|
|
|
(d10v_store_return_value): Rewrite to match current interface.
|
|
|
|
|
(d10v_extract_struct_value_address): Ditto.
|
|
|
|
|
(d10v_extract_return_value): Ditto.
|
|
|
|
|
(d10v_gdbarch_init): Set store_restore_value,
|
|
|
|
|
extract_struct_value_address and extract_return_value.
|
|
|
|
|
|
2003-01-12 11:49:14 +00:00
|
|
|
|
2003-01-12 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* hpread.c (set_namestring): New procedure replacing the
|
|
|
|
|
SET_NAMESTRING macro.
|
|
|
|
|
(hpread_build_psymtabs): Replace calls to SET_NAMESTRING
|
|
|
|
|
by calls to set_namestring.
|
|
|
|
|
|
|
|
|
|
2003-01-11 J. Brobecker <brobecker@gnat.com>
|
2003-01-11 02:13:23 +00:00
|
|
|
|
|
|
|
|
|
* hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
|
|
|
|
|
a compilation warning.
|
|
|
|
|
(hpread_process_one_debug_symbol): Likewise.
|
|
|
|
|
|
2003-01-11 01:01:04 +00:00
|
|
|
|
2003-01-10 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_1): Rename variable 's' to
|
|
|
|
|
'file_symtab'.
|
|
|
|
|
(decode_all_digits): Rename argument 's' to 'file_symtab'.
|
|
|
|
|
(decode_dollar): Ditto.
|
|
|
|
|
(decode_variable): Ditto.
|
|
|
|
|
(symbol_found): Ditto.
|
|
|
|
|
|
2003-01-10 20:55:04 +00:00
|
|
|
|
2003-01-09 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
|
|
|
|
|
|
2003-01-10 20:14:02 +00:00
|
|
|
|
2003-01-07 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* win32-nat.c (set_process_privilege): New function.
|
|
|
|
|
(child_attach): Call set_process_privilege() to enable the
|
|
|
|
|
SE_DEBUG_NAME user privilege if available in process token.
|
|
|
|
|
|
2003-01-10 15:39:10 +00:00
|
|
|
|
2003-01-10 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* hpread.c (hpread_process_one_debug_symbol): Fix a small
|
|
|
|
|
compilation error in the previous revision.
|
|
|
|
|
|
2003-01-09 21:34:15 +00:00
|
|
|
|
2003-01-09 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c: Update copyright.
|
|
|
|
|
|
2003-01-09 19:14:46 +00:00
|
|
|
|
2003-01-09 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* lin-lwp.c (child_wait): Ignore exit statuses for processes other
|
|
|
|
|
than inferior_ptid.
|
|
|
|
|
(lin_lwp_wait): Ignore exit statuses for unknown LWPs.
|
|
|
|
|
|
2003-01-09 18:03:38 +00:00
|
|
|
|
2003-01-09 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
2003-01-09 18:53:21 +00:00
|
|
|
|
* frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
|
|
|
|
|
Update comments.
|
|
|
|
|
* frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
|
|
|
|
|
(frame_saved_regs_zalloc): Update.
|
|
|
|
|
(frame_saved_regs_register_unwind): Update.
|
|
|
|
|
(create_new_frame): Update.
|
|
|
|
|
(get_prev_frame): Update.
|
|
|
|
|
(frame_extra_info_zalloc): Update.
|
|
|
|
|
(deprecated_get_frame_saved_regs): Update.
|
|
|
|
|
* dwarf2cfi.c (cfi_init_extra_frame_info): Update.
|
|
|
|
|
* cris-tdep.c: Update comment.
|
|
|
|
|
|
2003-01-09 18:30:32 +00:00
|
|
|
|
* somsolib.h: Fix function indentation.
|
|
|
|
|
* disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
|
|
|
|
|
* gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
|
|
|
|
|
* demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
|
|
|
|
|
* alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
|
|
|
|
|
* somsolib.c, inftarg.c: Remove assignment in if conditional.
|
|
|
|
|
|
2003-01-09 18:03:38 +00:00
|
|
|
|
* infrun.c (follow_fork): Use ISO C definition.
|
|
|
|
|
* expprint.c (print_subexp): Use xfree instead of free.
|
|
|
|
|
* charset.c: Include "gdb_string.h" instead of <string.h>.
|
|
|
|
|
(register_iconv_charsets): Use ISO C definition.
|
|
|
|
|
(host_charset, target_charset): Ditto.
|
|
|
|
|
* Makefile.in (charset.o): Update dependencies.
|
|
|
|
|
(mi-cmd-env.o): Update dependencies.
|
|
|
|
|
|
2003-01-09 00:24:50 +00:00
|
|
|
|
2003-01-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
|
|
|
|
|
get_frame_base.
|
|
|
|
|
|
2003-01-09 00:45:08 +00:00
|
|
|
|
2003-01-08 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdb_mbuild.sh: Add --keep option. When specified, keep the
|
|
|
|
|
build directories. Save edited gdb output in Mbuild.log. If a
|
|
|
|
|
build fails, remove any final GDB executable.
|
|
|
|
|
|
2003-01-08 23:49:15 +00:00
|
|
|
|
2003-01-08 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdb_mbuild.sh: Edit the output of `maint print architecture'
|
|
|
|
|
replacing hex constants with function names and stripping leading
|
|
|
|
|
file name directory prefixes.
|
|
|
|
|
|
2003-01-08 22:47:46 +00:00
|
|
|
|
2003-01-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
|
|
|
|
|
get_frame_base.
|
|
|
|
|
|
2003-01-08 22:40:18 +00:00
|
|
|
|
2003-01-08 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_1): Move code into decode_variable.
|
|
|
|
|
(decode_variable): New function.
|
|
|
|
|
|
2003-01-08 21:44:55 +00:00
|
|
|
|
2003-01-08 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mn10300-tdep.c (analyze_dummy_frame): Fix typo.
|
|
|
|
|
|
2003-01-08 19:45:23 +00:00
|
|
|
|
2003-01-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cris-tdep.c (cris_frame_init_saved_regs): Use
|
|
|
|
|
get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
|
|
|
|
|
saved_regs buffer.
|
|
|
|
|
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
|
|
|
|
|
(sh64_nofp_frame_init_saved_regs): Ditto.
|
|
|
|
|
(sh_fp_frame_init_saved_regs): Ditto.
|
|
|
|
|
* arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
|
|
|
|
|
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
|
|
|
|
|
* mcore-tdep.c (analyze_dummy_frame): Ditto.
|
|
|
|
|
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
|
|
|
|
|
|
2003-01-08 18:38:47 +00:00
|
|
|
|
2003-01-08 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* minsyms.c (lookup_minimal_symbol): Update comment.
|
|
|
|
|
(lookup_minimal_symbol_text): Update comment. Use the hash table.
|
|
|
|
|
(lookup_minimal_symbol_solib_trampoline): Likewise.
|
|
|
|
|
|
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_next_frame.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
2003-01-08 15:56:38 +00:00
|
|
|
|
2003-01-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-01-08 18:04:06 +00:00
|
|
|
|
* d10v-tdep.c (d10v_init_extra_frame_info): Use
|
|
|
|
|
frame_relative_level.
|
|
|
|
|
|
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_frame_extra_info.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, xstormy16-tdep.c: Ditto.
2003-01-08 17:21:30 +00:00
|
|
|
|
* alpha-tdep.c: Use get_frame_extra_info.
|
|
|
|
|
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
|
|
|
|
|
* h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
|
|
|
|
|
* mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
|
|
|
|
|
* sparc-tdep.c, xstormy16-tdep.c: Ditto.
|
|
|
|
|
|
2003-01-08 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_next_frame.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
2003-01-08 15:56:38 +00:00
|
|
|
|
* alpha-tdep.c: Use get_next_frame.
|
|
|
|
|
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
|
|
|
|
|
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
|
|
|
|
|
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
|
|
|
|
|
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
|
|
|
|
|
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
|
|
|
|
|
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
|
|
|
|
|
* xstormy16-tdep.c: Ditto.
|
|
|
|
|
|
2003-01-07 Andrew Cagney <cagney@redhat.com>
* alpha-tdep.c: Use get_frame_base.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
* x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
* config/sparc/tm-sparc.h: Ditto.
2003-01-08 01:53:38 +00:00
|
|
|
|
2003-01-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c: Use get_frame_base.
|
|
|
|
|
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
|
|
|
|
|
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
|
|
|
|
|
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
|
|
|
|
|
* mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
|
|
|
|
|
* sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
|
|
|
|
|
* x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
|
|
|
|
|
* config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
|
|
|
|
|
* config/sparc/tm-sparc.h: Ditto.
|
|
|
|
|
|
2003-01-07 22:53:09 +00:00
|
|
|
|
2003-01-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (deprecated_get_frame_context): New function.
|
|
|
|
|
(deprecated_set_frame_context): New function.
|
|
|
|
|
* frame.h (deprecated_get_frame_context): Declare.
|
|
|
|
|
(deprecated_set_frame_context): Declare.
|
|
|
|
|
* dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
|
|
|
|
|
(cfi_init_extra_frame_info): Use deprecated_set_frame_context.
|
|
|
|
|
|
2003-01-07 19:19:00 +00:00
|
|
|
|
2003-01-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (deprecated_set_frame_next_hack): New function.
|
|
|
|
|
(deprecated_set_frame_prev_hack): New function.
|
|
|
|
|
* frame.h (deprecated_set_frame_next_hack): Declare.
|
|
|
|
|
(deprecated_set_frame_prev_hack): Declare.
|
|
|
|
|
* mcore-tdep.c (analyze_dummy_frame): Use
|
|
|
|
|
deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
|
|
|
|
|
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
|
|
|
|
|
|
2003-01-07 17:05:49 +00:00
|
|
|
|
2003-01-07 David Carlton <carlton@math.stanford.edu>
|
|
|
|
|
|
|
|
|
|
* linespec.c (decode_line_1): Move code into decode_dollar.
|
|
|
|
|
(decode_dollar): New function.
|
|
|
|
|
|
2003-01-07 16:22:29 +00:00
|
|
|
|
2003-01-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (arm_init_extra_frame_info): Use
|
|
|
|
|
deprecated_update_frame_base_hack.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
|
|
|
|
|
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
|
|
|
|
|
(fix_frame_pointer): Ditto.
|
|
|
|
|
(mn10300_analyze_prologue): Ditto.
|
|
|
|
|
|
2003-01-07 14:51:11 +00:00
|
|
|
|
2003-01-07 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
|
|
|
|
|
extra_info using frame_extra_info_zalloc.
|
|
|
|
|
* sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
|
|
|
|
|
* sh-tdep.c (sh_init_extra_frame_info): Ditto.
|
|
|
|
|
(sh64_init_extra_frame_info): Ditto.
|
|
|
|
|
* mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
|
|
|
|
|
* s390-tdep.c (s390_init_extra_frame_info): Ditto.
|
|
|
|
|
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
|
|
|
|
|
* mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
|
|
|
|
|
* frv-tdep.c (frv_init_extra_frame_info): Ditto.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
|
|
|
|
|
* ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
|
|
|
|
|
* h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
|
|
|
|
|
* d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
|
|
|
|
|
* cris-tdep.c (cris_init_extra_frame_info): Ditto.
|
|
|
|
|
* arm-tdep.c (arm_init_extra_frame_info): Ditto.
|
|
|
|
|
* alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
|
|
|
|
|
|
|
|
|
|
* mn10300-tdep.c (analyze_dummy_frame): Use
|
|
|
|
|
deprecated_set_frame_extra_info_hack.
|
|
|
|
|
* mcore-tdep.c (analyze_dummy_frame): Ditto.
|
|
|
|
|
|
2003-01-07 07:09:25 +00:00
|
|
|
|
2003-01-07 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* mdebugread.c (parse_symbol): Skip stProc entries which storage
|
|
|
|
|
class is not scText. These do not define "real" procedures.
|
|
|
|
|
(parse_partial_symbols): Likewise.
|
|
|
|
|
|
2003-01-06 23:12:29 +00:00
|
|
|
|
2003-01-06 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
|
|
|
|
|
|
2003-01-06 21:50:25 +00:00
|
|
|
|
2003-01-06 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
|
|
|
|
|
* frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
|
|
|
|
|
* arm-tdep.c (arm_frame_chain): Allocate caller_fi using
|
|
|
|
|
deprecated_frame_xmalloc_with_cleanup.
|
|
|
|
|
* m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
|
|
|
|
|
deprecated_frame_xmalloc.
|
|
|
|
|
* mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
|
|
|
|
|
* mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
|
|
|
|
|
|
2003-01-06 20:04:11 +00:00
|
|
|
|
2003-01-06 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
2003-01-06 20:45:30 +00:00
|
|
|
|
* x86-64-linux-tdep.c: Include "osabi.h".
|
|
|
|
|
* Makefile.in (x86-64-linux-tdep.o): Update dependencies.
|
|
|
|
|
|
2003-01-06 20:04:11 +00:00
|
|
|
|
* sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
|
|
|
|
|
|
2003-01-06 18:49:09 +00:00
|
|
|
|
2003-01-06 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS (Target Instruction Set Architectures): Update
|
|
|
|
|
arm-elf. Can be built with -Werror, has been multiarched.
|
|
|
|
|
|
|
|
|
|
* value.h (unpack_long): Make buffer parameter constant.
|
|
|
|
|
(unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
|
|
|
|
|
* scm-lang.h (scm_parse): Ditto.
|
|
|
|
|
* defs.h (extract_typed_address, extract_address): Ditto.
|
|
|
|
|
(extract_long_unsigned_integer): Ditto.
|
|
|
|
|
* inferior.h (unsigned_pointer_to_address): Ditto.
|
|
|
|
|
(signed_pointer_to_address): Ditto.
|
|
|
|
|
* gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* findvar.c (extract_long_unsigned_integer): Update.
|
|
|
|
|
(extract_address): Update.
|
|
|
|
|
(extract_typed_address): Update.
|
|
|
|
|
(unsigned_pointer_to_address): Update.
|
|
|
|
|
* values.c (unpack_long): Update.
|
|
|
|
|
(unpack_double): Update.
|
|
|
|
|
(unpack_pointer): Update.
|
|
|
|
|
(unpack_field_as_long): Update.
|
|
|
|
|
* d10v-tdep.c (d10v_pointer_to_address): Update.
|
|
|
|
|
* avr-tdep.c (avr_pointer_to_address): Update.
|
|
|
|
|
* scm-lang.c (scm_unpack): Update.
|
|
|
|
|
* findvar.c (signed_pointer_to_address): Update.
|
|
|
|
|
|
2003-01-06 14:47:37 +00:00
|
|
|
|
2003-01-06 Michal Ludvig <mludvig@suse.cz>
|
|
|
|
|
|
|
|
|
|
* x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
|
|
|
|
|
since it is in i386-tdep.c.
|
|
|
|
|
|
2003-01-06 10:28:05 +00:00
|
|
|
|
2003-01-06 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
|
|
|
|
|
failure introduced in the previous change.
|
|
|
|
|
|
2003-01-05 17:10:33 +00:00
|
|
|
|
2003-01-05 Michael Chastain <mec@shout.net>
|
|
|
|
|
|
|
|
|
|
* README: Remove references to deleted remote-*.c files:
|
|
|
|
|
remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
|
|
|
|
|
remote-nrom.c, remote-os9k.c, remote-udi.c.
|
|
|
|
|
|
2003-01-05 14:07:03 +00:00
|
|
|
|
2003-01-05 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
|
|
|
|
|
i386_get_longjmp_target.
|
|
|
|
|
|
2003-01-05 13:31:26 +00:00
|
|
|
|
2003-01-05 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (prologue_cache): Change to a pointer.
|
|
|
|
|
(_initialize_arm_tdep): Allocate prologue_cache.
|
|
|
|
|
(check_prologue_cache): Update.
|
|
|
|
|
(save_prologue_cache): Update.
|
|
|
|
|
(arm_gdbarch_init): Update.
|
|
|
|
|
|
2003-01-05 04:59:28 +00:00
|
|
|
|
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* stabsread.c (update_method_name_from_physname): Call complaint()
|
|
|
|
|
instead of error.
|
|
|
|
|
|
2003-01-05 01:39:56 +00:00
|
|
|
|
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
|
|
|
|
|
* d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
|
|
|
|
|
* hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
|
|
|
|
|
|
|
|
|
|
* blockframe.c: Include "gdbcmd.h" and "command.h".
|
|
|
|
|
(backtrace_below_main): New variable.
|
|
|
|
|
(file_frame_chain_valid, func_frame_chain_valid)
|
|
|
|
|
(nonnull_frame_chain_valid, generic_file_frame_chain_valid)
|
|
|
|
|
(generic_func_frame_chain_valid): Remove functions.
|
|
|
|
|
(frame_chain_valid, do_flush_frames_sfunc): New functions.
|
|
|
|
|
(_initialize_blockframe): New function.
|
|
|
|
|
* Makefile.in (blockframe.o): Update dependencies.
|
|
|
|
|
* frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
|
|
|
|
|
comment. Call frame_chain_valid ().
|
|
|
|
|
* frame.h: Remove old prototypes. Add prototype for
|
|
|
|
|
frame_chain_valid and update comments to match.
|
|
|
|
|
* gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
|
|
|
|
|
Remove old comment.
|
|
|
|
|
* gdbarch.h: Regenerated.
|
|
|
|
|
* gdbarch.c: Regenerated.
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Don't call
|
|
|
|
|
set_gdbarch_frame_chain_valid.
|
|
|
|
|
* avr-tdep.c (avr_gdbarch_init): Likewise.
|
|
|
|
|
* cris-tdep.c (cris_gdbarch_init): Likewise.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Likewise.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Likewise.
|
|
|
|
|
* i386-tdep.c (i386_svr4_init_abi): Likewise.
|
|
|
|
|
(i386_nw_init_abi): Likewise.
|
|
|
|
|
(i386_gdbarch_init): Likewise.
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Likewise.
|
|
|
|
|
* m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
|
|
|
|
|
* m68k-tdep.c (m68k_gdbarch_init): Likewise.
|
|
|
|
|
* mcore-tdep.c (mcore_gdbarch_init): Likewise.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Likewise.
|
|
|
|
|
* mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
|
|
|
|
|
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Likewise.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Likewise.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Likewise.
|
|
|
|
|
* vax-tdep.c (vax_gdbarch_init): Likewise.
|
|
|
|
|
* x86-64-tdep.c (x86_64_init_abi): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
|
|
|
|
|
* config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
|
|
|
|
|
* config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
|
|
|
|
|
* config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
|
|
|
|
|
* config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
|
|
|
|
|
* config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
|
|
|
|
|
* config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
|
|
|
|
|
* config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
|
|
|
|
|
|
2003-01-04 23:47:13 +00:00
|
|
|
|
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (acconfig_h): Remove incorrect macro.
|
|
|
|
|
(config_h): Define.
|
|
|
|
|
(osabi.o): Update dependencies.
|
|
|
|
|
* configure.tgt: Set gdb_osabi based on target triplet.
|
|
|
|
|
* configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
* osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
|
|
|
|
|
(GDB_OSABI_DEFAULT): Define if not already defined.
|
|
|
|
|
(user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
|
|
|
|
|
(set_osabi_string): New variables.
|
|
|
|
|
(gdbarch_register_osabi): Add new OS ABI to
|
|
|
|
|
gdb_osabi_available_names.
|
|
|
|
|
(gdbarch_lookup_osabi): Honor specified and default OS ABIs.
|
|
|
|
|
(set_osabi, show_osabi): New functions.
|
|
|
|
|
(_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
|
|
|
|
|
|
2003-01-04 23:38:46 +00:00
|
|
|
|
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* arch-utils.c (gdbarch_info_init): Set osabi to
|
|
|
|
|
GDB_OSABI_UNINITIALIZED.
|
|
|
|
|
* gdbarch.sh: Add osabi to struct gdbarch and to struct
|
|
|
|
|
gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
|
|
|
|
|
in gdbarch_list_lookup_by_info and in gdbarch_update_p.
|
|
|
|
|
* gdbarch.c: Regenerated.
|
|
|
|
|
* gdbarch.h: Regenerated.
|
|
|
|
|
* osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
|
|
|
|
|
there's no BFD.
|
|
|
|
|
(gdbarch_init_osabi): Remove osabi argument; use info.osabi.
|
|
|
|
|
* osabi.h (enum gdb_osabi): Move to defs.h.
|
|
|
|
|
(gdbarch_init_osabi): Update prototype.
|
|
|
|
|
* defs.h (enum gdb_osabi): Moved here.
|
|
|
|
|
* Makefile.in: Update dependencies.
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.h: Don't include "osabi.h".
|
|
|
|
|
(struct gdbarch_tdep): Remove osabi member.
|
|
|
|
|
* alpha-tdep.c: Include "osabi.h".
|
|
|
|
|
(alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
|
|
|
|
|
iterate over arches. Update call to gdbarch_init_osabi.
|
|
|
|
|
(alpha_dump_tdep): Don't dump osabi.
|
|
|
|
|
* alpha-linux-tdep.c: Include "osabi.h".
|
|
|
|
|
* alpha-osf1-tdep.c: Include "osabi.h".
|
|
|
|
|
* alphafbsd-tdep.c: Include "osabi.h".
|
|
|
|
|
* alphanbsd-tdep.c: Include "osabi.h".
|
|
|
|
|
|
|
|
|
|
* arm-tdep.h: Don't include "osabi.h".
|
|
|
|
|
(struct gdbarch_tdep): Remove osabi member.
|
|
|
|
|
* arm-tdep.c: Include "osabi.h".
|
|
|
|
|
(arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
|
|
|
|
|
iterate over arches. Update call to gdbarch_init_osabi.
|
|
|
|
|
(arm_dump_tdep): Don't dump osabi.
|
|
|
|
|
* arm-linux-tdep.c: Include "osabi.h".
|
|
|
|
|
* armnbsd-tdep.c: Include "osabi.h".
|
|
|
|
|
|
|
|
|
|
* hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
|
|
|
|
|
Update call to gdbarch_init_osabi.
|
|
|
|
|
|
|
|
|
|
* i386-tdep.h: Don't include "osabi.h".
|
|
|
|
|
(struct gdbarch_tdep): Remove osabi member.
|
|
|
|
|
* i386-tdep.c: Include "osabi.h".
|
|
|
|
|
(i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
|
|
|
|
|
iterate over arches. Update call to gdbarch_init_osabi.
|
|
|
|
|
(i386_dump_tdep): Don't dump osabi.
|
|
|
|
|
* i386-linux-tdep.c: Include "osabi.h".
|
|
|
|
|
* i386-sol2-tdep.c: Include "osabi.h".
|
|
|
|
|
* i386bsd-tdep.c: Include "osabi.h".
|
|
|
|
|
* i386gnu-tdep.c: Include "osabi.h".
|
|
|
|
|
* i386ly-tdep.c: Include "osabi.h".
|
|
|
|
|
* i386nbsd-tdep.c: Include "osabi.h".
|
|
|
|
|
* i386obsd-tdep.c: Include "osabi.h".
|
|
|
|
|
|
|
|
|
|
* mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
|
|
|
|
|
(mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
|
|
|
|
|
check osabi when iterating over arches. Update call to
|
|
|
|
|
gdbarch_init_osabi.
|
|
|
|
|
(mips_dump_tdep): Don't dump osabi.
|
|
|
|
|
|
|
|
|
|
* ns32k-tdep.h: Don't include "osabi.h".
|
|
|
|
|
(struct gdbarch_tdep): Remove.
|
|
|
|
|
* ns32k-tdep.c (ns32k_gdbarch_init): Don't call
|
|
|
|
|
gdbarch_lookup_osabi. Don't iterate over arches. Don't
|
|
|
|
|
allocate tdep. Update call to gdbarch_init_osabi.
|
|
|
|
|
(ns32k_dump_tdep): Remove.
|
|
|
|
|
(_initialize_ns32k_tdep): Update call to gdbarch_register.
|
|
|
|
|
* ns32knbsd-tdep.c: Include "osabi.h".
|
|
|
|
|
|
|
|
|
|
* ppc-tdep.h: Don't include "osabi.h".
|
|
|
|
|
(struct gdbarch_tdep): Remove osabi member.
|
|
|
|
|
* rs6000-tdep.c: Include "osabi.h".
|
|
|
|
|
(rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
|
|
|
|
|
osabi when iterating over arches. Update call to
|
|
|
|
|
gdbarch_init_osabi.
|
|
|
|
|
(rs6000_dump_tdep): Don't dump osabi.
|
|
|
|
|
* ppc-linux-tdep.c: Include "osabi.h".
|
|
|
|
|
* ppcnbsd-tdep.c: Include "osabi.h".
|
|
|
|
|
|
|
|
|
|
* sh-tdep.h: Don't include "osabi.h".
|
|
|
|
|
(struct gdbarch_tdep): Remove osabi member.
|
|
|
|
|
* sh-tdep.c: Include "osabi.h".
|
|
|
|
|
(sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
|
|
|
|
|
iterate over arches. Update call to gdbarch_init_osabi.
|
|
|
|
|
(sh_dump_tdep): Don't dump osabi.
|
|
|
|
|
* shnbsd-tdep.c: Include "osabi.h".
|
|
|
|
|
|
|
|
|
|
* sparc-tdep.c: Include "osabi.h".
|
|
|
|
|
(sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
|
|
|
|
|
iterate over arches. Update call to gdbarch_init_osabi.
|
|
|
|
|
(sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
|
|
|
|
|
tdep structure.
|
|
|
|
|
|
|
|
|
|
* vax-tdep.h: Don't include "osabi.h".
|
|
|
|
|
(struct gdbarch_tdep): Remove.
|
|
|
|
|
* vax-tdep.c: Include "osabi.h".
|
|
|
|
|
(vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
|
|
|
|
|
iterate over arches. Don't allocate tdep. Update call
|
|
|
|
|
to gdbarch_init_osabi.
|
|
|
|
|
(vax_dump_tdep): Remove.
|
|
|
|
|
(_initialize_vax_tdep): Update call to gdbarch_register.
|
|
|
|
|
|
2003-01-04 23:07:24 +00:00
|
|
|
|
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (insert_breakpoints): Skip disabled breakpoints
|
|
|
|
|
entirely.
|
|
|
|
|
(breakpoint_re_set_one): Don't fetch the value for a disabled
|
|
|
|
|
watchpoint.
|
|
|
|
|
|
2003-01-04 22:37:49 +00:00
|
|
|
|
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* buildsym.h (processing_hp_compilation): Remove obsolete variable.
|
|
|
|
|
* gdbarch.sh Remove include of "value.h" in gdbarch.h.
|
|
|
|
|
(COERCE_FLOAT_TO_DOUBLE): Remove.
|
|
|
|
|
* gdbarch.c: Regenerate.
|
|
|
|
|
* gdbarch.h: Regenerate.
|
|
|
|
|
* Makefile.in: Remove value_h from gdbarch_h.
|
|
|
|
|
* valops.c (coerce_float_to_double): New variable.
|
|
|
|
|
(default_coerce_float_to_double): Remove.
|
|
|
|
|
(standard_coerce_float_to_double): Remove.
|
|
|
|
|
(value_arg_coerce): Use coerce_float_to_double.
|
|
|
|
|
(_initialize_valops): Add "set coerce-float-to-double".
|
|
|
|
|
* value.h (default_coerce_float_to_double): Remove prototype.
|
|
|
|
|
(standard_coerce_float_to_double): Remove prototype.
|
|
|
|
|
|
|
|
|
|
* hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
|
|
|
|
|
prototyped.
|
|
|
|
|
* mdebugread.c (parse_symbol): Likewise.
|
|
|
|
|
* stabsread.c (define_symbol): Mark all functions as prototyped.
|
|
|
|
|
|
|
|
|
|
* hppa-tdep.c (hppa_coerce_float_to_double): Remove.
|
|
|
|
|
* alpha-tdep.c (alpha_gdbarch_init): Remove call to
|
|
|
|
|
set_gdbarch_coerce_float_to_double.
|
|
|
|
|
* arm-tdep.c (arm_gdbarch_init): Likewise.
|
|
|
|
|
* frv-tdep.c (frv_gdbarch_init): Likewise.
|
|
|
|
|
* h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
|
|
|
|
|
* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
|
|
|
|
|
* mips-tdep.c (mips_gdbarch_init): Likewise.
|
|
|
|
|
(mips_coerce_float_to_double): Remove.
|
|
|
|
|
* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
|
|
|
|
|
(rs6000_coerce_float_to_double): Remove.
|
|
|
|
|
* s390-tdep.c (s390_gdbarch_init): Likewise.
|
|
|
|
|
* sh-tdep.c (sh_gdbarch_init): Likewise.
|
|
|
|
|
(sh_coerce_float_to_double): Remove.
|
|
|
|
|
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
|
|
|
|
|
(sparc_coerce_float_to_double): Remove.
|
|
|
|
|
* v850-tdep.c (v850_gdbarch_init): Likewise.
|
|
|
|
|
* xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
|
|
|
|
|
* config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
|
|
|
|
|
* config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
|
|
|
|
|
(hppa_coerce_float_to_double): Remove prototype.
|
|
|
|
|
* config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
|
|
|
|
|
|
2003-01-04 21:55:54 +00:00
|
|
|
|
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
* regformats/reg-m68k.dat: Remove fpcode and fpflags.
|
|
|
|
|
|
2003-01-04 21:51:53 +00:00
|
|
|
|
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
|
|
|
|
|
|
|
|
|
|
Suggested by Stewart Brown <sb24@avaya.com>:
|
|
|
|
|
* c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
|
|
|
|
|
in recursive calls. Handle TYPE_CODE_TYPEDEF.
|
|
|
|
|
(c_type_print_varspec_suffix): Likewise.
|
|
|
|
|
|
2003-01-04 19:27:19 +00:00
|
|
|
|
2003-01-04 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-01-04 19:35:15 +00:00
|
|
|
|
* configure.in: Don't set and AC_SUBST SUBDIRS.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-04 19:27:19 +00:00
|
|
|
|
* configure.in: Remove code dealing with shared libraries.
|
|
|
|
|
* Makefile.in: Remove HLDFLAGS and HLDENV.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-04 13:55:30 +00:00
|
|
|
|
2003-01-04 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* frame.c (deprecated_frame_xmalloc): New function.
|
|
|
|
|
(deprecated_set_frame_saved_regs_hack): New function.
|
|
|
|
|
(deprecated_set_frame_extra_info_hack): New function.
|
|
|
|
|
* frame.h (deprecated_frame_xmalloc): Declare.
|
|
|
|
|
(deprecated_set_frame_saved_regs_hack): Declare.
|
|
|
|
|
(deprecated_set_frame_extra_info_hack): Declare.
|
|
|
|
|
|
2003-01-04 00:34:43 +00:00
|
|
|
|
2003-01-04 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-01-04 01:03:41 +00:00
|
|
|
|
* configure.in: Move code that provides the --enable-gdbtk option
|
|
|
|
|
right after the code that handles the --enable-tui option, and
|
|
|
|
|
polish it somewhat.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-04 00:34:43 +00:00
|
|
|
|
* configure.in: Call AC_GNU_SOURCE. Check for pread64 using
|
|
|
|
|
AC_CHECK_FUNCS and remove the old check for pread64.
|
|
|
|
|
* acinclude.m4 (AC_GNU_SOURCE): New macro.
|
|
|
|
|
* acconfig.h (_GNU_SOURCE): Add.
|
|
|
|
|
(HAVE_PREAD64): Remove.
|
|
|
|
|
* configure, aclocal.m4, config.in: Regenerated.
|
|
|
|
|
|
2003-01-03 Andrew Cagney <ac131313@redhat.com>
* alpha-tdep.c: Use get_frame_saved_regs.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, xstormy16-tdep.c: Ditto.
2003-01-03 23:53:48 +00:00
|
|
|
|
2003-01-03 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c: Use get_frame_saved_regs.
|
|
|
|
|
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
|
|
|
|
|
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
|
|
|
|
|
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
|
|
|
|
|
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
|
|
|
|
|
* vax-tdep.c, xstormy16-tdep.c: Ditto.
|
|
|
|
|
|
2003-01-03 23:19:28 +00:00
|
|
|
|
2003-01-03 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.in: Remove all use of the SUBDIRS variable; add
|
|
|
|
|
directories using the AC_CONFIG_SUBDIRS macro instead. Polish
|
|
|
|
|
code providing the --enable-multi-ice option, and move it right in
|
|
|
|
|
front of the code that checks whether gdbserver is supported.
|
|
|
|
|
Polish that too.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
|
|
|
|
|
@SUBDIRS@.
|
|
|
|
|
|
2003-01-03 18:23:01 +00:00
|
|
|
|
2003-01-03 Andrew Cagney <cagney@redhat.com>
|
|
|
|
|
|
|
|
|
|
* alpha-tdep.c: Use deprecated_update_frame_base_hack.
|
|
|
|
|
* avr-tdep.c, cris-tdep.c: Ditto.
|
|
|
|
|
* mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
|
|
|
|
|
* sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
|
|
|
|
|
|
2003-01-03 14:45:47 +00:00
|
|
|
|
2003-01-03 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.in: Remove --enable-netrom option.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-03 14:10:08 +00:00
|
|
|
|
2003-01-03 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
|
|
|
|
|
declaration for `struct re_pattern_buffer' instead.
|
|
|
|
|
* Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
|
|
|
|
|
|
2003-01-03 14:01:47 +00:00
|
|
|
|
2003-01-03 J. Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* mdebugread.c (parse_symbol): Count until the stEnd matching
|
|
|
|
|
the structure name.
|
|
|
|
|
|
2003-01-02 22:49:31 +00:00
|
|
|
|
2003-01-02 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-01-02 22:59:01 +00:00
|
|
|
|
* configure.in: Remove --with-cpu option.
|
|
|
|
|
subscripts. Remove evil changequotes here.
|
|
|
|
|
* acconfig.h (TARGET_CPU_DEFAULT): Remove.
|
|
|
|
|
* config.in, configure: Regenerated.
|
|
|
|
|
|
2003-01-02 22:49:31 +00:00
|
|
|
|
* acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
|
|
|
|
|
* configure.in: Cleanup section that sources GDB and BFD configure
|
|
|
|
|
subscripts. Remove evil changequotes here.
|
|
|
|
|
* config.in, configure: Regenerated.
|
|
|
|
|
|
2003-01-02 Andrew Cagney <ac131313@redhat.com>
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
frame accessor methods.
* alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
* s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
2003-01-02 22:20:47 +00:00
|
|
|
|
2003-01-02 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
|
|
|
|
|
frame accessor methods.
|
|
|
|
|
* alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
|
|
|
|
|
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
|
|
|
|
|
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
|
|
|
|
|
* mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
|
|
|
|
|
* s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
|
|
|
|
|
* vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
|
|
|
|
|
* z8k-tdep.c: Ditto.
|
|
|
|
|
|
2003-01-02 16:54:56 +00:00
|
|
|
|
2003-01-02 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-01-02 20:29:15 +00:00
|
|
|
|
* configure.in: Remove UI_OUT configuration code.
|
|
|
|
|
* ada-lang.c: Update assuming UI_OUT is always true.
|
|
|
|
|
* Makefile.in (UIOUT_CFLAGS): Remove.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* TODO: Remove blurb about elimination of -DUI_OUT.
|
|
|
|
|
|
2003-01-02 20:12:29 +00:00
|
|
|
|
* configure.in: Move code that provides the --enable-gdbcli,
|
|
|
|
|
--enable-gdbmi options right before the code that handles the
|
|
|
|
|
--enable-tui option. Polish a bit.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-02 19:35:31 +00:00
|
|
|
|
* configure.in: Rewrite check for GNU regex and the
|
|
|
|
|
--without-included regex option, and move it into the "Checks for
|
|
|
|
|
library functions" section. This makes us use the system regex
|
|
|
|
|
again by default on systems with version 2 of the GNU C library.
|
|
|
|
|
This was apparently broken.
|
|
|
|
|
* gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
|
|
|
|
|
* acconfig.h (USE_INCLUDED_REGEX): Remove.
|
|
|
|
|
* config.in, configure: Regenerated.
|
|
|
|
|
|
2003-01-02 16:54:56 +00:00
|
|
|
|
* configure.in: Move code that provides the --enable-tui option
|
|
|
|
|
before the "Checks for libraries" section. Polish the code
|
|
|
|
|
somewhat and set need_curses to yes if we build the TUI. Rewrite
|
|
|
|
|
code that looks for a library providing termcap functionality to
|
|
|
|
|
match more closely what's done in the Readline library, and move
|
|
|
|
|
it into to the "Checks for libraries" section.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* Makefile.in (TERMCAP): Remove variable.
|
|
|
|
|
* config/i386/go32.mh (TERMCAP): Remove variable.
|
|
|
|
|
|
2003-01-02 16:40:33 +00:00
|
|
|
|
2003-01-02 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Mention gdb_mbuild.sh.
|
|
|
|
|
* gdb_mbuild.sh: Rewrite.
|
|
|
|
|
|
2003-01-02 14:47:01 +00:00
|
|
|
|
2003-01-02 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.in: Fix typo in last change.
|
|
|
|
|
* config.in, configure: Regenerated.
|
|
|
|
|
|
2003-01-02 Andrew Cagney <ac131313@redhat.com>
* valarith.c (value_binop): Delete obsolete code and comments.
* configure.host: Ditto.
* buildsym.h (make_blockvector): Ditto.
* buildsym.c (make_blockvector): Ditto.
* defs.h (enum language): Ditto.
(chill_demangle): Ditto.
* elfread.c (elf_symtab_read): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
(set_cu_language): Ditto.
(handle_producer): Ditto.
* expprint.c (print_subexp): Ditto.
* gdbtypes.c (chill_varying_type): Ditto.
* gdbtypes.h (builtin_type_chill_bool): Ditto.
(builtin_type_chill_char, builtin_type_chill_long): Ditto.
(builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
(chill_varying_type): Ditto.
* language.h (_LANG_chill): Ditto.
* language.c (binop_result_type, integral_type): Ditto.
(character_type, string_type, structured_type): Ditto.
(lang_bool_type, binop_type_check): Ditto.
* stabsread.h (os9k_stabs): Ditto.
* stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
(define_symbol, read_type, read_struct_fields): Ditto.
(read_array_type, read_enum_type, read_huge_number): Ditto.
(read_range_type, start_stabs): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* symtab.c (symbol_init_language_specific): Ditto.
(symbol_init_demangled_name, symbol_demangled_name): Ditto.
* symtab.h (struct general_symbol_info): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* typeprint.c (typedef_print): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* valops.c (value_cast, search_struct_field, value_slice): Delete
obsolete code.
(varying_to_slice): Delete function.
* value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
(varying_to_slice): Delete declaration.
* MAINTAINERS: Update.
2003-01-02 14:27:27 +00:00
|
|
|
|
2003-01-02 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
|
|
|
|
|
|
* valarith.c (value_binop): Delete obsolete code and comments.
|
|
|
|
|
* configure.host: Ditto.
|
|
|
|
|
* buildsym.h (make_blockvector): Ditto.
|
|
|
|
|
* buildsym.c (make_blockvector): Ditto.
|
|
|
|
|
* defs.h (enum language): Ditto.
|
|
|
|
|
(chill_demangle): Ditto.
|
|
|
|
|
* elfread.c (elf_symtab_read): Ditto.
|
|
|
|
|
* dwarfread.c (CHILL_PRODUCER): Ditto.
|
|
|
|
|
(set_cu_language): Ditto.
|
|
|
|
|
(handle_producer): Ditto.
|
|
|
|
|
* expprint.c (print_subexp): Ditto.
|
|
|
|
|
* gdbtypes.c (chill_varying_type): Ditto.
|
|
|
|
|
* gdbtypes.h (builtin_type_chill_bool): Ditto.
|
|
|
|
|
(builtin_type_chill_char, builtin_type_chill_long): Ditto.
|
|
|
|
|
(builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
|
|
|
|
|
(chill_varying_type): Ditto.
|
|
|
|
|
* language.h (_LANG_chill): Ditto.
|
|
|
|
|
* language.c (binop_result_type, integral_type): Ditto.
|
|
|
|
|
(character_type, string_type, structured_type): Ditto.
|
|
|
|
|
(lang_bool_type, binop_type_check): Ditto.
|
|
|
|
|
* stabsread.h (os9k_stabs): Ditto.
|
|
|
|
|
* stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
|
|
|
|
|
(define_symbol, read_type, read_struct_fields): Ditto.
|
|
|
|
|
(read_array_type, read_enum_type, read_huge_number): Ditto.
|
|
|
|
|
(read_range_type, start_stabs): Ditto.
|
|
|
|
|
* symfile.c (init_filename_language_table): Ditto.
|
|
|
|
|
(add_psymbol_with_dem_name_to_list): Ditto.
|
|
|
|
|
* symtab.c (symbol_init_language_specific): Ditto.
|
|
|
|
|
(symbol_init_demangled_name, symbol_demangled_name): Ditto.
|
|
|
|
|
* symtab.h (struct general_symbol_info): Ditto.
|
|
|
|
|
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
|
|
|
|
|
* typeprint.c (typedef_print): Ditto.
|
|
|
|
|
* utils.c (fprintf_symbol_filtered): Ditto.
|
|
|
|
|
* valops.c (value_cast, search_struct_field, value_slice): Delete
|
|
|
|
|
obsolete code.
|
|
|
|
|
(varying_to_slice): Delete function.
|
|
|
|
|
* value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
|
|
|
|
|
(varying_to_slice): Delete declaration.
|
|
|
|
|
* MAINTAINERS: Update.
|
|
|
|
|
|
2003-01-02 00:51:28 +00:00
|
|
|
|
2003-01-02 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2003-01-02 11:45:34 +00:00
|
|
|
|
* configure.in: Reorganize "Checks for library functions section"
|
|
|
|
|
a bit. Remove check for `btowc' and `isascii' functions.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-02 11:14:33 +00:00
|
|
|
|
* acconfig.h (_MSE_INT_H): Remove.
|
|
|
|
|
* configure.in: Create "Checks for header files" section, and move
|
|
|
|
|
appropriate tests there. Don't check for objlist.h, wchar.h,
|
|
|
|
|
wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
|
|
|
|
|
misdetection fix. Also add "Checks for types", "Checks for
|
|
|
|
|
compiler characteristics" and "Checks for library functions"
|
|
|
|
|
sections.
|
|
|
|
|
* config.in, configure: Regenerated.
|
|
|
|
|
|
2003-01-02 00:51:28 +00:00
|
|
|
|
* configure.in: Create "Checks for programs" section, and move
|
|
|
|
|
appropriate tests there.
|
|
|
|
|
|
2003-01-01 23:50:46 +00:00
|
|
|
|
2003-01-01 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.in: Create "Checks for libraries" section, and move
|
|
|
|
|
appropriate tests there. Cleanup check for wctype in libw. Use
|
|
|
|
|
AC_SEARCH_LIBS to see whether we need libsocket.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2003-01-09 21:08:45 +00:00
|
|
|
|
For older changes see ChangeLog-2002
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|