Pierre Muller
5b421780f1
2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
win32-nat.c (handle_exception): Handle Ctrl-Break exception.
25 years ago
Andrew Cagney
9f60d481c2
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
(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.
25 years ago
Michael Snyder
fe6fdd96e9
2002-02-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
other than d10v and m32r.
25 years ago
Michael Snyder
b082f19936
2002-01-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: Remove extra debugging output.
25 years ago
gdbadmin
7dc472abde
*** empty log message ***
25 years ago
Michael Snyder
f9ba071784
2002-02-04 Michael Snyder <msnyder@redhat.com>
* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
25 years ago
Daniel Jacobowitz
0c74b2a77e
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
Add rules for building the register data files.
25 years ago
Daniel Jacobowitz
c638789ff8
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* regformats/regdat.sh: Add braces to the definition of
expedite_regs_${arch}.
25 years ago
Daniel Jacobowitz
db2530270b
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* regformats/regdef.h (struct reg): Add comment describing the
requirements for offset and size fields.
25 years ago
Andreas Schwab
206be19c1b
* config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
* config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
25 years ago
gdbadmin
76016c325a
*** empty log message ***
25 years ago
Richard Earnshaw
036fad3fdc
* gdb.base/default.exp: Rewrite test patterns to reduce time
taken to match them.
25 years ago
Richard Earnshaw
181c1381a5
* gdbarch.sh (copyright): Update years in generated header.
(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.
25 years ago
Pierre Muller
fa4ba8da6c
2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
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.
25 years ago
Andrew Cagney
a73c86fb73
* valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
Restore behavour broken by 2002-01-20 Andrew Cagney
<ac131313@redhat.com> IEEE_FLOAT removal.
25 years ago
Daniel Jacobowitz
acf5ed49a0
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* 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.
25 years ago
Daniel Jacobowitz
493d28d51b
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
accessing tag_name directly.
25 years ago
Daniel Jacobowitz
7495dfdb3a
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
of accessing tag_name directly.
25 years ago
Daniel Jacobowitz
dd6bda650a
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
PR gdb/280
* gdbtypes.c (replace_type): New function.
* gdbtypes.h (replace_type): Add prototype.
* stabsread.c (read_type): Use replace_type.
25 years ago
Richard Earnshaw
88fe217c0b
* Makefile.in (memattr.o): Add missing dependencies rule.
25 years ago
Eli Zaretskii
6ca652b0db
* gdb.texinfo (Memory Region Attributes): Fix the wording.
Suggested by Dmitry Sivachenko.
* (<many nodes>): Fix the spelling and punctuation of "i.e.".
25 years ago
Peter Schauer
e5d6672073
* breakpoint.c (break_at_finish_command): Really export.
(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.
25 years ago
gdbadmin
328bc7cbba
*** empty log message ***
25 years ago
Andrew Cagney
fffee0be3f
* utils.c (do_write): New function.
(error_stream): Rewrite combining the code from error_begin and
verror.
(verror): Rewrite using error_stream.
(error_begin): Delete function.
25 years ago
Andrew Cagney
255e7dbf2e
* utils.c (error_begin): Make static.
* 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.
25 years ago
Michael Snyder
261c4ca206
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
25 years ago
Andrew Cagney
ddfe3c1587
* language.h (type_error, range_error): Make string parameter
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.
25 years ago
Michael Snyder
03ac34d585
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (set_ignore_count): Move misplaced comment
back where it belongs.
25 years ago
Andrew Cagney
e00d1dc8a5
s/NO_FUNCTION/NULL/
25 years ago
Daniel Jacobowitz
76b79d6ec8
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
* gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
Update ``this'' pointer when calling virtual functions.
25 years ago
gdbadmin
c7d99d0b23
*** empty log message ***
25 years ago
Michael Snyder
c7bd442ca0
2002-02-01 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (create_temp_exception_breakpoint): Delete.
25 years ago
Michael Snyder
799f9e91f1
2002-02-01 Michael Snyder <msnyder@redhat.com>
* hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
25 years ago
Daniel Jacobowitz
3cf384d4ea
2002-02-01 Daniel Jacobowitz <drow@mvista.com>
* 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.
25 years ago
Michael Snyder
15110bc31b
2002-02-01 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}.
25 years ago
Michael Snyder
ac28236684
2002-01-30 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: (remote protocol): Gramatical fix-up.
25 years ago
Michael Snyder
6763aef967
2002-01-30 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (set trust-readonly-sections): Document.
25 years ago
Richard Earnshaw
0defa245fc
* arm-tdep.c (arm_frameless_function_invocation): Add some comments.
(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.
25 years ago
Michael Snyder
502fd40859
2002-01-31 Michael Snyder <msnyder@redhat.com>
* 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.
25 years ago
Michael Snyder
7d35e1357e
2002-01-31 Michael Snyder <msnyder@redhat.com>
* printcmd.c (disassemble_command): Remove an ancient
artifact of an old merge.
25 years ago
Michael Snyder
d874f1e225
2002-01-31 Michael Snyder <msnyder@redhat.com>
* 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.
25 years ago
Michael Snyder
9f04af04ce
2002-01-31 Michael Snyder <msnyder@redhat.com>
* 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.
25 years ago
Michael Snyder
8add04415a
2002-01-31 Michael Snyder <msnyder@redhat.com>
* target.c (target_xfer_memory): Add spaces, coding standard.
25 years ago
Michael Snyder
405f26e62f
2002-01-31 Michael Snyder <msnyder@redhat.com>
* target.c (do_xfer_memory): Add missing line to trust-readonly
code: check bfd SEC_READONLY flag for section.
25 years ago
gdbadmin
7805f93af7
*** empty log message ***
25 years ago
Andrew Cagney
e351066e7a
Fix tipo.
25 years ago
Daniel Jacobowitz
7148ab6212
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
Allow a start function above main.
* gdb.threads/linux-dp.exp: Fix copyright date.
25 years ago
Daniel Jacobowitz
396cc25565
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
(check_philosopher_stack): Check for manager thread before checking
for a just-starting thread.
25 years ago
Daniel Jacobowitz
8a48e96728
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
data symbols, since we search based on textlow and texthigh.
(find_pc_sect_symtab): Likewise.
25 years ago
Andrew Cagney
f5a96129d2
* defs.h (vwarning): Declare.
(warning_begin): Delete declaration.
* utils.c (vwarning): New function.
(warning): Call vwarning.
(warning_begin): Delete function.
* rs6000-nat.c (vmap_ldinfo): Use the function warning to print
the warning message.
* d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
warning_begin.
25 years ago