Commit Graph

29797 Commits

Author SHA1 Message Date
DJ Delorie a9cbbe6d3e merge from gcc 2001-03-20 17:09:17 +00:00
Jim Blandy 8bd1f2c64c * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
than asking for sym_class's type; that's circuitous.  Remove
sym_class, since the last use of it is gone.
2001-03-20 16:17:22 +00:00
Jim Blandy 754cbe1c31 * gdb.threads/linux-dp.exp: Recognize an additional message
generated by GDB when it doesn't understand how to debug threads
on the target system.
2001-03-20 15:54:34 +00:00
Andreas Schwab 95fc45e66f * elf32-m68k.c (elf_m68k_relocate_section): Don't need the
relocation value when resolving a reference from a debugging
	section.
2001-03-20 10:11:07 +00:00
Eli Zaretskii c97fe386ef * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
Correct the order of calls to ui_out_field_string and
	ui_out_list_begin when bs->old_val is NULL.
2001-03-20 09:46:00 +00:00
Alan Modra 38686296b3 Use `relax_marker' instead of fragile address test code to determine
whether a frag's fr_address has been updated.
2001-03-20 03:12:01 +00:00
Kevin Buettner 486363b69b Conditionally include nlist.h in solib-legacy.c for older *BSD systems. 2001-03-20 02:57:42 +00:00
Kevin Buettner 087bb2e240 Fix ``make'' problems when building cross debugger. 2001-03-20 02:37:55 +00:00
Jim Wilson f4bc6bb0c2 Fix 2 bugs with parsing the resource dependency tables.
* ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and
	notestr if larger than xsect.
	(in_class): Handle format M5.
	* ia64-asmtab.c: Regnerate.
2001-03-20 02:32:27 +00:00
Andrew Cagney 3c37485b16 malloc() -> xmalloc.
Move malloc() decl to utils.c
2001-03-20 01:37:10 +00:00
Andrew Cagney 0e52036f1f Move realoc() decl to utils.c. s/realloc()/xrealloc()/. 2001-03-20 00:54:43 +00:00
Andrew Cagney 81b8eb809e Move free() decl to utils.c. 2001-03-20 00:28:23 +00:00
Kevin Buettner 8cca004af1 Add proc-service.o to NATDEPFILES. 2001-03-20 00:05:04 +00:00
Andrew Cagney cf4eee44fd Zap __STDC__ references. 2001-03-19 23:31:41 +00:00
Andrew Cagney 1c5b31ef69 * TODO: List known problems with TUI. 2001-03-19 23:19:23 +00:00
Andrew Cagney 3a0c66d493 Jimmy Guo stepping down. 2001-03-19 21:16:01 +00:00
Andrew Cagney ce359b09e5 * remote.c (remote_cisco_section_offsets): Do not cast result from
bfd_get_section_name.
(compare_sections_command): Ditto.
(remote_cisco_section_offsets): Make ``p'' a const pointer.
(compare_sections_command): Ditto for ``sectname''.
2001-03-19 21:01:06 +00:00
Andrew Cagney 0b3f98d350 * valops.c (hand_function_call): Simplify computation of the
address of the pushed argument.
2001-03-19 20:08:16 +00:00
Andrew Cagney 7451d02767 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
Code copied from c-exp.y.
2001-03-19 19:05:21 +00:00
Andrew Cagney 177495c907 Document a native system printing output outside of the MI as a known
bug.
2001-03-19 18:20:04 +00:00
Alan Modra bbe6d95f46 Don't try to read past end of info buffer, and correct test results. 2001-03-19 12:20:10 +00:00
Alan Modra 2e98d2de04 Fix register name printed in warning message. 2001-03-19 11:28:20 +00:00
Andreas Schwab d394a3392e * gas/m68k/pcrel.s: Force alignment to 8 byte boundary to get
consistent output across targets.
	* gas/m68k/pcrel.d: Adjusted.
2001-03-19 10:02:07 +00:00
Kevin Buettner fb70ab0ca5 Fix solib support so that non-svr4-solib-host x svr4-solib-target will work. 2001-03-19 07:01:03 +00:00
Kevin Buettner d45fe813da Fix solib support so that non-svr4-solib-host x svr4-solib-target will work. 2001-03-19 05:46:27 +00:00
Kevin Buettner 8aa16b78d8 Fix NetBSD 1.4 build problem. 2001-03-19 05:15:32 +00:00
Michael Chastain 559e75c07a 2001-03-17 Michael Chastain <chastain@redhat.com>
* win32-nat.c (child_attach): check args for NULL before passing
	to strtoul.  This fixes PR gdb/43.
2001-03-18 21:35:58 +00:00
H.J. Lu 64cbbfaefe 2001-03-18 H.J. Lu <hjl@gnu.org>
* gas/i386/intel.s: Move PIC code to ...
	* gas/i386/intelpic.s: New. Here.
	* gas/i386/intel.d: Updated.
	* gas/i386/intelpic.d: New.

	* gas/i386/i386.exp: Check PIC code in Intel syntax for ELF
	targets only.
2001-03-18 21:28:56 +00:00
Stephane Carrez 31abcf7d04 * gas/mri/mri.exp: Fix test of m6811/m6812 targets. 2001-03-18 10:18:24 +00:00
Stephane Carrez e629c13fd6 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
with 'Motorola specification for assembly language input standard'.
2001-03-18 10:14:13 +00:00
H.J. Lu 951b392098 Fix a typo. 2001-03-18 02:56:20 +00:00
Mark Kettenis 7daede3b53 * i387-nat.h: Doc Fix. 2001-03-17 23:02:10 +00:00
Mark Kettenis fc3389707e * i386-tdep.c: Fix formatting.
(i386_get_frame_setup, i386_follow_jump, codestream_read,
codestream_seek, codestream_fill, skip_trampoline_code,
gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
prototypoes.
2001-03-17 22:28:33 +00:00
Mark Kettenis e3c6d36d49 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
no longer used.  Also remove associated FIXME.
2001-03-17 22:24:00 +00:00
Ulrich Drepper a1ab1d2aa3 * emultempl/elf32.em (OPTION_GROUP): New macro.
Add new option Bgroup to longopts.
	(gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
	(gld*_list_options): Add -Bgroup and -z defs.
	* ld.1: Document -Bgroup and -z defs.
	* ld.texinfo: Likewise.
2001-03-17 21:24:26 +00:00
Richard Henderson 249e3833ac * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
(dwarf2_directive_loc): Don't use them.
        (dwarf2_directive_file): Reject duplicate file definitions.
        (get_filenum): Zero allocated memory.
        (out_file_list): Complain about missing file definitions.
2001-03-17 18:23:41 +00:00
Alan Modra 2289f85d24 Teach .org to handle complex expressions 2001-03-17 03:02:06 +00:00
Andrew Cagney 4a5c6a1dd9 Add support for m/M methods - pure multi-arch. These do not have
macros and take a gdbarch parameter.
2001-03-17 00:31:22 +00:00
J.T. Conklin 7256e1a5bb * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
h8300_frame_args_address from frame_args_address.
(FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
from frame_locals_address.
(PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
from print_register_hook.
(h8300_frame_args_address): Declare.
(h8300_frame_find_saved_regs): Declare.
(h8300_frame_locals_address): Declare.
(h8300_frame_saved_pc): Declare.
(h8300_pop_frame): Declare.
(h8300_print_register_hook): Declare.
* h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
(h8300_frame_args_address): Renamed from frame_args_address.
(h8300_frame_locals_address): Renamed from frame_locals_address.
(h8300_pop_frame): Renamed from pop_frame.
(h8300_print_register_hook): Renamed from print_register_hook.
-------------------------------------------------------------------
2001-03-16 22:34:46 +00:00
Michael Chastain f266096bea 2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/derivation.exp: Use the 'runto' library function.
2001-03-16 20:04:02 +00:00
Michael Chastain cac3c2ff11 2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
2001-03-16 20:00:04 +00:00
Nick Clifton 03d411a927 Fix syntax errors. 2001-03-16 18:49:32 +00:00
Nick Clifton 82b66b2339 Add new opcodes 2001-03-16 18:42:26 +00:00
Kevin Buettner 435b259cb0 Change type of ``storage_needed'' from unsigned int to long. 2001-03-16 18:06:44 +00:00
Michael Chastain b6c11a24b3 2001-02-24 Michael Chastain <chastain@redhat.com>
* gdb.c++/ref-types.exp: Change handwritten code to library
	function 'runto'.
2001-03-16 17:59:58 +00:00
Nick Clifton d165939296 Fix warning message 2001-03-16 17:34:31 +00:00
Orjan Friberg 6bae5bceb3 2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-16 09:05:16 +00:00
Orjan Friberg b7844da629 2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-16 08:57:44 +00:00
Jim Wilson 4d5a53ff76 Add local tag support. Don't flush instructions for .xdata directives.
* config/tc-ia64.c (md): New member keep_pending_output.
	(ia64_flush_pending_output): Flush only if md.keep_pending_output
	is not set.
	(dot_xdata): Turn on md.keep_pending_output for the duration of
	this function.
	(dot_xfloat_cons): Ditto.
	(dot_xstringer): Ditto.
	(dot_xdata_ua): Ditto.
	(dot_xfloat_cons_ua): Ditto.
	* config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
	label support.
2001-03-16 04:56:31 +00:00
Kevin Buettner 80117be270 Misc. cleanups. 2001-03-16 03:52:12 +00:00