Commit Graph

30245 Commits

Author SHA1 Message Date
Kevin Buettner 98f96ba187 Make alignment of struct arguments in inferior function calls comply with
the IA-64 Software Conventions and Runtime manual.
2001-06-02 01:37:20 +00:00
Michael Snyder 8601f500c8 2001-06-01 Michael Snyder <msnyder@redhat.com>
* thread.c (delete_step_resume_breakpoint): New function.
	Maintain internal consistency of the thread list while deleting
	a step_resume_breakpoint.
	* gdbthread.h (delete_step_resume_breakpoint): Export.
	* breakpoint.c (bpstat_find_step_resume_breakpoint):
	Make thread-aware: don't return a step_resume_breakpoint
	for the wrong thread.
	* infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
	instead of delete_breakpoint_current_contents.
	(fetch_inferior_event): Ditto.
	(handle_inferior_event): Call delete_step_resume_breakpoint
	instead of delete_breakpoint.
2001-06-02 00:36:20 +00:00
Michael Snyder c6ad9598d0 2001-06-01 Michael Snyder <msnyder@redhat.com>
* infrun.c (handle_inferior_event): After singlestepping over a
	thread-specific breakpoint, use currently_stepping() to decide
	whether to step or continue.
2001-06-01 23:23:19 +00:00
Jim Blandy b27b8843dc * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
these static --- there's no reason other files should use these.
2001-06-01 22:22:25 +00:00
Jim Blandy d0bbfec7b6 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
Fix memory leak.
2001-06-01 21:17:50 +00:00
Jim Blandy 531017dfa4 * partial-stab.h: New complaint: function_outside_compilation_unit.
(case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
complain, and don't try to set pst's start address.
2001-06-01 20:37:11 +00:00
Andreas Jaeger 80643fbcda * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
relocation, small reformatting.
2001-06-01 11:52:11 +00:00
Alan Modra 936260fe3e * MAINTAINERS: Update my email address. 2001-06-01 04:21:57 +00:00
Kevin Buettner 015e046f80 * gdb.base/annota1.exp (info break): Match four or more spaces
after "Address".
2001-06-01 02:50:17 +00:00
Kevin Buettner 58ab00f996 Prologue scanner modifications. 2001-06-01 02:39:51 +00:00
Kevin Buettner d469a809fa * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
match the location at which the kernel is placing the sigcontext
	struct.
2001-06-01 02:22:01 +00:00
Michael Chastain fb1ffbbef0 2001-05-31 Michael Chastain <chastain@redhat.com>
* gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
	(dm_type_int_star): Likewise.
	(dm_type_long_star): Likewise.
	(dm_type_void_star): Likewise.
2001-05-31 22:04:46 +00:00
H.J. Lu 5929ebc003 2001-05-31 H.J. Lu <hjl@gnu.org>
* ldlang.c (open_input_bfds): Don't change the bfd error
	handler whilst loading symbols.
2001-05-31 21:14:59 +00:00
Christopher Faylor 9fd7143a93 * partial-stab.h: Revert previous patch. 2001-05-31 03:41:31 +00:00
Christopher Faylor 34a7837abd * partial-stab.h: Consistently guard against pst being NULL. 2001-05-31 02:58:57 +00:00
Richard Henderson 371b7465e4 * read.c (emit_leb128_expr): Call md_cons_align. 2001-05-31 00:00:30 +00:00
Michael Snyder c4365b1915 2001-05-25 Michael Snyder <msnyder@redhat.com>
* lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
	to consume the SIGSTOP generated by PTRACE_ATTACH.
	(stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
	try again to get the SIGSTOP event.
	(lin_lwp_wait): Resume all threads when ignoring a signal.
	This will insure that newly attached threads get resumed.
2001-05-30 22:58:37 +00:00
Andreas Jaeger 6b3db54654 * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
(elf64_x86_64_relocate_section): Likewise.
2001-05-30 18:44:46 +00:00
Michael Snyder 5f885618b6 2001-05-25 Michael Snyder <msnyder@redhat.com>
* lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
2001-05-30 18:15:45 +00:00
Alan Modra 4dc8668677 * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
millicode.  Don't allocate .got and .rela.got space here..
	(elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..
	(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
	.rela.plt here..
	(hppa_handle_PIC_calls): ..nor here..
	(allocate_plt_and_got): ..instead do it all here.  New function.
	(elf32_hppa_size_dynamic_sections): Allocate local .got space and
	call allocate_plt_and_got.  No need to zap .got if not dynamic.
	(elf32_hppa_final_link): Call regular bfd_final_link instead of
	gc_common_final_link.
	(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
	(elf32_hppa_relocate_section): Use it here.
	(elf32_hppa_finish_dynamic_symbol): Remove superfluous test of
	dynamic_sections_created.
	(hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.
2001-05-30 14:30:33 +00:00
Nick Clifton 16b2b71c0c Add command line switches to objcopy to provide lists of symbols in files 2001-05-30 10:46:28 +00:00
Kevin Buettner 5ea2a32c88 * gdb.base/completion.exp (INPUTRC): Set this environment variable
to a known value in order to get consistent results regardless
	of the setting of INPUTRC or the presence or contents of .inputrc.
2001-05-30 02:54:41 +00:00
Tom Rix 41ea10b134 formatting change 2001-05-29 14:53:22 +00:00
Alexandre Oliva 09d011c5ca * symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.
* minsyms.c (compare_minimal_symbols): Likewise.
* coffread.c (find_targ_sec): Likewise.
* elfread.c (free_elfinfo, elf_locate_sections): Likewise.
* mipsread.c (alphacoff_locate_sections): Likewise.
* mdebugread.c (compare_blocks): Likewise.
2001-05-29 10:45:10 +00:00
Alexandre Oliva ad53e288d3 * symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.
2001-05-29 10:20:27 +00:00
Alexandre Oliva e877bb694e * ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
libraries when using g++ with native linker.
2001-05-28 21:05:35 +00:00
Alexandre Oliva 1605288ba4 * ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256. 2001-05-28 20:56:20 +00:00
Andreas Jaeger de41dcd889 * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
generic version since we want a hashsize of 4.
	(elf_backend_size_info): Likewise.
2001-05-28 15:45:47 +00:00
Andreas Jaeger 7036c0e167 * readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.
2001-05-28 15:41:34 +00:00
Nick Clifton 209f668ef2 Handle MIPS64 relocs which use a non-1 valued int_rels_per_ext_rel 2001-05-28 11:57:54 +00:00
Nick Clifton 1e329ce6ac For sh-*-linux-gnu target add a start address for the text section. 2001-05-28 10:55:23 +00:00
Nick Clifton f7a74f8c82 Support big endian PLT entries. 2001-05-28 10:50:31 +00:00
Alan Modra 5a109b6767 Fix some entries. 2001-05-28 10:37:50 +00:00
Alan Modra 8dea12685e * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries
for symbols forced local that need plabels.
	(elf32_hppa_adjust_dynamic_symbol): Don't allocate space in
	.plt.rela for local syms if non-shared.
	(hppa_build_one_stub): Mask lsb of plt.offset.
	(elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set.
	(clobber_millicode_symbols): Correct comment.
	(elf32_hppa_relocate_section): Likewise.
	(elf32_hppa_finish_dynamic_symbol): Likewise.
2001-05-28 10:12:04 +00:00
Nick Clifton 76a406e5b0 Remove section VMA adjustment when computing the address of the line to show. 2001-05-28 10:03:19 +00:00
Nick Clifton 0f2712edc9 Add support for .uahword, .uaword and .uaxword pseudo ops 2001-05-28 09:23:54 +00:00
Nick Clifton c04a062df3 Rmeove i370-mvs architecture - it is not supported. 2001-05-28 08:25:20 +00:00
Alan Modra 9e40345d0e * write.c (relax_segment <rs_space>): Check the section of a
symbol to determine whether it is absolute rather than comparing
	its frag against zero_address_frag as listings play tricks with
	frags.
2001-05-27 12:17:38 +00:00
Alan Modra fbe572f93e * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
allocated in the same chunk as the fixed part.
2001-05-27 11:57:25 +00:00
Hans-Peter Nilsson 0b171357e6 * gas/cris/addi.d: Tweak for 64-bit BFD.
* gas/cris/binop-cmpmove.d, gas/cris/binop-cmpmovx.d,
	gas/cris/binop-extx.d, gas/cris/binop.d, gas/cris/bork.d,
	gas/cris/branch.d, gas/cris/break.d, gas/cris/brokw-1.d,
	gas/cris/brokw-2.d, gas/cris/brokw-3.d, gas/cris/ccr.d,
	gas/cris/clear.d, gas/cris/continue.d, gas/cris/fragtest.d,
	gas/cris/jump-type.d, gas/cris/labfloat.d, gas/cris/macroat.d,
	gas/cris/movem-to-reg.d, gas/cris/nosep.d, gas/cris/oneop-type.d,
	gas/cris/prefix.d, gas/cris/pushpop-byte-sreg.d,
	gas/cris/pushpop-dword-sreg.d, gas/cris/pushpop-word-sreg.d,
	gas/cris/pushpop.d, gas/cris/quick-s6.d, gas/cris/quick-u5.d,
	gas/cris/quick-u6.d, gas/cris/range-err-1.s, gas/cris/rd-pic-1.d,
	gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
	gas/cris/reg-to-mem.d, gas/cris/regreg.d, gas/cris/return.d,
	gas/cris/scc.d, gas/cris/separator.d, gas/cris/shexpr-1.d,
	gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/unimplemented.d,
	gas/cris/unop-mem.d, gas/cris/x-to-byte-sreg.d,
	gas/cris/x-to-dcr1-sreg.d, gas/cris/x-to-dword-sreg.d,
	gas/cris/x-to-word-sreg.d: Ditto.
	* gas/cris/shexpr-1.d: Ditto.  Correct format.
2001-05-27 09:34:06 +00:00
Alan Modra 54d3cad90d * write.c (relax_segment <rs_space>): Calculate growth using
addresses before stretch.  Prevent repeated error messages.
	From Peter Jakubek  <pjak@snafu.de>
	Use as_bad_where and as_warn_where to pinpoint errors.
2001-05-26 12:45:15 +00:00
Nicholas Duffek b41be06e3b * solib.c (update_solib_list): Move target_resize_to_sections()
into solib_map_sections() loop.
	(info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
	bfd_get_arch_size() fails.
2001-05-26 00:55:11 +00:00
Nicholas Duffek a1cd19081d * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
solib-osf.o.
	* config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
	with solib-osf.o and solib.o.
	* config/alpha/alpha-osf2.mh: Likewise.
	* config/alpha/alpha-osf3.mh: Likewise.
	* solib-osf.c: New file, renamed and largely rewritten from
	osfsolib.c.
2001-05-26 00:52:15 +00:00
H.J. Lu 6768c14a4f 2001-05-25 H.J. Lu <hjl@gnu.org>
* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
	(BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
	(coff-rs6000.lo): Remove the old dependency.
	* Makefile.in: Rebuild.

	* configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
	coff-rs6000.lo.
2001-05-25 22:50:27 +00:00
H.J. Lu 96fcab3e8d 2001-05-25 H.J. Lu <hjl@gnu.org>
* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
	like emulparams/aixppc.sh.
2001-05-25 22:49:14 +00:00
H.J. Lu db8d4f2320 2001-05-25 H.J. Lu <hjl@gnu.org>
* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
	setting of output_filename after bfd_scan_arch.
	* emultempl/pe.em: Likewise.
2001-05-25 22:48:14 +00:00
H.J. Lu b55039f458 2001-05-25 H.J. Lu <hjl@gnu.org>
* coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
	rs6000coff_core_file_matches_executable_p,
	rs6000coff_core_file_failing_command and
	rs6000coff_core_file_failing_signal only if AIX_CORE is
	defined.
	(pmac_xcoff_vec): Likewise.
	* coff64-rs6000.c (rs6000coff64_vec): Likewise.
2001-05-25 21:23:48 +00:00
H.J. Lu 5f64210127 2001-05-25 H.J. Lu <hjl@gnu.org>
* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
	like emulparams/aixppc.sh.

	* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
	instead of ${srcdir}/emultempl/stringify.sed.
2001-05-25 21:19:46 +00:00
H.J. Lu eed3fa3bb3 2001-05-25 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.exp (readelf_test): Set target_machine
	to tmips for traditional mips.

	* binutils-all/readelf.s: Support traditional mips.

	* binutils-all/readelf.ss-tmips: New for traditional mips.
2001-05-25 18:58:10 +00:00
H.J. Lu ff8715d024 2001-05-25 H.J. Lu <hjl@gnu.org>
* gas/mips/e32el-rel2.d: New for little endian mips.
	* gas/mips/elfel-rel2.d: Likewise.
	* gas/mips/elfel-rel.d: Likewise.
	* gas/mips/mipsel16-f.d: Likewise.
	* gas/mips/telempic.d: Likewise.
	* gas/mips/tmipsel16-e.d: Likewise.

	* gas/mips/tempic.d: New for traditional mips.
	* gas/mips/tmips16-e.d: Likewise.

	* gas/mips/elf-rel.d: Handle alignment padding.
	* gas/mips/elf-rel2.d: Likewise.

	* gas/mips/mips.exp: Support little endian and traditional
	mips.
2001-05-25 18:39:02 +00:00