aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-02-032002-02-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+6
* gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of accessing tag_name directly.
2002-02-032002-02-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+6
* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead of accessing tag_name directly.
2002-02-032002-02-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-1/+42
PR gdb/280 * gdbtypes.c (replace_type): New function. * gdbtypes.h (replace_type): Add prototype. * stabsread.c (read_type): Use replace_type.
2002-02-03* Makefile.in (memattr.o): Add missing dependencies rule.Richard Earnshaw2-0/+7
2002-02-03 * gdb.texinfo (Memory Region Attributes): Fix the wording.Eli Zaretskii2-10/+17
Suggested by Dmitry Sivachenko. * (<many nodes>): Fix the spelling and punctuation of "i.e.".
2002-02-03 * breakpoint.c (break_at_finish_command): Really export.Peter Schauer4-6/+15
(break_at_finish_at_depth_command): Ditto. (tbreak_at_finish_command): Ditto. * hppa-tdep.c: Include completer.h. * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
2002-02-03*** empty log message ***gdbadmin1-1/+1
2002-02-02* utils.c (do_write): New function.Andrew Cagney2-50/+36
(error_stream): Rewrite combining the code from error_begin and verror. (verror): Rewrite using error_stream. (error_begin): Delete function.
2002-02-02* utils.c (error_begin): Make static.Andrew Cagney6-40/+50
* defs.h (error_begin): Delete declaration. * linespec.c (cplusplus_error): Replace cplusplus_hint. (decode_line_1): Use cplusplus_error instead of error_begin, cplusplus_hint and return_to_top_level. * coffread.c (coff_symfile_read): Use error instead of error_begin and return_to_top_level. * infrun.c (default_skip_permanent_breakpoint): Ditto.
2002-02-022002-02-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-10/+3
* breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
2002-02-02* language.h (type_error, range_error): Make string parameterAndrew Cagney4-35/+53
constant. * language.c (warning_pre_print): Delete extern declaration. * dwarfread.c (warning_pre_print): Ditto. * language.c (type_error, range_error): Rewrite to use verror and vwarning instead of warning_begin.
2002-02-022002-02-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+9
* breakpoint.c (set_ignore_count): Move misplaced comment back where it belongs.
2002-02-02s/NO_FUNCTION/NULL/Andrew Cagney9-25/+33
2002-02-022002-02-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+12
* gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. Update ``this'' pointer when calling virtual functions.
2002-02-02*** empty log message ***gdbadmin1-1/+1
2002-02-012002-02-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-24/+1
* breakpoint.c (create_temp_exception_breakpoint): Delete.
2002-02-012002-02-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+22
* hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
2002-02-012002-02-01 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz10-0/+1159
* regformats/reg-arm.dat: New file. * regformats/reg-i386.dat: New file. * regformats/reg-ia64.dat: New file. * regformats/reg-m68k.dat: New file. * regformats/reg-mips.dat: New file. * regformats/reg-ppc.dat: New file. * regformats/reg-sh.dat: New file. * regformats/regdef.h: New file. * regformats/regdat.sh: New file.
2002-02-012002-02-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}.
2002-02-012002-01-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+4
* gdb.texinfo: (remote protocol): Gramatical fix-up.
2002-02-012002-01-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+19
* gdb.texinfo (set trust-readonly-sections): Document.
2002-02-01* arm-tdep.c (arm_frameless_function_invocation): Add some comments.Richard Earnshaw3-34/+61
(arm_frame_args_address, arm_frame_locals_address): New functions. (arm_frame_num_args): New function. * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. (FRMA_NUM_ARGS): Call arm_frame_num_args.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder3-29/+43
* breakpoint.c (break_at_finish_command): Export. (break_at_finish_at_depth_command): Export. (tbreak_at_finish_command): Export. (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and "tbreak" commands, which are HPPA specific.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+4
* printcmd.c (disassemble_command): Remove an ancient artifact of an old merge.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder3-8/+18
* symfile.h (enum overlay_debugging_state): Define enum constant values for overlay mode. * symfile.c (overlay_debugging): Use enums instead of literals. (overlay_is_mapped, overlay_auto_command, overlay_manual_command): Ditto.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-49/+56
* breakpoint.c (insert_breakpoints, remove_breakpoint, breakpoint_here_p, breakpoint_inserted_here_p, breakpoint_thread_match, bpstat_stop_status, describe_other_breakpoints, check_duplicates, clear_command): Coding standard fixes.
2002-02-012002-01-31 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+4
* target.c (target_xfer_memory): Add spaces, coding standard.