Commit Graph

33988 Commits

Author SHA1 Message Date
Fred Fish 629b007a94 Sigh, should have updated the copyright date in the
change I just checked in.  Fix it here.
2002-03-26 00:17:38 +00:00
Fred Fish 33c3e192bd 2002-03-25 Fred Fish <fnf@redhat.com>
* gdb.base/attach.exp: Fix logic error that was suppressing this
	test for all non hppa*-*-hpux* targets, instead of the hp target.
	Move comments closer to the suppression point.  Also now need to
	check that we are running natively.
2002-03-26 00:13:22 +00:00
gdbadmin 2f766f6c06 *** empty log message *** 2002-03-26 00:00:03 +00:00
Alan Modra ea65073a11 daily update 2002-03-25 23:00:02 +00:00
Michael Snyder ee677e8d79 2002-03-25 Jeff Law (law@redhat.com)
* linux-proc.c (read_mapping): Scan up to end of line for filename.
2002-03-25 19:47:41 +00:00
Michal Ludvig e76e1718eb * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. 2002-03-25 07:59:16 +00:00
David O'Brien 23c7880c01 2002-03-24 David O'Brien <obrien@FreeBSD.org>
* ppc/hw_disk.c: Export a disk device property.

This is needed by the FreeBSD/powerpc porting effort.
2002-03-25 04:39:20 +00:00
gdbadmin 35d250b3e2 *** empty log message *** 2002-03-25 00:00:33 +00:00
Alan Modra d1e228db53 daily update 2002-03-24 23:00:04 +00:00
Andrew Cagney e7b564aa85 * gen.c (format_name_cmp): New function.
(insn_list_insert): Use the instruction field name as an
additional key.  Different field names indicate different
semantics.
2002-03-24 00:43:28 +00:00
Andrew Cagney 18a642a148 * command.h: Update copyright.
(struct cmd_list_element): Replace definition with opaque
declaration.
(enum cmd_types): Document that it will eventually be moved to
cli/cli-decode.h
(CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
(MALLOCED_REPLACEMENT): Delete macro.
* Makefile.in (cli_decode_h): Add $(command_h).
(top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
* top.c: Include "cli/cli-decode.h".
* completer.c: Include "cli/cli-decode.h".
* maint.c: Include "cli/cli-decode.h".
* cli/cli-decode.h: Include "command.h".
(enum command_class): Delete.
(enum cmd_types): Comment out.
(enum cmd_auto_boolean): Delete.
(enum var_types): Delete.
2002-03-24 00:40:35 +00:00
Andrew Cagney b2875cc0a2 * cli/cli-decode.c: Include "gdb_assert.h".
(add_set_or_show_cmd): New static function.
(add_set_cmd): Rewrite.  Use add_set_or_show_cmd.
(add_show_from_set): Rewrite. Use add_set_or_show_cmd.  Don't copy
all fields, such as func, from the set command.
2002-03-24 00:24:35 +00:00
gdbadmin c78a341714 *** empty log message *** 2002-03-24 00:00:03 +00:00
Alan Modra ab783794ec daily update 2002-03-23 23:00:03 +00:00
Andrew Cagney ec80ed8088 From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
* ppc-instructions (lswx): Do the register control with the
register count.  Initialize the right register in the loop.
(mtfsfi) : Correct prefix for the instruction.
2002-03-23 21:18:31 +00:00
Andrew Cagney 3b45974e92 * MAINTAINERS (sh-elf): Change warning flag to -w. 2002-03-23 18:52:46 +00:00
Andreas Jaeger a8f1f017eb * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. 2002-03-23 18:15:32 +00:00
Andrew Cagney 823ca731ed * defs.h (error): Add printf format attribute.
* thread-db.c (thread_from_lwp): Fix error format string.
* stack.c (parse_frame_specification): Ditto.
* cli/cli-decode.c (undef_cmd_error): Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
* tracepoint.c (trace_error): Ditto.
* remote-utils.c (usage): Ditto.
* remote.c (compare_sections_command): Ditto.
Fix PR gdb/328.
2002-03-23 17:38:13 +00:00
Matthew Green 294b41b344 * ppc-opc.c (vmaddfp): Fix operand order. 2002-03-23 14:14:30 +00:00
Alan Modra dba143efb3 * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
section file offset for !SEC_LOAD sections.
2002-03-23 13:14:33 +00:00
Andrew Cagney 0e10145828 * gdbtypes.c (append_composite_type_field): New function.
(init_composite_type): New function.
* gdbtypes.h (append_composite_type_field): Declare.
(init_composite_type): Ditto.
2002-03-23 01:24:54 +00:00
Michael Snyder 882c8f02fb 2002-03-22 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add test for gcore.  Update copyright.
	* gdb.base/help.exp: Add test for gcore.  Update copyright.
2002-03-23 00:05:29 +00:00
Michael Snyder d43e73eedd 2002-03-22 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add test for gcore.
	* gdb.base/help.exp: Add test for gcore.
2002-03-23 00:03:01 +00:00
gdbadmin d8a9ce69b0 *** empty log message *** 2002-03-23 00:00:04 +00:00
Alan Modra f16a318880 daily update 2002-03-22 23:00:03 +00:00
Elena Zannoni 8e0662df17 2002-03-22 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
        function.
	* ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
        * rs6000-tdep.c (rs6000_gdbarch_init): Use different
        structure returning convention for SYSV ABI case, but not
        for GNU/Linux, FreeBSD, or NetBSD.
2002-03-22 21:58:16 +00:00
Daniel Jacobowitz 3121eff097 2002-03-22 Daniel Jacobowitz <drow@mvista.com>
* symtab.h (lookup_block_symbol): Add mangled_name argument
        to prototype.

        * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
        with new mangled_name argument.
        * linespec.c (decode_line_1): Likewise.
        * valops (value_of_this): Likewise.
        * symtab.c (lookup_transparent_type): Likewise.
        (lookup_symbol_aux): Likewise.  Accept new mangled_name argument.
        (lookup_symbol): If we are given a mangled name, pass it down
        to lookup_symbol_aux.
        (lookup_block_symbol): If we are given a mangled name to check
        against, only return symbols which match it.
2002-03-22 18:57:08 +00:00
Christopher Faylor 349b409f68 * win32-nat.c (child_create_inferior): Check for proper shell to use here, in
case the user changes it on the fly.
(_initialize_inftarg): Remove shell path considerations.
2002-03-22 05:03:22 +00:00
Alan Modra 815b453c05 * config/te-aix5.h: Typo fix. 2002-03-22 02:07:36 +00:00
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
Alan Modra b0c9d9c269 daily update 2002-03-21 23:01:32 +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
Richard Earnshaw ee29b9fb00 * elf32-arm.h (elf32_arm_final_link_relocate case R_ARM_GOTOFF)
(case R_ARM_GOT): Handle relocations to Thumb functions.
2002-03-21 15:26:03 +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
Alan Modra 3099538b4d * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2002-03-21 09:53:45 +00:00
Alan Modra 1ea788ee92 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
	* doc/Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.
	* aclocal.m4: Regenerate.
	* config.in: Regenerate.
	* configure: Regenerate.
2002-03-21 09:52:14 +00:00
Alan Modra 1d3fdf38d3 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2002-03-21 09:42:38 +00:00
Alan Modra d5b32339ee * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
	* doc/Makefile.in: Regenerate.
2002-03-21 09:40:17 +00:00
Alan Modra 71b2105039 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2002-03-21 09:23:41 +00:00
Alan Modra 54327882f0 * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Whitespace changes.
	* archive.c: Update copyright date.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* Makefile.am: Run "make dep-am"
	* Makefile.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
2002-03-21 09:15:18 +00:00
Nick Clifton f201ccb3e5 Fix typo 2002-03-21 09:13:34 +00:00
Alan Modra 5ae2e65e90 * ppc-opc.c: Add optional field to mtmsrd.
(MTMSRD_L, XRLARB_MASK): Define.
2002-03-21 09:01:49 +00:00
Alan Modra 79b1faa874 * genscripts.sh (LIB_SEARCH_DIRS): Quote path. 2002-03-21 05:35:39 +00:00
Daniel Berlin a2f14207f3 2002-03-20 Daniel Berlin <dan@dberlin.org>
* readelf.c: Add support for displaying dwarf2 location lists.
	(do_debug_loc, debug_loc_section, debug_loc_size): New.
	(parse_args): Use 'O' as shorthand for displaying location list
	section.
	(process_section_headers): Handle debug_loc as well.
	(load_debug_loc): New.
	(free_debug_loc): New.
	(fetch_location_list): New.
	(display_debug_loc): New.
	(display_debug_info): Call load_debug_loc and free_debug_loc.
	(debug_displays): We can display .debug_loc now, too.
	(usage): Update usage string.
	(read_and_display_attr_value): Note location lists, but don't
	display them inline.
2002-03-21 05:00:58 +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