H.J. Lu
ef58a6ac64
2000-11-20 H.J. Lu <hjl@gnu.org>
...
* ia64-tdep.c (gdbarch_tdep): Change reference from
ELFOSABI_MONTEREY to ELFOSABI_AIX.
2000-11-20 23:46:36 +00:00
H.J. Lu
1da80a8282
2000-11-20 H.J. Lu <hjl@gnu.org>
...
* common.h (ELFOSABI_MONTEREY): Renamed to ...
(ELFOSABI_AIX): This.
2000-11-20 23:45:42 +00:00
H.J. Lu
a257e27a6e
2000-11-20 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.d: Add 3 "nop"s for the a.out assembler.
* gas/i386/intel.s: Likewise.
2000-11-20 21:16:26 +00:00
Peter Schauer
6e77854511
* c-valprint.c (print_function_pointer_address): New function
...
to automatically dereference a function pointer for printing
if necessary.
(c_val_print): Use print_function_pointer_address when printing
function pointer addresses.
2000-11-20 20:33:53 +00:00
J.T. Conklin
0c9f8a6941
* gdbserver/low-nbsd.c: Fix typos.
2000-11-20 19:30:29 +00:00
Kazu Hirata
beb0d161cd
2000-11-20 Kazu Hirata <kazu@hxi.com>
...
* aix386-core.c: Fix formatting.
* aout-adobe.c: Likewise.
* aout-arm.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
2000-11-20 19:05:12 +00:00
Jeff Law
b57d7d21ef
* pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.
2000-11-20 17:44:07 +00:00
Ian Lance Taylor
be98a80a9f
* ltcf-cxx.sh: Added file, required by 2000-11-18 merge.
2000-11-20 17:27:59 +00:00
Andrew Cagney
81078c5d69
Add linespec maintainers.
2000-11-20 14:42:16 +00:00
Andrew Cagney
2a44e7c4e7
Devolve Solaris/x86
2000-11-20 12:45:01 +00:00
Andrew Cagney
e306c3082a
* MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX. Jim
...
Blandy, KEvin Buettner and Peter Schauer share shared libs.
2000-11-20 12:31:43 +00:00
Andrew Cagney
c3eb0c00b3
Mark error_no_arg() as no-return.
2000-11-20 03:37:09 +00:00
Andrew Cagney
76995688e8
Replace asprintf() / vasprintf() with xasprintf() xvasprintf().
2000-11-20 02:06:19 +00:00
Andrew Cagney
896f186799
Add ``extern'' and STREQ to cleanups.
2000-11-20 01:57:26 +00:00
Ben Elliston
4f49fa1bf0
2000-11-20 Ben Elliston <bje@redhat.com>
...
* cgen-ops.h (SUBBI): New macro.
(SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
(SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
2000-11-19 22:27:14 +00:00
Richard Henderson
b612ab9c43
* readelf.c (display_debug_lines): Adjust last change to
...
use sizeof (external->li_length).
2000-11-19 20:57:42 +00:00
Jim Blandy
e85428fca3
* symtab.c (no_symtab_msg): Remove definition.
...
(sources_info): Replace use of no_symtab_msg with the string
itself.
* linespec.c (no_symtab_msg): Remove declaration.
(decode_line_1): Replace uses of no_symtab_msg with the string
itself.
2000-11-19 17:27:38 +00:00
Eli Zaretskii
4a92d01105
* gdb.texinfo (Continuing and Stepping): Fixed markup and typos,
...
as suggested by Dmitry Sivachenko <dima@Chg.RU>.
2000-11-19 06:31:39 +00:00
Alexandre Oliva
5cec67bf93
* Makefile.in: Merge with GCC and libgcj.
...
(ALL_GCC_C, ALL_GCC_CXX): New macros. Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.
2000-11-18 22:01:34 +00:00
Alexandre Oliva
0da520102d
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
...
(REALLY_SET_LIB_PATH): Use them.
2000-11-18 20:58:43 +00:00
Greg McGary
fec7d8b0e7
* Makefile.in: remove `@true' commands for rules that have
...
$(CGEN_MAINT) as a prerequisite.
2000-11-18 09:08:59 +00:00
Kevin Buettner
55d05f3b1d
Handle optimizer code motions into the prologue.
2000-11-18 05:50:11 +00:00
Kevin Buettner
ba5f58cb2e
Protoization.
2000-11-18 02:05:46 +00:00
Jim Wilson
2c2475db4a
Fix DT_INIT ABI violation, it is an offset not a function pointer.
...
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
pltoff entries for DT_INIT and DT_FINI.
(elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
(elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
entries.
2000-11-18 00:41:35 +00:00
Richard Henderson
6d2cf69f91
* ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
...
callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
(check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
2000-11-18 00:13:28 +00:00
Nick Clifton
8179bd9b1b
Add support for .line and .file pseudo ops.
2000-11-17 18:46:43 +00:00
Richard Henderson
316e2c0578
* config/tc-i386.c (md_pseudo_table): Add .file and .loc.
2000-11-17 18:15:53 +00:00
Richard Henderson
a8316fe296
* dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
...
* config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
tri-state definition of alpha_flag_mdebug.
* config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
(s_alpha_file): Store first .file directive.
(s_alpha_stab): New.
(md_pseudo_table): Add stabs and stabn.
2000-11-17 18:07:33 +00:00
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