Commit graph

23663 commits

Author SHA1 Message Date
Gavin Romig-Koch
ecd41d25b9 * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line.
* configure.in (elf): Add dwarf1.lo.
	* elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info.
	* elf.c (_bfd_elf_find_nearest_line): Add call to
	_bfd_dwarf1_find_nearest_line.
	* elf32-mips.c (_bfd_mips_elf_find_nearest_line):
	Add call to _bfd_dwarf1_find_nearest_line.
	* configure: Rebuilt.
1998-10-05 16:07:44 +00:00
Catherine Moore
6342b0623a elflink.h (elf_gc_sections): Do not allow garbage
collection if dynamic sections have been created.

: ----------------------------------------------------------------------
1998-10-05 15:21:26 +00:00
Catherine Moore
64923bb947 * ldmain.c (main): Error if --gc-sections and
dyanmic linking.
        * scripttempl/v850.sc:  Add KEEP attribute to .init,
        .fini, .dtors and .ctors.  Add .data and .text
        wildcards to support section garbage collection.
1998-10-05 14:48:32 +00:00
Catherine Moore
d284b1f7c5 Add vtable relocs. 1998-10-05 14:41:43 +00:00
Catherine Moore
272cea1421 * symbols.c (S_IS_FUNCTION): New.
* config/tc-v850.h (obj_fix_adjustable):  Define.
        (TC_FORCE_RELOCATION):  Define.
        (v850_force_relocation):  Declare.
        * config/tc-v850.c (tc_gen_reloc):  Use offset instead
        of fx_addnumber for VTABLE reloc addends.
        (md_apply_fix3):  Handle VTABLE relocs.
        (v850_fix_adjustable):  New.
        (v850_force_relocation):  New.
1998-10-05 14:30:25 +00:00
Catherine Moore
2bbf16bf81 * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and
R_V850_GNU_VTENTRY.
        (v850_elf_check_relocs):  Handle VTINHERIT and VTENTRY relocs.
        (v850_elf_perform_relocation):  Likewise.
        (v850_elf_final_link_relocate):  Likewise.
        (v850_elf_relocate_section):  Likewise.
        (v850_elf_gc_sweep_hook):  New routine.
        (v850_elf_gc_mark_hook):  New routine.
        (elf_backend_can_gc_sections):  Define.
1998-10-05 14:18:10 +00:00
Catherine Moore
1b9dc864ba * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assume
that dynobj exists.
1998-10-05 14:08:53 +00:00
Martin Hunt
23e1f78b70 Mon Oct 5 00:34:00 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_set_bp_addr): New command. Sets a
	breakpoint at an address. Use this instead of gdb_cmd "break"
	because the syntax of the break command is broken and doesn't
	allow you to create a thread-specific BP at an address.  Also
	this is faster.
1998-10-05 07:32:59 +00:00
Jeff Law
e963374a58 * tc-hppa.c (fp_operand_format): Add some additional formats.
(pa_ip): Do not automatically promote into pa2.0 mode.
        (pa_level): Handle ".level 2.0".
start-sanitize-cygnus
        (struct pa_it): New field "trunc".
        (pa_parse_fp_cnv_format): New function.
        (pa_parse_ftest_gfx_completer): New function.
        (pa_ip): Handle various new letters for PA2.0 support.
end-sanitize-cygnus
1998-10-05 06:52:58 +00:00
Jeff Law
58537630ef * hppa.h: Add "fid".
start-sanitize-cygnus
        Add PA2.0 floating point instructions, including butchered load/store
        with 14bit offset support.
end-sanitize-cygnus
1998-10-05 06:23:20 +00:00
Martin Hunt
d84563bc18 Sun Oct 4 22:35:47 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_set_bp): Add an optional thread number.
	(gdb_find_bp_at_line): New function. Returns a list of bpnums
	at the specified line number.
	(gdb_find_bp_at_addr): New function. Returns a list of bpnums
	at an address..
1998-10-05 05:35:01 +00:00
Ian Lance Taylor
cba6760b24 Sun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu>
* rs6000-core.c (rs6000coff_core_file_matches_executable_p):
	Declare size as bfd_size_type.
	(rs6000coff_get_section_contents): Declare count as bfd_size_type.
