Jim Wilson
5e7474a7c9
Fix linux kernel unwind section alignment failure.
...
* config/tc-ia64.c (generate_unwind_image): Call record_alignment
for unwind info section.
(dot_endp): Likewise for unwind section.
2000-11-22 02:10:34 +00:00
Jim Wilson
5a080f897a
Fix assembler error on linux kernel mm/memory.c file.
...
* config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
fix_new_exp.
2000-11-22 01:12:05 +00:00
Kazu Hirata
6e301b2bf2
2000-11-21 Kazu Hirata <kazu@hxi.com>
...
* coff-a29k.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i960.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-stgo32.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-w65.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-ns32k.c: Likewise.
2000-11-22 01:08:53 +00:00
Kazu Hirata
1abaf97602
2000-11-21 Kazu Hirata <kazu@hxi.com>
...
* ecoff.c: Fix formatting.
* ecofflink.c: Likewise.
2000-11-22 00:56:55 +00:00
Jakub Jelinek
b8e904dce5
* config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2000-11-21 21:37:44 +00:00
Nick Clifton
a0fc8ba1d8
Fix compile time warning, and remove possibility of infinite loop.
2000-11-21 19:47:10 +00:00
Jakub Jelinek
732d96b6ca
* config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
...
(output_insn): Call dwarf2_emit_insn.
2000-11-21 12:40:14 +00:00
Hans-Peter Nilsson
f17755262c
* cplus-dem.c (cplus_demangle): Fix formatting.
...
(grow_vect): Ditto.
(ada_demangle): Ditto.
(internal_cplus_demangle): Ditto.
(mop_up): Ditto.
* cplus-dem.c (main): Handle java_demangling.
* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.
2000-11-21 10:54:08 +00:00
Peter Schauer
d57fc35284
* target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.
...
* target.c (target_signal_from_host, do_target_signal_to_host):
Handle TARGET_SIGNAL_REALTIME_64.
2000-11-21 10:26:07 +00:00
Kevin Buettner
a7ec76fe2f
* solib.c (solib_open): Handle the case where
...
solib_absolute_prefix is NULL.
2000-11-21 09:23:32 +00:00
Kazu Hirata
eb6e10cb73
2000-11-20 Kazu Hirata <kazu@hxi.com>
...
* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
* bfd.c: Likewise.
* bout.c: Likewise.
2000-11-21 02:24:32 +00:00
Michael Snyder
e4f7b8c818
2000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* solist.h: Declare new function solib_open.
* solib.c (solib_open): New function. Abstracts some of the
code from solib_map_sections, for finding the binary solib file.
(solib_map_sections): Call solib_open.
* solib-svr4.c (enable_break): Call solib_open.
2000-11-21 01:09:54 +00:00
J.T. Conklin
22c720812e
* gdbserver/low-nbsd.c (fetch_inferior_registers,
...
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added. Adapt to register number
changes caused when powerpc target was multi-arched.
2000-11-21 00:25:58 +00:00
H.J. Lu
bd9805457d
2000-11-20 H.J. Lu <hjl@gnu.org>
...
* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
ELFOSABI_AIX.
2000-11-20 23:47:41 +00:00
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