aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-02-082002-02-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-11/+22
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array to include space for pseudoregs as well. Update loops accordingly. (sh_fp_frame_init_saved_regs): Ditto. (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
2002-02-08* MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.Andrew Cagney2-0/+7
Add Richard Earnshaw to Arm maintainers.
2002-02-08Zap warning_begin() declaration. (Attempt two).Andrew Cagney2-3/+2
2002-02-08* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):Andrew Cagney2-4/+5
Delete macro. (second attempt).
2002-02-082002-02-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* gdb.texinfo (overlays): Change @var(_ovly_debug_event) to @code(_ovly_debug_event).
2002-02-08*** empty log message ***gdbadmin1-1/+1
2002-02-07* gdb.texinfo (How Overlays Work): Shrink the overlay diagram.Andrew Cagney2-33/+41
2002-02-072002-02-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Logic bug, remove misplaced else.
2002-02-07* gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these testsJim Blandy3-4/+74
from here... * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp: To here. Disable this test on non-HP platforms. Add big comment.
2002-02-072002-02-07 Klee Dienes <klee@apple.com>Klee Dienes2-0/+10
* fork-inferior.c (fork_inferior): Add '!' to the list of characters that need to be quoted when building a string for the shell. Quote '!' specifically with a backslash, since CSH chokes when trying to evaluate "str!str".
2002-02-07*** empty log message ***gdbadmin1-1/+1
2002-02-06Only provide a typedef for bool if it is not defined.Nick Clifton2-1/+8
2002-02-062002-02-04 Michael Snyder <msnyder@redhat.com>Michael Snyder4-41/+141
* breakpoint.h (enum bptype): Add new overlay event bp type. (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. * breakpoint.c (create_internal_breakpoint): New function. (internal_breakpoint_number): Moved into create_internal_breakpoint. (create_longjmp_breakpoint): Use create_internal_breakpoint. (create_thread_event_breakpoint): Ditto. (create_solib_event_breakpoint): Ditto. (create_overlay_event_breakpoint): New function. (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. (update_breakpoints_after_exec): Delete and re-initialize overlay event breakpoints after an exec. Add FIXME comment about longjmp breakpoint. (print_it_typical): Ignore overlay event breakpoints. (print_one_breakpoint): Ditto. (mention): Ditto. (bpstat_what): Do not stop for overlay event breakpoints. (delete_breakpoint): Don't delete overlay event breakpoints. (breakpoint_re_set_one): Delete the overlay event breakpoint. (breakpoint_re_set): Re-create overlay event breakpoint. * symfile.c (overlay_auto_command): Enable overlay breakpoints. (overlay_manual_command): Disable overlay breakpoints. (overlay_off_command): Disable overlay breakpoints.
2002-02-062002-02-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+15
* gdb.texinfo (overlays): Mention new magic symbol '_ovly_debug_event', which allows GDB to keep better track of overlays.
2002-02-06* arm-tdep.c: Include elf-bfd.h and coff/internal.h.Richard Earnshaw3-50/+86
(MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines to here from config/tm-arm.h. (coff_sym_is_thumb): Make static. (arm_elf_make_msymbol_special): New function. (arm_coff_make_msymbol_special): New function. * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. (coff_sym_is_thumb): Delete declaration. (arm_elf_make_msymbol_special): Declare. (arm_coff_make_msymbol_special): Declare. (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
2002-02-06* arm-tdep.c (arm_software_single_step): ANSIfy function declaration.Richard Earnshaw2-3/+19
2002-02-06* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.Richard Earnshaw9-67/+134
* gdbarch.c gdbarch.h: Regenerate. * arch-utils.c (default_print_float_info): New function. * arch-utils.h (default_print_float_info): Prototype it. * infcmd.c (float_info): Call PRINT_FLOAT_INFO. * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. (PRINT_FLOAT_INFO): Document it. * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. * config/arm/tm-arm.h (FLOAT_INFO): Delete. (PRINT_FLOAT_INFO): Define.
2002-02-06Remove some extraneous conflict markers.Richard Earnshaw1-2/+0
2002-02-062002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-3/+10
* win32-nat.c (_initialize_check_for_gdb_ini): Add typecast to sprintf argument to suppress a warning.
2002-02-062002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-66/+223
win32-nat.c (last_sig): Changed type of variable to target_signal, to allow easier handling of pass state. (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, that gives exception name and address. (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro and set last_sig value to ourstatus->value.sig. Some missing exceptions added. (child_continue): Correctly report continue_status. (get_child_debug_event,do_initial_child_stuff): Set last_sig to TARGET_SIGNAL_0 (new default value). (child_resume): consider sig argument passed to decide if the exception should be passed to debuggee or not.
2002-02-062002-02-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+11
* regcache.c (fetch_register): Call target_fetch_register only if we don't call FETCH_PSEUDO_REGISTER. (store_register): Call target_store_register only if we don't call STORE_PSEUDO_REGISTER.
2002-02-062002-02-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni8-57/+198
* gdbarch.sh: Add definitions for COFF_MAKE_MSYMBOL_SPECIAL and ELF_MAKE_MSYMBOL_SPECIAL. * gdbarch.c, gdbarch.h: Regenerate. * arch-utils.c (default_elf_make_msymbol_special, default_coff_make_msymbol_special): New functions. * arch-utils.h (default_elf_make_msymbol_special, default_coff_make_msymbol_special): Export. * elfread.c (elf_symtab_read): Compile use of ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now multiarched. * coffread.c (coff_symtab_read): Ditto, for COFF_MAKE_MSYMBOL_SPECIAL.
2002-02-06*** empty log message ***gdbadmin1-1/+1
2002-02-05* mi-regs.exp: Various cleanups for SPARC-only tests.Jim Blandy3-9/+19
(test_breakpoints_creation_and_listing): Format of breakpoint table has changed. (sparc_register_tests): Expand floating-point number regexp to recognize NaN values, too. Replace ineffectual single backslash before a hyphen with a double backslash. Don't check the exact numbers of the registers which have changed, since there's no way to know which registers changed, exactly; just check that the result is well-formed. * mi0-regs.exp: (sparc_register_tests): Same as for sparc_register_tests in mi-regs.exp.
2002-02-05* mi-var-child.exp ("get children of struct_declarations", "getJim Blandy3-6/+18
children of struct_declarations.s2.u2.u1s2", "get children of weird"): Tolerate argument types when they appear in function types. (Dwarf 2 includes prototype info; STABS does not.) * mi0-var-child.exp: Same.
2002-02-05* solib-svr4.c (svr4_truncate_ptr): New function.Jim Blandy2-2/+36
(svr4_relocate_section_addresses): Do the address arithmetic with the appropriate truncation for target addresses, even when CORE_ADDR is larger than a target address.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+6
* gdbserver/linux-low.c (mywait): Cast second argument of waitpid to (int *).
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+5
* gdbserver/linux-low.c (kill_inferior): Remove commented out code.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-0/+26
* c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
2002-02-05* mi-cmd-stack.c (list_args_or_locals): Move declaration ofJim Blandy2-1/+9
print_me inside the loop body, so it gets re-initialized every iteration. The cases for the different symbol kinds leave print_me unchanged if they don't want the symbol printed.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+4
* gdbserver/linux-low.c: Remove unused include files.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-7/+14
* gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. (read_inferior_memory): Use it. (write_inferior_memory): Likewise.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+7
* gdbserver/linux-low.c (create_inferior): Call strerror instead of grubbing through sys_errlist.
2002-02-052002-02-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-0/+781
* gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
2002-02-052002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-0/+15
win32-nat.c (handle_exception): Handle Ctrl-Break exception.
2002-02-05* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.Andrew Cagney27-66/+198
(do_sfunc, set_cmd_sfunc): New functions. * command.h (struct cmd_list_element): Add field func. * cli/cli-decode.h (struct cmd_list_element): Ditto. * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. * cli/cli-decode.h: Ditto. * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. (help_all, help_cmd_list): Ditto. (find_cmd, complete_on_cmdlist): Ditto. * top.c (execute_command): Ditto. * cli/cli-setshow.c (do_setshow_command): Call func instead of function.sfunc. * infcmd.c (notice_args_read): Fix function signature. * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. * cli/cli-decode.c (add_set_cmd): Ditto. * utils.c (initialize_utils): Ditto. * maint.c (_initialize_maint_cmds): Ditto. * infrun.c (_initialize_infrun): Ditto. * demangle.c (_initialize_demangler): Ditto. * remote.c (add_packet_config_cmd): Ditto. * mips-tdep.c (_initialize_mips_tdep): Ditto. * cris-tdep.c (_initialize_cris_tdep): Ditto. * proc-api.c (_initialize_proc_api): Ditto. * kod.c (_initialize_kod): Ditto. * valprint.c (_initialize_valprint): Ditto. * top.c (init_main): Ditto. * infcmd.c (_initialize_infcmd): Ditto. * corefile.c (_initialize_core): Ditto. * arm-tdep.c (_initialize_arm_tdep): Ditto. * arch-utils.c (initialize_current_architecture): Ditto. (_initialize_gdbarch_utils): Ditto. * alpha-tdep.c (_initialize_alpha_tdep): Ditto. * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. * wince.c (_initialize_inftarg): Ditto. * symfile.c (_initialize_symfile): Ditto. * mips-tdep.c (_initialize_mips_tdep): Ditto. * language.c (_initialize_language): Ditto. * arc-tdep.c (_initialize_arc_tdep): Ditto.
2002-02-052002-02-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-5/+12
* gdb.base/ovlymgr.c (ovly_copy): Generalize for targets other than d10v and m32r.
2002-02-052002-01-14 Michael Snyder <msnyder@redhat.com>Michael Snyder1-2/+2
* gdb.base/gcore.exp: Remove extra debugging output.
2002-02-05*** empty log message ***gdbadmin1-1/+1
2002-02-042002-02-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+8
* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
2002-02-042002-02-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+33
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. Add rules for building the register data files.
2002-02-042002-02-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+6
* regformats/regdat.sh: Add braces to the definition of expedite_regs_${arch}.
2002-02-042002-02-04 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+11
* regformats/regdef.h (struct reg): Add comment describing the requirements for offset and size fields.
2002-02-04 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.Andreas Schwab3-8/+5
* config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
2002-02-04*** empty log message ***gdbadmin1-1/+1
2002-02-04* gdb.base/default.exp: Rewrite test patterns to reduce timeRichard Earnshaw2-22/+27
taken to match them.
2002-02-04* gdbarch.sh (copyright): Update years in generated header.Richard Earnshaw11-52/+103
(SMASH_TEXT_ADDRESS): Add rule. *gdbarch.h, gdbarch.c: Re-generate. * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. * dbxread.c: Likewise. * dwarfread.c: Likewise. * elfread.c: Likewise. * somread.c: Likewise. * arm-tdep.c (arm_smash_text_address): New function. * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
2002-02-042002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller5-20/+282
Add support for hardware watchpoints on win32 native. * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of CONTEXT_DEBUG_REGISTERS. (dr variable): New variable. Static array containing a local copy of debug registers. (debug_registers_changed): New variable. Reflects when debug registers are changed and need to be written to inferior. (debug_registers_used): New variable. Reflects when any debug register was set, used when new threads are created. (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by i386-nat code. (thread_rec): Set dr array if id is the thread of current_event . (child_continue, child_resume): Change the debug registers for all threads if debug_registers_changed. (child_add_thread): Change the debug registers if debug_registers_used. * config/i386/cygwin.mh: Add use of i386-nat.o file. Link nm.h to new nm-cygwin.h file. + config/i386/nm-cygwin.h: New file. Contains the macros used for use of hardware registers.
2002-02-04* valprint.c (print_floating): Allow non TYPE_CODE_FLT types.Andrew Cagney2-13/+25
Restore behavour broken by 2002-01-20 Andrew Cagney <ac131313@redhat.com> IEEE_FLOAT removal.
2002-02-042002-02-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-15/+35
* c-valprint.c (c_val_print): Pass a proper valaddr to cp_print_class_method. * valops.c (search_struct_method): If there is only one method and args is NULL, return that method.