aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-06-22* config/m68k/tm-m68k.h: Fix typo.Andrew Cagney2-1/+20
(FRAME_INIT_SAVED_REGS): Define when non-multi-arch. (m68k_frame_init_saved_regs): Declare.
2002-06-22Remove some vestiges of Harris 88k support.Jim Blandy3-17/+8
* dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k register numbering quirk. * elfread.c (elf_symtab_read): Remove `#if' block for skipping odd symbols occurring in Harris 88k ELF targets.
2002-06-22*** empty log message ***gdbadmin1-1/+1
2002-06-21 * gdb_locale.h: New file.Tom Tromey8-334/+446
* Makefile.in (GDB_CFLAGS): Define LOCALEDIR. (defs_h): Added gdb_locale.h. * configure, config.in: Rebuilt. * configure.in (PACKAGE): Define. * defs.h: Include gdb_locale.h. * main.c (captured_main): Call setlocale, bindtextdomain,
2002-06-212002-06-21 Dave Brolley <brolley@redhat.com>Dave Brolley7-0/+1257
From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: * config/frv/frv.mt: New file. * config/frv/tm-frv.h: New file. * configure.tgt: Support frv-*-*. * Makefile.in (frv-tdep.o): New target. * frv-tdep.c: New file. * NEWS: Mention frv.
2002-06-212002-06-21 Dave Brolley <brolley@redhat.com>Dave Brolley2-0/+5
* MAINTAINERS: Add self to "Write After Approval" list.
2002-06-21* config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE)Grace Sainsbury3-5/+145
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. * m68k-tdep.c: Include arch-utils.h (m68k_register_raw_size): Add. (m68k_register_virtual_size): Add. (m68k_register_virtual_type): Add. (m68k_register_name): Add. (m68k_stack_align): Add. (m68k_register_byte): Add. (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in tm-m68k.h.
2002-06-21Fixed changelog entry. Indented m68k-tdep.cGrace Sainsbury2-15/+25
2002-06-21Replaced frame_find_saved_regs with frame_init_saved_regs. ConvertedGrace Sainsbury3-39/+86
call dummy macros to multi-arch.
2002-06-212002-06-19 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller9-6/+49
* parse.c (parse_fprintf): New function used to avoid calls to fprintf in bison parser generated debug code. * parser-defs.h: Declaration of new parse_fprintf function. * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: Set YYDEBUG to 1 by default. Set YYFPRINTF as parse_fprintf.
2002-06-21 * dwarf2cfi.c: Reindented.Michal Ludvig2-41/+42
2002-06-212002-06-21 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-89/+261
* dwarf2cfi.c (read_encoded_pointer): Don't handle pointer encoding anymore. (pointer_encoding, enum ptr_encoding): New. (execute_cfa_program): Take care about pointer encoding. (dwarf2_build_frame_info): Only call parse_frame_info for .debug_frame and .eh_frame. (parse_frame_info): New, derived from former dwarf2_build_frame_info. fixed augmentation handling, added relative addressing, ignore duplicate FDEs. Added comments.
2002-06-212002-06-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+10
* event-top.c (command_handler): Don't use space_at_cmd_start unless there is sbrk() on the host. Assign time and space data to union fields of the appropriate length.
2002-06-21*** empty log message ***gdbadmin1-1/+1
2002-06-202002-06-20 Michal Ludvig <mludvig@suse.cz>Michal Ludvig4-10/+21
* x86-64-tdep.c (x86_64_register_nr2name): Rename to x86_64_register_name. Return type changed to 'const char *'. (x86_64_register_name2nr): Rename to x86_64_register_number. (x86_64_gdbarch_init): Update to reflect the change. * x86-64-tdep.h: Ditto. * x86-64-linux-nat.c (x86_64_fxsave_offset) (supply_fpregset): Ditto.
2002-06-20* regcache.h: Update copyright.Andrew Cagney5-94/+620
(struct regcache, struct gdbarch): Add opaque declarations. (current_regcache): Declare global variable. (regcache_read, regcache_write): Add gdbarch parameter. (regcache_save, regcache_save_no_passthrough) (regcache_restore, regcache_restore_no_passthrough) (regcache_dup, regcache_dup_no_passthrough) (regcache_cpy, regcache_cpy_no_passthrough) (deprecated_grub_regcache_for_registers) (deprecated_grub_regcache_for_register_valid) (regcache_valid_p): Add function declarations. * regcache.c: Update copyright. (regcache_descr_handle): New global variable. (struct regcache_descr): Define. (init_legacy_regcache_descr, init_regcache_descr): New functions. (regcache_descr, xfree_regcache_descr): New functions. (struct regcache): Define. (regcache_xmalloc, regcache_xfree): New functions. (regcache_cpy, regcache_cpy_no_passthrough): New functions. (regcache_dup, regcache_dup_no_passthrough): New functions. (regcache_valid_p, regcache_read_as_address): New functions. (deprecated_grub_regcache_for_registers): New function. (deprecated_grub_regcache_for_register_valid): New function. (current_regcache): New global variable. (register_buffer): Add regcache parameter. Update calls. (regcache_read, regcache_write): Add regcache parameter. Rewrite. (read_register_gen, write_register_gen): Update register_buffer call. Test for legacy_p instead of gdbarch_register_read_p or gdbarch_register_write_p. (regcache_collect): Update register_buffer call. (build_regcache): Rewrite. Use deprecated grub functions. (regcache_save, regcache_save_no_passthrough): New functions. (regcache_restore, regcache_restore_no_passthrough): New functions. (_initialize_regcache): Create the regcache_data_handle. Swap current_regcache global variable. * sh-tdep.c (sh_pseudo_register_read): Add current_regcache parameter to regcache_read and regcache_write calls. (sh4_register_read): Ditto. (sh64_pseudo_register_read): Ditto. (sh64_register_read): Ditto. (sh_pseudo_register_write): Ditto. (sh4_register_write): Ditto. (sh64_pseudo_register_write): Ditto. (sh64_register_write): Ditto. * defs.h (XCALLOC): Define.
2002-06-20*** empty log message ***gdbadmin1-1/+1
2002-06-19Added functions for multi-arch.Grace Sainsbury3-0/+39
2002-06-192002-06-19 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-9/+5
* ada-lang.c (fill_in_ada_prototype): Update comment.
2002-06-192002-06-19 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-23/+100
* mips-tdep.c (enum mips_abi): Explicitly start at 0. Add MIPS_ABI_LAST. (mips_abi_string, mips_abi_strings): New. (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. (mips_gdbarch_init): Set tdep->found_abi. Don't set tdep->mips_abi_string. Honor mips_abi_string. Default to O32 if no ABI is found. (mips_dump_tdep): Use mips_abi_strings. (mips_abi_update): New function. (_initialize_mips_tdep): Initialize mips_abi_string. Add ``set mips abi'' and ``show mips abi''. Check the size of mips_abi_strings.
2002-06-19* i386-linux-tdep.c (i386_linux_register_name): Make return typeAndrew Cagney2-1/+7
constant.
2002-06-19Add entry describing a change to alpha-tdep.c (heuristic_proc_desc).Joel Brobecker1-0/+9
2002-06-19 * alpha-tdep.c (heuristic_proc_desc): Compute the size of theJoel Brobecker1-4/+39
current frame using only the first stack size adjustment. All subsequent size adjustments are not considered to be part of the "static" part of the current frame. Compute the address of the saved registers relative to the Frame Pointer ($fp) instead of the Stack Pointer if $fp is in use in this frame.
2002-06-19*** empty log message ***gdbadmin1-1/+1
2002-06-182002-06-18 Don Howard <dhoward@redhat.com>Don Howard2-3/+9
* valops.c (value_ind): Use value_at_lazy() when dereferencing type int expressions. Thanks to Jim Blandy <jimb@redhat.com> for suggesting this solution.
2002-06-18* config/romp/xm-rtbsd.h: Delete file.Andrew Cagney3-45/+5
* config/romp/rtbsd.mh: Delete file.
2002-06-18 * breakpoint.c (condition_command): Post breakpoint_modifyKeith Seitz2-13/+30
when a condition is added to an existing breakpoint. (commands_command): Likewise for commands. (set_ignore_count): Likewise for ignore counts. If no tty, do not simply return, still need to send event notification. (ignore_command): Only print a newline if the command came from a tty. Don't call breakpoints_changed, since this is now properly handled by set_ignore_count.
2002-06-18* MAINTAINERS: Note that cris-elf target can be compiled withAndrew Cagney3-3/+10
-Werror. * cris-tdep.c (cris_register_name): Make return type constant. (cris_breakpoint_from_pc): Ditto.
2002-06-182002-06-18 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-1/+6
* frame.h (struct frame_info): Change type of context to 'struct context'.
2002-06-18*** empty log message ***gdbadmin1-1/+1
2002-06-17* gdbarch.sh (REGISTER_NAME): Change return type a constant stringAndrew Cagney24-37/+76
pointer. * gdbarch.h, gdbarch.c: Regenerate. * config/mips/tm-mips.h (mips_register_name): Update. * i386-tdep.h (i386_register_name): Update. * mips-tdep.c (mips_register_name): Update * alpha-tdep.c (alpha_register_name): Update. * arch-utils.c (legacy_register_name): Update. * arch-utils.h (legacy_register_name): Update. * avr-tdep.c (avr_register_name): Update. * ia64-tdep.c (ia64_register_name): Update. * i386-tdep.c (i386_register_name): Update. * sparc-tdep.c (sparc32_register_name): Update. (sparc64_register_name): Update. (sparclite_register_name): Update. (sparclet_register_name): * sh-tdep.c (sh_generic_register_name): Update. (sh_sh_register_name): Update. (sh_sh3_register_name): Update. (sh_sh3e_register_name): Update. (sh_sh_dsp_register_name): Update. (sh_sh3_dsp_register_name): Update. (sh_sh4_register_name): Update. (sh_sh64_register_name): Update. * s390-tdep.c (s390_register_name): Update. * rs6000-tdep.c (rs6000_register_name): Update. * ns32k-tdep.c (ns32k_register_name_32082): Update. (ns32k_register_name_32382): Update. * d10v-tdep.c (d10v_ts2_register_name): Update. (d10v_ts3_register_name): Update. * xstormy16-tdep.c (xstormy16_register_name): Update. * vax-tdep.c (vax_register_name): Update. * v850-tdep.c (v850_register_name): Update. * m68hc11-tdep.c (m68hc11_register_name): Update. * mn10300-tdep.c (mn10300_generic_register_name): Update. (am33_register_name): Update.
2002-06-17Indented m68k-tdep.c using gdb_indent.shGrace Sainsbury1-0/+4
2002-06-17Indented file using gdb_indent.sh.Grace Sainsbury1-13/+13
2002-06-17* gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to theAndrew Cagney2-1/+9
list of predefined types.
2002-06-17 * gdbmi.texinfo: Update command examples with real MI behavior.Keith Seitz2-5/+11
2002-06-17*** empty log message ***gdbadmin1-1/+1
2002-06-16* config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE,Mark Kettenis3-28/+15
REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Remove defines. (i386_register_virtual_type, i386_register_convertible, i386_register_convert_to_virtual, i386_register_convert_to_raw): Remove prototypes. * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the macros mentioned above.
2002-06-16* config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define.Mark Kettenis3-19/+59
(i386lynx_saved_pc_after_call): Remove prototype. * i386ly-tdep.c: Include "i386-tdep.h". (i386lynx_saved_pc_after_call): Make static. Use read_memory_nobpt instead of read_memory. Use read_memory_unsigned_integer instead of read_memory_integer. (i386lynx_init_abi): New function. (i386lynx_coff_osabi_sniffer): New function. (_initialize_i386bsd_tdep): New function.
2002-06-16*** empty log message ***gdbadmin1-1/+1
2002-06-15* config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY,Mark Kettenis3-30/+34
CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. (i386_fix_call_dummy): Remove prototype. * i386-tdep.c (i386_call_dummy_words): New variable. (i386_gdbarch_init): Adjust for removal of the macros mentioned above.
2002-06-15* command.h (add_setshow_auto_boolean_cmd): ReplaceAndrew Cagney6-70/+101
add_set_auto_boolean_cmd. * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace add_set_auto_boolean_cmd. * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. * mips-tdep.c (_initialize_mips_tdep): Update ``set mips mask-address'' command. (show_mask_address): Add cmd parameter. * remote.c (add_packet_config_cmd): Update. Change type of set_func and show_func to cmd_sfunc_ftype. (_initialize_remote): Update `set remote Z-packet' (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. (show_remote_protocol_e_packet_cmd): Ditto. (show_remote_protocol_E_packet_cmd): Ditto. (show_remote_protocol_P_packet_cmd): Ditto. (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. (show_remote_protocol_Z_packet_cmd): Ditto. (show_remote_protocol_binary_download_cmd): Ditto. (show_remote_cmd): Pass NULL to all of above.
2002-06-15* config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN,Mark Kettenis3-50/+22
DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, POP_FRAME): Remove defines. (i386_push_arguments, i386_store_struct_return, i386_extract_return_value, i386_store_return_value, i386_extract_struct_value_address, i386_push_dummy_frame, i386_pop_frame): Renove prototypes. * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the macros mentioned above.
2002-06-15* cli/cli-decode.c (add_setshow_boolean_cmd): ReplaceAndrew Cagney8-66/+109
add_set_boolean_cmd. (add_setshow_cmd): New function. * command.h (add_setshow_boolean_cmd): Replace add_set_boolean_cmd. * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' and ``set rdiromatzero''. * maint.c (_initialize_maint_cmds): Update commented out code. * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. * target.c (initialize_targets): Update `set trust-readonly-sections'. * remote.c (_initialize_remote): Update `set remotebreak'.
2002-06-15* config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN,Mark Kettenis3-28/+36
BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. * i386-tdep.c (i386_skip_prologue): Adjust function signature to fit into multi-arch framework. (i386_breakpoint_from_pc): New function. (i386_gdbarch_init): Adjust for removal of the macros mentioned above.
2002-06-15* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION,Mark Kettenis3-33/+18
FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. (i386_frameless_function_invocation, i386_frame_num_args, i386_frame_init_saved_regs): Remove prototypes. * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the macros mentioned above.
2002-06-15* cli/cli-decode.c (set_cmd_cfunc): Update.Andrew Cagney4-14/+20
(set_cmd_sfunc): Update. * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. (set_cmd_sfunc, set_cmd_cfunc): Update. * cli/cli-decode.h: Update.
2002-06-15* i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function.Mark Kettenis2-0/+20
(_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer.
2002-06-15* defs.h (auto_boolean): Declare enum.Andrew Cagney9-53/+75
* command.h (cmd_auto_boolean): Delete enum. * mips-tdep.c (mask_address_var): Update. (mips_mask_address_p): Update. (show_mask_address): Update. * remote.c (struct packet_config): Update. (update_packet_config): Update. (show_packet_config_cmd): Update. (packet_ok): Update. (add_packet_config_cmd): Update. (_initialize_remote): * command.h: Update. * cli/cli-setshow.c (parse_auto_binary_operation): Update. (do_setshow_command): Update. * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. * cli/cli-decode.h: Update.
2002-06-15* config/i386/tm-cygwin.h, config/i386/tm-fbsd.h,Mark Kettenis10-10/+7
config/i386/tm-go32.h, config/i386/tm-i386gnu.h, config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, config/i386/tm-linux.h, config/i386/tm-nbsd.h, config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO.
2002-06-15* i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to theMark Kettenis2-1/+5
list of DJGPP COFF targets.