Nicholas Duffek
9d2e1bab9d
* lib/gdb.exp (gdb_test): Override timeout with board info.
2000-11-17 17:16:24 +00:00
Nicholas Duffek
1aca8eb7fa
* gdb.base/display.exp: Don't kill running stub. Add "again" to
...
the second kill and detach messages.
2000-11-17 17:13:33 +00:00
Nicholas Duffek
930764990d
* configure.in: Add AC_EXEEXT.
...
* configure: Regenerate.
* Makefile.in (just-check): Export EXEEXT.
* lib/gdb.exp ($EXEEXT): Import from environment.
* gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
expect "maint dump-me" on Cygwin.
* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
$EXEEXT.
2000-11-17 16:37:48 +00:00
Nicholas Duffek
30e87cd372
* gdb.base/break.exp: Test backtrace and finish from called
...
function on all platforms, not just HP-UX.
2000-11-17 16:24:48 +00:00
Richard Henderson
e346e481c2
* config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
2000-11-17 09:28:04 +00:00
Richard Henderson
39bb5fe6d2
* as.c (main): Call dwarf2_finish.
2000-11-17 08:53:38 +00:00
Richard Henderson
4dc7ead9fd
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
...
* as.h (debug_type): Clarify documentation of the meaning
of this variable.
* dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
(print_stats): Fix parenthesis problem.
(now_subseg_size): New.
(dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
(dwarf2_directive_file): Don't set debug_type.
(dwarf2_where): Honor DEBUG_DWARF2 first.
(dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
do nothing if not emitting dwarf2 debug info, or no work.
* dwarf2dbg.h (dwarf2_emit_insn): Update.
* ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
(ecoff_new_file): Likewise.
* read.c (generate_lineno_debug): Kill ecoff hackery. Update
commentary wrt dwarf2.
* config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
ATTRIBUTE_UNUSED as needed.
(emit_insn): Call dwarf2_emit_insn.
(s_alpha_file): New.
(s_alpha_loc): New.
(s_alpha_coff_wrapper): Don't handle them.
(md_pseudo_table): Update for .file and .loc.
* config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
don't protect with debug_type.
* config/tc-hppa.c (md_assemble): Likewise.
* config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-sh.c (md_assemble): Likewise.
* config/tc-v850.c (md_assemble): Likewise.
* config/tc-arm.c (arm_end_of_source): Remove.
* config/tc-hppa.c (pa_end_of_source): Remove.
* config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
* config/tc-mn10300.c (mn10300_finalize): Remove.
* config/tc-sh.c (sh_finalize): Remove.
* config/tc-v850.c (sh_finalize): Remove.
* config/tc-arm.h (md_end): Remove.
* config/tc-hppa.h (md_end): Remove.
(DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-m68hc11.h (md_end): Remove.
* config/tc-mn10300.h (md_end): Remove.
* config/tc-sh.h (md_end): Remove.
* config/tc-v850.h (md_end): Remove.
* config/tc-ia64.c (emit_one_bundle): Don't protect
dwarf2 bits with debug_type.
(md_assemble): Likewise.
(ia64_end_of_source): Don't call dwarf2_finish.
2000-11-17 08:47:52 +00:00
Richard Henderson
512d22f487
* readelf.c (display_debug_lines): Fix section length check
...
and end_of_sequence computation.
2000-11-17 08:28:59 +00:00
Christopher Faylor
b90a5f516a
* gdb.texinfo: Document new 'set step-mode' command.
2000-11-17 03:59:40 +00:00
Christopher Faylor
e35ce267f5
* thread.c (thread_apply_all_command): Save the command before executing it
...
because it may be modified. Restore the saved command so that the same command
is executed on next thread.
(thread_apply_command): Same correction.
2000-11-17 03:49:41 +00:00
Michael Snyder
165cd47f5e
2000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* regcache.c (read_register_bytes): Failing to set register_valid
is not necessarily an error, if the register is a pseudo-register.
Some pseudo-registers are never marked as valid, so that they will
be read anew every time. Determining if a pseudo-register is valid
(or should be marked invalid) may be difficult, whereas just
recomputing it may be cheap.
2000-11-17 01:30:53 +00:00
Jim Wilson
ca683b78f3
Fix minor typos in recent errata workaround patch.
...
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
>= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
> 16.
2000-11-16 23:52:01 +00:00
Richard Henderson
71517c7008
Update relocations per August psABI docs.
...
* ia64.h (R_IA64_SEGBASE): Remove.
(R_IA64_LTV*): Renumber to 0x74 to 0x77.
(R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
(R_IA64_TPREL14, R_IA64_TPREL64I): New.
(R_IA64_DTPMOD*): New.
(R_IA64_DTPREL*): New.
2000-11-16 22:48:14 +00:00
Richard Henderson
18b27f179e
* elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
...
(allocate_dynrel_entries): Likewise.
(elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
(set_pltoff_entry): Likewise.
(ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
(elfNN_ia64_reloc_type_lookup): Likewise.
(elfNN_ia64_install_value): Likewise.
(elfNN_ia64_relocate_section): Likewise.
* reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
(BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
2000-11-16 22:44:07 +00:00
H.J. Lu
77e913df42
Use "[ ]+" instead of "[ ]*".
2000-11-16 22:27:45 +00:00
H.J. Lu
f5776d3d84
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver0.d: Add 64bit support.
* gas/symver/symver1.d: Likewise.
2000-11-16 22:25:13 +00:00
Kazu Hirata
71f6b58639
2000-11-16 Kazu Hirata <kazu@hxi.com>
...
* cpu-a29k.c: Fix formatting.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i386.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64-opc.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-z8k.c: Likewise.
2000-11-16 20:48:09 +00:00
Kazu Hirata
98591c73cf
2000-11-16 Kazu Hirata <kazu@hxi.com>
...
* dwarf1.c: Fix formatting.
* dwarf2.c: Likewise.
2000-11-16 19:29:48 +00:00
H.J. Lu
6f62085610
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* config/obj-elf.c (obj_elf_symver): Don't check the missing
version name.
2000-11-16 19:29:12 +00:00
H.J. Lu
e206b66f34
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver.exp: Don't run symver4 nor symver5.
2000-11-16 19:28:10 +00:00
David Taylor
0e828ed163
* tracepoint.c (trace_find_tracepoint_command): Replace call to
...
parse_and_eval_address with a call to parse_and_eval_long as
we are evaluating an integer, not an address.
* top.c (show_commands): Ditto.
2000-11-16 14:51:50 +00:00
Hans-Peter Nilsson
5dd42ef455
* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
...
parameter `option'.
Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.
2000-11-16 09:07:59 +00:00
Ben Elliston
2d84da1b7c
2000-11-16 Ben Elliston <bje@redhat.com>
...
* cgen-types.h (VOID): New type.
2000-11-16 03:21:48 +00:00
DJ Delorie
8944fb9d12
Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c
2000-11-16 01:10:16 +00:00
Kazu Hirata
19d63e5d2d
2000-11-15 Kazu Hirata <kazu@hxi.com>
...
* config/tc-tic30.c: Fix formatting.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.
2000-11-16 00:59:49 +00:00
Kazu Hirata
cbfe05c4c6
2000-11-15 Kazu Hirata <kazu@hxi.com>
...
* coff-rs6000.c: Fix formatting.
* coff-sh.c: Likewise.
* coff-sparc.c: Likewise.
* coff-tic30.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff-w65.c: Likewise.
* coff-we32k.c: Likewise.
* coff-z8k.c: Likewise.
2000-11-16 00:54:12 +00:00
Richard Henderson
d34802440c
* emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2000-11-15 23:16:30 +00:00
Kazu Hirata
c5930ee6b4
2000-11-15 Kazu Hirata <kazu@hxi.com>
...
* coff-arm.c: Fix formatting.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
2000-11-15 20:20:52 +00:00
Kevin Buettner
b095261a94
Protoization.
2000-11-15 19:58:14 +00:00
Richard Henderson
dac544a817
* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
...
section with the same ALLOC|LOAD flags as the source section.
2000-11-15 19:22:28 +00:00
DJ Delorie
a8761a19f4
* config/tc-v850.c: Support dwarf2.
...
* config/tc-v850.h: Ditto.
* config/tc-v850.c (cons_fix_new_v850): Don't rely on
parse_cons_expression_v850 to initialize hold_cons_reloc.
2000-11-15 19:22:22 +00:00
DJ Delorie
296731c177
[merge]
...
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.
2000-11-15 19:10:20 +00:00
Nick Clifton
4a8e467a7a
ops - omited from previous delta
...
Add GFPL to bfd.texinfo
2000-11-15 18:24:49 +00:00
Bernd Schmidt
88be23ec6a
Workaround for Itanium A/B step errata
2000-11-15 17:34:00 +00:00
David Taylor
79496e2fad
* utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
...
not TARGET_PTR_BIT, since we are dealing with addresses, not
pointers.
2000-11-15 14:33:50 +00:00
Hans-Peter Nilsson
6e53a71409
Correct date and style of last entry
2000-11-15 12:01:15 +00:00
Hans-Peter Nilsson
16e857458e
* cplus_dem.c: Add gnat demangler. Add java to demangle style
...
list.
2000-11-15 11:50:21 +00:00
Hans-Peter Nilsson
4cabd1d10f
* demangle.h: Add gnat and java demangle styles.
2000-11-15 11:47:51 +00:00
Jim Wilson
72a76794c1
Extend earlier ia64-hpux patches to work correctly for ia64-linux.
...
* config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
return little endian bfd formats.
2000-11-14 23:56:38 +00:00
Michael Snyder
08e706b15a
2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* config/monitor.exp (gdb_target_cmd): Abstracts some of the
code from gdb_target_monitor, so it can be used independantly
for gdbserver. Also comment out an unnecessary PUTS.
2000-11-14 22:19:02 +00:00
Michael Snyder
958a4e4cde
2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
* gdb.base/corefile.exp: Expect the message "Program is being
debugged already" when we send the "corefile" command, since
the preceeding gdb_load may have connected gdb to a remote target.
* gdb.base/display.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true.
Replace single-letter commands with more readable ones.
* gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
if new board info variable "no_hardware_watchpoints" is true.
* gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
to see if stdio (printf) testing is possible.
* gdb.base/watchpoint.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true. Use new
proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2000-11-14 22:12:26 +00:00
Kazu Hirata
4a1805b14d
2000-11-14 Kazu Hirata <kazu@hxi.com>
...
* config/aout_gnu.h: Fix formatting.
* config/atof-vax.c: Likewise.
* config/m68k-parse.h: Likewise.
* config/m88k-opcode.h: Likewise.
* config/obj-elf.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/te-386bsd.h: Likewise.
* config/te-hppa.h: Likewise.
* config/te-nbsd.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-sparcaout.h: Likewise.
* config/te-tmips.h: Likewise.
* config/vax-inst.h: Likewise.
* config/vms-conf.h: Likewise.
2000-11-14 20:57:30 +00:00
Jakub Jelinek
c810873da1
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
...
by STO_ALPHA constants.
* config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
2000-11-14 20:46:25 +00:00
Hans-Peter Nilsson
b6b0b32c89
* cris-dis.c (cris_get_disassembler): If abfd is NULL, return
...
print_insn_cris_with_register_prefix.
2000-11-14 20:08:55 +00:00
Kazu Hirata
43646c9de2
2000-11-14 Kazu Hirata <kazu@hxi.com>
...
* coff-pmac.c: Fix formatting.
* coff-ppc.c: Likewise.
2000-11-14 19:23:49 +00:00
Kazu Hirata
1ce7de8b08
2000-11-14 Kazu Hirata <kazu@hxi.com>
...
* scripttempl/h8300.sc: Fix formatting.
* scripttempl/h8300h.sc: Likewise.
* scripttempl/h8300s.sc: Likewise.
2000-11-14 19:17:53 +00:00
Daniel Berlin
770de1994e
From Kenneth Block <kenneth.block@compaq.com>
...
* demangle.c: Use libibery list of demanglers instead of out of
date local copy.
2000-11-14 16:46:24 +00:00
Andrew Cagney
4ad5b0f716
Fix ``show remotewritesize'' was doing a set.
2000-11-14 13:45:38 +00:00
Fernando Nasser
39124deab4
2000-11-13 Fernando Nasser <fnasser@redhat.com>
...
From Orjan Friberg <orjanf@axis.com>:
* gdb.base/printcmds.exp: Escape curly braces followed by a number
in array print pattern match.
2000-11-14 02:36:22 +00:00
H.J. Lu
051b857701
2000-11-08 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_add_object_symbols): Also add indirect
symbols for common symbols with the default version.
2000-11-13 22:49:54 +00:00