1998-10-05 03:37:54 +00:00
Ian Lance Taylor
1bec01fc8b * elflink.h (elf_link_add_object_symbols): When a versioned symbol
has a base which is already defined, only add the referenced
	symbol to the dynamic symbol table if it is defined or referenced
	by a regular file.
1998-10-05 03:11:55 +00:00
Jeff Law
6886ab292b * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch
structure.
        * som.c (CPU_PA_RISC2_0): Define.
        (_PA_RISC2_0_ID): Likewise.
        (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed.
PA2.0 infrastructure.
1998-10-05 02:42:05 +00:00
Ian Lance Taylor
0f529d8c15 * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
correctly.
1998-10-05 01:19:36 +00:00
Ian Lance Taylor
a315d03d17 * i386.h (R_386_max): Change from 252 to 24. 1998-10-05 01:18:32 +00:00
Ian Lance Taylor
7b83af29e4 Sun Oct 4 21:00:00 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
From Robert Andrew Dale <rob@nb.net>
	* i386.h (i386_optab): Add AMD 3DNow! instructions.
	(AMD_3DNOW_OPCODE): Define.
1998-10-05 01:01:27 +00:00
Ian Lance Taylor
b3ef365828 Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
	* config/tc-i386.h (template.extension_opcode): Change to
        unsigned int to allow full range of 8-bit opcode suffixes.
	(None): Redefine as 0xffff.

	From Jeff B Epler <jepler@usgs.gov>
	* doc/c-i386.texi (i386-SIMD): New section.
1998-10-05 00:59:52 +00:00
Ian Lance Taylor
1d7d9a100b fix copyrights 1998-10-05 00:41:11 +00:00
Ian Lance Taylor
dc6c45d7cb From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
* objcopy.1: Fix typo in --remove-leading-char docs.
	* objdump.1: Fix formatting in --stabs docs.
1998-10-05 00:37:21 +00:00
Stan Shebs
bd08d5e0b5 The GDB engineers ate Steve's hacks; and there was much rejoicing. 1998-10-02 23:35:11 +00:00
Stan Shebs
bb9e536843 Search and destroy; kill references to WinGDB bits.
* configure.host (i[3456]86-*-windows): Remove, no longer used.
	* mswin: Remove directory, no longer used.
1998-10-02 23:33:15 +00:00
Fernando Nasser
2d24a02138 Fri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
* sol-thread.c: Fixed prototypes and calls to supply_fpregset and
        fill_fpregset
PR 17053
1998-10-02 22:57:12 +00:00
Keith Seitz
2c04e0d951 * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
exec_file changes.
        (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed)

        * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so
        compare against something a little more meaningful (target_ignore).
1998-10-02 19:55:41 +00:00
Keith Seitz
80baea8aa5 * remote.c (remote_interrupt): Rewrite to use remote_stop.
(remote_interrupt_twice): Remove. remote_stop now handles it.
        (remote_stop): New function which handles interrupting the
        remote target so that CLUI and GUI use the same core functions
        to achieve the same goal.
        (remote_wait): Change to handle remote_stop properly.
        [interrupted_already]: New static global to help remote_stop.
        [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member.

        * target.c: Rename static function "ignore" to "target_ignore" and
        export it so that gdb can determin if some target vector member is
        actually not defined. Replace all occurances of ignore.

        * target.h: Export target_ignore.
1998-10-02 19:54:42 +00:00
Peter Schauer
47b8a5cef3 * target.c (target_xfer_memory): Handle requests with zero
transfer length right away.

	* values.c (unpack_double):  Set up code, length and signedness of
	type _after_ checking for typedef.
1998-10-02 11:02:00 +00:00
Richard Henderson
f2bd868044 * read.c (discard_rest_of_line): New function.
* read.h: Declare it.
        * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
1998-10-01 22:39:35 +00:00
Nick Clifton
6d48238de9 Enhanced fix for PR 14826 - cope with the case where a symbol name matches
a register name
1998-10-01 17:35:17 +00:00
Frank Ch. Eigler
6ee2da947e * Fix for PR 16567, brought over from d30v branch.
Thu Oct  1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
	* breakpoint.c (bpstat_stop_status): Do not consider an
	untripped watchpoint as a "hit".
1998-10-01 11:48:25 +00:00
Andrew Cagney
c85a8f0003 More replacing "exec" with "executable". 1998-10-01 11:41:41 +00:00
Andrew Cagney
b8464c1539 Replace "exec" with "executable" in messages. 1998-10-01 11:19:11 +00:00
Geoffrey Noer
24d1ff5244 Wed Sep 30 19:23:48 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: add bzip2 package building bits for user
        tools module
        * configure.in: ditto
1998-10-01 02:28:03 +00:00
Stan Shebs
a7bed995b9 * gdbint.texinfo: Complete overhaul. Group descriptions more
logically, add more info on generic algorithms, remove much
	obsolete and/or wrong material.
1998-10-01 01:46:28 +00:00
Nick Clifton
8d3859c765 Fix for PR 17063 - do not create a section called .call_table, instead create
sections called .call_table_data and .call_table_text.
1998-09-30 18:37:55 +00:00
Nick Clifton
b481c113bb Fix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
at assembly time.
1998-09-30 18:12:57 +00:00
Nick Clifton
40dac6318f Fix PR 17469 - treat TRAP as another in the set of branch type instructions. 1998-09-30 17:18:36 +00:00
Nick Clifton
1ee490ca0b Fix PR 17387: ignore auto increment for loads where the destination register
and the address register are the same.
1998-09-30 17:15:14 +00:00
Felix Lee
d8ea6d40ee * Makefile.in (all-automake): fix dependencies. 1998-09-30 05:47:18 +00:00
Angela Marie Thomas
b88388f236 add sanitization for special sky config args 1998-09-30 00:12:30 +00:00
Keith Seitz
761e334a18 * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
that gdb knows _exactly_ which files belong to the user
        and which come from libraries.
1998-09-29 21:04:13 +00:00
Catherine Moore
dd5ed74927 change armelf sanitization to CYGNUS LOCAL markers 1998-09-29 18:59:02 +00:00
Richard Henderson
ea0a321df9 Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
* ld-elfvers/vers.exp: Run tests on alpha-linux.
        * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
        Alpha's use of st_other.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * ld-elfvers/vers.exp (vers16, vers16a): New tests.
        * ld-elfvers/{vers16.*, vers16a.*}: New files.
1998-09-29 04:34:32 +00:00
Richard Henderson
300a10323a 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elflink.h (elf_link_add_object_symbols): Undo last change.
1998-09-29 03:53:21 +00:00
Nick Clifton
7b60d311ba Add brace missing from previous delta. 1998-09-28 20:22:25 +00:00
Nick Clifton
eede4762aa Remove reference to depragmaize program. 1998-09-28 20:09:25 +00:00
Nick Clifton
4c404e8d9c Apply fix from PR 14826 - generate an error if a register is supplied for a
operand that should not be a register.
1998-09-28 18:02:50 +00:00
Jeff Johnston
8daaf6cd8a Forgot to add specific files to sanitize section for dsp. 1998-09-28 15:58:14 +00:00
Jeff Johnston
d46c1ae39a Fri Sep 25 18:07:32 1998 Jeff Johnston <jjohnstn@cygnus.com>
* configure.in (target_libs): Added target-libdsp.
	* Makefile.in (TARGET_CONFIGDIRS): Added libdsp as target.

New libdsp component added.
1998-09-25 22:11:31 +00:00
Keith Seitz
69da960729 Merge with armelf980813:
* rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and
        PARPORT defines for win32.
        (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names
        start with "com", not "/dev/tty".
        (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32.

        * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState)
        so that the device may be reopened.

        * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered
        functions, ignoring non-ASCII chars, so that non-tty UI's can snarf
        the output from fputs_hook.
        (mywrite): Ditto.
        (arm_rdi_open): Set inferior_pid.
        (arm_rdi_detach): Pop the target off the target stack so that
        users can attach and detach multiple times.
        (arm_rdi_close): Close the opened device and reset inferior_pid, too.
1998-09-25 19:04:46 +00:00
Nick Clifton
1af37f6bde Addtional fix for PR17045 - allowed delayed branches to have insns in the
R container
1998-09-25 17:06:05 +00:00