Mark Kettenis
ed84f6c149
* i386-tdep.c (i386_saved_pc_after_call): New function.
...
* config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
of i386_saved_pc_after_call.
(i386_saved_pc_after_call): New prototype.
2001-04-17 23:20:55 +00:00
Andrew Cagney
514e603dc0
Obsolete NEWS and ISI systems (along with a few redundant m68k targets).
2001-04-17 21:20:49 +00:00
Michael Snyder
6240bebf51
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* remote.c (remote_open_1): On opening the remote target, activate
the solib_create_inferior_hook, so that it can detect when the
target loads shared libraries.
(remote_async_open_1): Ditto.
2001-04-17 20:31:00 +00:00
Michael Snyder
75ac9d7b9d
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
* tracepoint.c (tracepoints_info): Handle 64-bit addresses.
* testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
* testsuite/gdb.trace/infotrace.exp: Ditto.
* testsuite/gdb.trace/passcount.exp: Ditto.
* testsuite/gdb.trace/while-stepping.exp: Ditto.
2001-04-17 20:16:31 +00:00
Michael Snyder
b95697738e
2001-04-17 Michael Snyder <msnyder@redhat.com>
...
* thread-db.c (check_thread_signals): When looping over all
signals, ignore signal zero.
(disable_thread_signals): Ditto.
2001-04-17 19:14:54 +00:00
Michael Snyder
81490ea1cb
2001-04-17 Eirik Fuller <eirik@netapp.com>
...
* thread.c (do_captured_thread_select): Allow the argument to the
thread command to be an expression rather than a literal integer.
2001-04-17 19:01:35 +00:00
Hans-Peter Nilsson
4d96d12825
* elf32-cris.c: Tweak comments related to dynamic linking.
...
(cris_elf_relocate_section): When not creating shared object, fill
in the .got table for any symbol not in the dynamic symbol table.
(elf_cris_finish_dynamic_symbol): When not creating shared object,
only emit a .got.rela reloc if the symbol is in the dynamic symbol
table.
(cris_elf_check_relocs): Use variable r_type in all places rather
than the original expression. Add default case in switch for
reloc types.
(elf_cris_size_dynamic_sections): Iterate over
elf_cris_discard_excess_program_dynamics when not creating shared
library.
(elf_cris_discard_excess_dso_dynamics): Renamed from
elf_cris_discard_copies. Correct typo, s/Rel/Rela/.
(elf_cris_discard_excess_program_dynamics): New.
2001-04-17 12:32:30 +00:00
Mark Kettenis
e5434c3d1a
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
...
read_memory_unsigned_integer instead of read_memory_integer.
2001-04-17 09:38:52 +00:00
Kevin Buettner
00c7912d77
* solib-aix5.c (map_index_vs_section_name_okay): New function.
...
(aix5_relocate_main_executable): Don't use file offsets for
determining corresponding sections and map file entries. Call
map_index_vs_section_name_okay() to do this instead.
2001-04-17 02:29:23 +00:00
David O'Brien
1c33f1da00
2001-04-16 David O'Brien <obrien@FreeBSD.org>
...
* configure.in: Add the em type for FreeBSD targets.
* configure: Regenerate.
Approved by: Alan Modra <amodra@one.net.au>
<20010414192409.C16364@squeak.one.net.au>
Philip Blundell <philb@gnu.org>
<E14o06W-0002IT-00@kings-cross.london.uk.eu.org>
2001-04-17 01:36:23 +00:00
Kevin Buettner
4d1bcd09bd
Add code to retry certain open()s.
2001-04-17 01:24:49 +00:00
Kevin Buettner
097e5c0b4c
Fix date on previous commit.
2001-04-16 21:40:48 +00:00
Kevin Buettner
1186f287dc
Make hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.
2001-04-16 21:26:46 +00:00
DJ Delorie
0279cc646c
sync with egcs
2001-04-16 18:42:41 +00:00
Daniel Berlin
9e0c176c3b
2001-04-16 Daniel Berlin <dan@cgsoftware.com>
...
* demangle.c (_initialize_demangler): Use xcalloc on the
demangling_style_names, and make it a null terminated array of
names, to avoid a crash.
2001-04-16 14:36:16 +00:00
Daniel Berlin
a5dd804ef9
Forgot the makefile portion
2001-04-16 14:11:24 +00:00
Daniel Berlin
400ee7e1e2
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
...
* ternary.c: New file - Ternary search tree implementation.
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.h: New file - Ternary search tree header.
2001-04-16 14:10:14 +00:00
Mark Kettenis
c833a37e77
* i386-tdep.c (i386_frame_chain): New function.
...
* config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
i386_frame_chain.
(i386_frame_chain): New prototype.
2001-04-16 13:03:15 +00:00
J.T. Conklin
d4424adaef
* Makefile.in (simops.o): Add simops.h to dependency list.
2001-04-15 19:57:10 +00:00
DJ Delorie
3ed30d29c6
* coffcode.h (coff_write_object_contents): Use
...
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
2001-04-15 04:23:46 +00:00
H.J. Lu
a80f694198
2001-04-14 H.J. Lu <hjl@gnu.org>
...
* bfd-in2.h: Regenerate.
2001-04-15 01:02:54 +00:00
J.T. Conklin
46c6cdcf5e
* target.h (target_ops): Removed to_core_file_to_sym_file vector
...
function.
* corelow.c (core_ops): Updated for above change.
* gnu-nat.c (core_ops): Likewise.
* inftarg.c (child_ops): Likewise.
* monitor.c (monitor_ops): Likewise.
* ppc-bdm.c (bdm_ppc_ops): Likewise.
* remote-adapt.c (adapt_ops): Likewise.
* remote-bug.c (bug_ops): Likewise.
* remote-e7000.c (e7000_ops): Likewise.
* remote-eb.c (eb_ops): Likewise.
* remote-es.c (es1800_ops, es1800_child_ops): Likewise.
* remote-mm.c (mm_ops): Likewise.
* remote-nindy.c (nindy_ops): Likewise.
* remote-nrom.c (nrom_ops): Likewise.
* remote-os9k.c (rombug_ops): Likewise.
* remote-rdp.c (remote_rdp_ops): Likewise.
* remote-sim.c (gdbsim_ops): Likewise.
* remote-st.c (st2000_ops): Likewise.
* v850ice.c (v850ice_ops): Likewise.
* target.c (cleanup_target): Likewise
(update_current_target): Likewise.
(setup_target_debug): Likewise
(debug_to_core_file_to_sym_file): Removed.
* corefile.c (core_file_command) [HPUXHPPA]: Removed code that
sets symbol file from information obtained from the core file.
* corelow.c (core_file_to_sym_file): Removed.
2001-04-14 19:23:02 +00:00
Jakub Jelinek
767e4b0d59
* section.c (STD_SECTION): Add entsize.
2001-04-14 14:23:31 +00:00
Alexandre Oliva
8c5e1ccd72
* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
...
* symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
2001-04-14 06:57:28 +00:00
Alexandre Oliva
eb0dfd58c8
* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
...
pc-relative relocations not placed at the end of the instruction.
2001-04-14 06:53:57 +00:00
H.J. Lu
2dd439c54e
2001-04-13 H.J. Lu <hjl@gnu.org>
...
* section.c (SEC_MERGE): Define new flag for merging.
(SEC_STRINGS): Likewise.
(entsize): New field.
2001-04-14 04:13:00 +00:00
Jim Wilson
1deb8127a2
Fix latent bug exposed by a gcc-3 bug fix.
...
* tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
excluding br.i.
2001-04-14 03:51:40 +00:00
DJ Delorie
baf80c32ae
* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
...
flag on pe-i386 targets.
2001-04-13 22:42:48 +00:00
Fernando Nasser
d1566ff562
2001-04-13 Fernando Nasser <fnasser@redhat.com>
...
From Adam Mirowski <Adam.Mirowski@Sun.COM>
Fixed Insight on Solaris. It was not possible to debug a process
because of EINTR "errors".
* procfs.c: (procfs_wait): if proc_wait_for_stop() fails
with EINTR, retry the call.
2001-04-13 13:51:54 +00:00
J.T. Conklin
7ce691aec4
* ld.texinfo: Document --fatal-warnings.
...
* ld.1: Regenerate.
* ldmisc.c (vfinfo): Set flag to inhibit making executable if
warnings have been turned into errors.
* lexsup.c (OPTION_WARN_FATAL): Define.
(ld_options): Entry for --fatal-warnings.
(parse_args): Handle OPTION_WARN_FATAL.
* ld.h (ld_config_type): Add fatal_warnings field.
2001-04-13 02:22:23 +00:00
Jakub Jelinek
f5fa8ca231
bfd/
...
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.
2001-04-13 00:34:36 +00:00
Kevin Buettner
6c98e688d5
Revise way in which mappings are allocated/searched.
2001-04-12 22:27:09 +00:00
Nicholas Duffek
49282387fc
* xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
...
"@".
2001-04-12 19:53:09 +00:00
Kevin Buettner
7f6b83a5db
* config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
2001-04-12 18:44:40 +00:00
Jason Merrill
fb81275c7d
* dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
2001-04-12 16:00:32 +00:00
Jim Blandy
c0efbca4a3
* mips.igen (CFC1, CTC1): Pass the correct register numbers to
...
PENDING_FILL. Use PENDING_SCHED directly to handle the pending
set of the FCSR.
* sim-main.h (COCIDX): Remove definition; this isn't supported by
PENDING_FILL, and you can get the intended effect gracefully by
calling PENDING_SCHED directly.
2001-04-12 14:53:20 +00:00
Alexandre Oliva
8cc32590dd
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
...
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.
2001-04-12 12:32:00 +00:00
Alexandre Oliva
a8a22e3365
* expr.c (operand): Pass &c to md_parse_name().
...
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2001-04-12 07:03:10 +00:00
Andrew Cagney
24f89b6880
Obsolete sun386i.
2001-04-11 22:39:07 +00:00
Alan Modra
21211521db
* MAINTAINERS: Update my email address
...
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-04-11 07:07:29 +00:00
J.T. Conklin
c114dcd5b7
* maint.c: Fix typo in comment.
2001-04-11 01:01:04 +00:00
Keith Seitz
6755f5adf6
* MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
2001-04-10 03:03:28 +00:00
Hans-Peter Nilsson
d954b04094
* elflink.h (elf_fix_symbol_flags): For non-default visibilities,
...
only hide symbols marked STV_INTERNAL or STV_HIDDEN.
2001-04-09 03:24:32 +00:00
Kevin Buettner
7700434b5c
Add comments noting that vfork might be defined to be fork.
2001-04-08 18:26:03 +00:00
Kevin Buettner
d493eb331e
Use cleanup machinery to invoke ui_out_list_end().
2001-04-08 17:55:13 +00:00
H.J. Lu
fdec3cfc83
2001-04-05 Steven J. Hill <sjhill@cotw.com>
...
* Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
(ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
(eelf32ltsmip.c): New target.
(eelf64btsmip.c): Likewise.
(eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerated.
* configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
target.
(mips*-*-linux-gnu*): Likewise.
* emulparams/elf32ltsmip.sh: New. Traditional little endian
MIPS taget.
* emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
target.
* emulparams/elf64ltsmip.sh: New. Traditional 64bit little
endian target.
2001-04-08 05:13:57 +00:00
H.J. Lu
fdbafa100f
2001-04-05 Steven J. Hill <sjhill@cotw.com>
...
* config.bfd (mips*el*-*-linux-gnu*): Use traditional little
endian MIPS ELF target.
* config.bfd (mips*-*-linux-gnu*): Use traditional big endian
MIPS ELF target.
* configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* configure: Regenerated.
* elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
little endian targets.
(mips_elf_sym_is_global): Handle traditional targets.
* elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
and bfd_elf64_tradlittlemips_vec.
2001-04-08 05:11:49 +00:00
H.J. Lu
af9539e4e5
2001-04-07 Steven J. Hill <sjhill@cotw.com>
...
* config/tc-mips.c: Support ELF64 for traditional MIPS targets.
* Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
* Makefile.in: Regenerated.
* configure.in: Use traditional MIPS targets for Linux/MIPS.
* configure: Regenerated.
2001-04-08 05:09:21 +00:00
J.T. Conklin
c839c4db61
* dcache.c (dcache_write_line): Fixed bugs where cache line was
...
not written to target correctly.
2001-04-06 22:43:55 +00:00
J.T. Conklin
af471f3cf4
* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
...
void return value;
* gdbserver/low-nbsd.c: Likewise.
* gdbserver/low-sparc.c: Likewise.
* gdbserver/low-sun3.c: Likewise.
---------------------------------------------------------------------
2001-04-06 22:25:09 +00:00