Commit Graph

11263 Commits

Author SHA1 Message Date
Elena Zannoni 2a873819ae 2002-03-21 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
	for gdbarch_max_register_raw_size and max_register_virtual_size.
	Adjust copyright year.
2002-03-22 00:19:02 +00:00
gdbadmin b792a6ddeb *** empty log message *** 2002-03-22 00:00:34 +00:00
Daniel Jacobowitz a1b9830cba 2002-03-21 Daniel Jacobowitz <drow@mvista.com>
* dbxread.c (process_one_symbol): Extend the first N_SLINE
         in a function to cover the entire beginning of the function
         as well if it does not already.
2002-03-21 19:48:54 +00:00
Tom Rix 8b5790f2ba Rename ptrace32 and ptrace64 to fix build problem with Aix 5.1 2002-03-21 13:52:57 +00:00
Martin Hunt bdbe574731 2002-03-20 Martin M. Hunt <hunt@redhat.com>
* regcache.c (_initialize_regcache): No need to call
	build_regcache() at this time; it gets called whenever
	the gdbarch changes.
2002-03-21 02:13:05 +00:00
Martin Hunt 373fe97f7f 2002-03-20 Martin M. Hunt <hunt@redhat.com>
* gdbserver/remote-utils.c (remote_open): Don't call
	getprotobyname, we're all using TCP here so just use
	IPPROTO_TCP.
	* gdbserver/gdbreplay.c (remote_open): Ditto.
2002-03-21 02:11:03 +00:00
David O'Brien 7781cd62b4 2002-03-20 David O'Brien <obrien@FreeBSD.org>
* sparc-nat.c:  Include sys/param.h where possible.

Approved by:  Michael Snyder <msnyder@redhat.com>
              Message-ID: <3C98FF43.46ABDC1C@redhat.com>
2002-03-21 02:03:13 +00:00
Daniel Jacobowitz f65ca430eb 2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/422.
        * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
        FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
        * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
        complex types.
        * stabsread.c (rs6000_builtin_type): Likewise.
        (read_sun_floating_type): Likewise.
2002-03-21 00:53:44 +00:00
gdbadmin ae5742ba51 *** empty log message *** 2002-03-21 00:00:04 +00:00
gdbadmin 502d32d00f *** empty log message *** 2002-03-20 00:00:08 +00:00
Peter Schauer 0c86755622 * stabsread.c (read_member_functions): Remove skip code for duplicate
constructor/destructor methods.  Use standard parsing for these
	methods and just do not chain them to the list of methods after
	parsing.
2002-03-19 20:27:04 +00:00
Alexandre Oliva 12b9c64f8d * coffread.c: Remove redundant static declarations. Replace
occurrences of `PTR' with `void *'.
* elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
* top.h (quit_cover): Likewise.
* defs.h (catch_errors): Likewise.
2002-03-19 19:00:04 +00:00
Michael Snyder 75245b2419 2002-03-14 Michael Snyder <msnyder@redhat.com>
* symfile.c (syms_from_objfile): Return immediately if no syms.
	(symbol_file_add): Return immediately if no syms.
	(find_sym_fns): Return immediately if no syms.
2002-03-19 03:51:06 +00:00
Andrew Cagney 349c5d5f6c * defs.h (XMALLOC): Define.
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.

* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.
2002-03-19 02:51:09 +00:00
Andrew Cagney 474c824023 s/@example/@smallexample/ 2002-03-19 02:49:53 +00:00
Andrew Cagney 7d0766f3c3 * command.h (struct cmd_list_element): Add field context.
(set_cmd_context, get_cmd_context): Declare.
* cli/cli-decode.h: Ditto.
* cli/cli-decode.c (get_cmd_context): New function.
(set_cmd_context): New function.
(add_cmd): Initialize context.
Part of fixing PR gdb/145 and PR gdb/146.
2002-03-19 02:19:17 +00:00
gdbadmin 42aacdb61c *** empty log message *** 2002-03-19 00:00:05 +00:00
Andrew Cagney fb0ff88f8f * gdbint.texinfo (Releasing GDB): Add section ``Versions and
Branches''.
2002-03-18 16:14:04 +00:00
Andrew Cagney 9bb0a4d8df * gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
Policy''.
2002-03-18 16:09:32 +00:00
Andrew Cagney 1868c04eba * cli/cli-decode.c (cmd_type): New function.
* command.h (cmd_type): Declare.
* infrun.c (set_schedlock_func): Call function cmd_type.
* kod.c (kod_set_os): Call cmd_type.
* cris-tdep.c (cris_version_update): Use function cmd_type.
(cris_mode_update, cris_abi_update): Ditto.
2002-03-18 02:26:32 +00:00
gdbadmin 2ef7d709f8 *** empty log message *** 2002-03-18 00:00:03 +00:00
Andrew Cagney 5913bcb0f6 * command.h: (execute_cmd_post_hook): Declare.
(execute_cmd_pre_hook): Declare.
* cli/cli-script.c (clear_hook_in_cleanup): New function.
(execute_cmd_post_hook, execute_cmd_pre_hook): New
functions. Execute pre/post hook while ensuring that afterwords
hook_in is cleared.
* top.c (execute_command): Use execute_cmd_post_hook, and
execute_cmd_pre_hook to execute pre/post commands.
* infrun.c (normal_stop): Pass stop_command and not pre_hook to
hook_stop_stub.
(hook_stop_stub): Call execute_cmd_pre_hook.
2002-03-17 19:53:39 +00:00
Andrew Cagney b51450c9ff * kod.c (kod_set_os): Revert previous change. Is called by ``info
set'' and this leads to a core dump.  Move xstrdup of
operating_system to after check that it is not NULL.
2002-03-17 19:29:37 +00:00
Andrew Cagney 8e694ecf16 * kod.c (kod_set_os): Remove unnecessary check that
``command->type'' is set_cmd.
2002-03-17 16:25:09 +00:00
Andrew Cagney f66c9f11b6 * valprint.c (set_input_radix): Use input_radix.
(set_output_radix): Use output_radix.
(set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
isn't reverted.
2002-03-17 16:10:25 +00:00
Andrew Cagney ee2d3b3a59 fix tipo 2002-03-17 01:32:54 +00:00
Andrew Cagney 9d01611c4c * value.h (struct value): Delete field ``substring_addr''. Change
aligner fields to force_doublest_align, force_longest_align,
force_core_addr_align and force_pointer_align.
2002-03-17 01:10:15 +00:00
gdbadmin 11956ca255 *** empty log message *** 2002-03-17 00:00:04 +00:00
Peter Schauer 4156bb5348 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
to fix internal_error from ``maintenance print architecture''.
2002-03-16 21:09:33 +00:00
Peter Schauer 0e5e3ea669 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
for gcc versions after gcc-2.8.1.
2002-03-16 20:53:14 +00:00
Peter Schauer 9b013045b0 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
for method resolution.  Restore adjustment of ``this'' pointer after
	calling value_struct_elt, which was accidentally removed during the
	HP merge.
2002-03-16 20:51:44 +00:00
Andrew Cagney 376c960019 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
value_of_register.
* findvar.c (value_of_register): Add ``frame'' parameter.  Pass to
get_saved_register.
* value.h (value_of_register): Update.
2002-03-16 02:57:42 +00:00
gdbadmin a1d4a62a41 *** empty log message *** 2002-03-16 00:00:36 +00:00
Richard Henderson a4db0f0748 * configure.in: Detect declaration for canonicalize_file_name.
* utils.c (canonicalize_file_name): Declare, if needed.
        (gdb_realpath): Prefer realpath if available and usable.
        * config.in, configure: Rebuild.
2002-03-15 00:44:49 +00:00
gdbadmin bd2b03193d *** empty log message *** 2002-03-15 00:00:36 +00:00
Richard Henderson 963838355f * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
a constant array bound.
2002-03-14 22:53:35 +00:00
Richard Henderson 23b95bcbaa Add myself to write-after-approval. 2002-03-14 22:49:17 +00:00
gdbadmin 287ac7896d *** empty log message *** 2002-03-14 00:00:38 +00:00
Michal Ludvig e641a1ca3d * gdbserver/remote-util.c (remote_open): Print remote-side's
IP address when remote debugging over the network.
2002-03-13 20:42:16 +00:00
David O'Brien df08bfec58 What was I thinking....
2002-03-12  David O'Brien  <obrien@FreeBSD.org>
	* config/sparc/fbsd.mh: Fix copyright.
	* config/sparc/fbsd.mt: Likewise.
2002-03-13 03:20:24 +00:00
gdbadmin 703172a458 *** empty log message *** 2002-03-13 00:00:09 +00:00
gdbadmin 0fe8123114 *** empty log message *** 2002-03-12 00:00:05 +00:00
Richard Earnshaw 9a57864f61 * MAINTAINERS: Fix typo in name of gdb warnings option.
(x86-64): Fix formating so that this can be parsed by awk.
2002-03-11 10:37:52 +00:00
Daniel Jacobowitz dd7bf85ea9 gdb/:
2002-03-10  Daniel Jacobowitz  <drow@mvista.com>

        * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
        * defs.h: Include "gdb/signals.h".
        (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.

include/gdb:
2002-03-10  Daniel Jacobowitz  <drow@mvista.com>

        * signals.h: New file, split from gdb/defs.h.
2002-03-11 00:01:11 +00:00
gdbadmin eda2776159 *** empty log message *** 2002-03-11 00:00:04 +00:00
Michal Ludvig 33a0a2ac44 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
* x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
        from x86-64-tdep.h
2002-03-10 18:16:26 +00:00
Daniel Jacobowitz dd824b049b 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
Don Howard <dhoward@redhat.com>

        * mips-tdep.c (ST0_FR): Define.
        (mips2_fp_compat): New function, temporarily disabled.
        (mips_read_fp_register_single): New function.
        (mips_read_fp_register_double): New function.
        (mips_print_register): Use them.
        (do_fp_register_row): Likewise.
2002-03-10 17:00:27 +00:00
Michael Chastain 3029f9b89c This is a duplicate of an entry I made in testsuite/ChangeLog.
I overlooked that testsuite/gdb.mi/ChangeLog has its own ChangeLog.
I'm leaving the testsuite/ChangeLog entry in place (ChangeLogs are permanent),
  and adding this one where it belongs.

2002-03-04  Michael Chastain  <mec@shout.net>

	* mi-var-cmd.exp: In test "create local variable func",
	accommodate gcc v3 function signature.
	* mi0-var-cmd-exp: Ditto.
2002-03-10 06:06:16 +00:00
Andrew Cagney 6a41ff5934 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
approval''.
2002-03-10 03:09:52 +00:00
gdbadmin cbdf1c5a90 *** empty log message *** 2002-03-10 00:00:06 +00:00