Commit Graph

6729 Commits

Author SHA1 Message Date
Jim Kingdon
1cd080b520 * printcmd.c, config/pa/xm-pa.h, config/alpha/xm-alpha.h: Make it so
arg_bytes field of makeva_list is always aligned.
	* config/pa/xm-pa.h: Make arglist_address a char *.
1993-07-19 23:20:55 +00:00
David D. Zuhn
84d3f42292 fix stupid typo 1993-07-19 22:24:56 +00:00
David D. Zuhn
56e28f3a9b add i386-lynx support 1993-07-19 22:14:45 +00:00
Jim Kingdon
981b3a2794 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
don't output a space.
1993-07-19 21:39:36 +00:00
Jim Kingdon
17068960cb * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad. 1993-07-19 20:54:04 +00:00
Ken Raeburn
da0f62a045 dis-asm.h (struct disassemble_info): New field application_data. 1993-07-19 20:12:50 +00:00
Ken Raeburn
623d6e9ab8 various changes 1993-07-19 20:05:41 +00:00
Ken Raeburn
8d6c34a108 (write_relocs): New function, split off from write_contents. Use memset
instead of bzero.
(write_object_file): Apply write_relocs to each section before applying
write_contents.
1993-07-19 20:05:16 +00:00
Ken Raeburn
4380166dfa (read_begin): Call obstack_begin with values closer to 1K multiples.
(read_a_source_file, big_cons, float_cons): Use memcpy instead of bcopy.
1993-07-19 20:04:25 +00:00
Ken Raeburn
9892550d29 forgot to check this in long ago... 1993-07-19 20:03:06 +00:00
Ken Raeburn
7c05f0ec40 (obj_elf_previous): New function.
(previous_section, previous_subsection): New vars.
(obj_elf_section): Save current place in case DWARF code wants us
to pop back to it.  Handle unquoted section name as well as quoted
section name.  Don't crash on invalid strings.
(obj_pseudo_table): Handle new pseudos "previous", "2byte", and "4byte".
1993-07-19 19:49:34 +00:00
Ian Lance Taylor
ce2ad89aca * config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
calculating opP->isiz; this permits the expression size to be
	determined as well, later on.

Fixes PR 2911.
1993-07-19 19:13:30 +00:00
Ken Raeburn
32090b8e4f * elf.c, elfcode.h, libelf.h: Serious reorganization.
Deleted `thunk' structure, merged into tdata, duplicate data eliminated.
Rearranged functions, grouping by function.
Broke up many functions in elfcode.h, re-ordered many parts of file writing
to handle unpredictable state of section relocation table as provided by
various applications.
Still needs cleanup: Merge functions back together, split out data structure
with only data that is used only when writing out object file.

* elf.c (bfd_elf_generic_reloc): New function, taken from coff-mips.c.
* elf32-sparc.c (elf_sparc_howto_table): Use it, to work around
bfd_perform_relocation lossage.
1993-07-19 19:12:59 +00:00
Roland Pesch
da374d8043 Repair bugs in conditionals, spotted by Zoo during "latest" build. 1993-07-19 19:04:24 +00:00
Ken Raeburn
2fdca02194 (BFD_LIBS): Include coff-mips.o and coff-msym.o, so that gdb will link.
(ofiles): Don't use sort or uniq; do it with sh constructs.
1993-07-19 18:55:29 +00:00
Jim Kingdon
dc34b11d9d * ser-unix.c: Don't try to use job control with termio. 1993-07-19 18:51:00 +00:00
Ian Lance Taylor
ffffc8fb5c * expr.c (clean_up_expression): Don't cancel the subtraction of
undefined symbols.

Fixes PR 2997.

	* read.c (s_data), config/obj-coffbfd.c (obj_coff_data): If -R,
	switch to text section rather than data section.

Fixes PR 2971.
1993-07-19 18:46:39 +00:00
Jim Kingdon
28403b8ee7 * hppa-tdep.c (pc_in_linker_stub): New function.
(find_proc_framesize): Return 0 for linker stubs.
	(rp_saved): Tell the caller where rp is saved.
	(frame_chain_valid): Return 1 for linker stubs.
	(frame_saved_pc): Use return value from rp_saved.
1993-07-19 17:36:18 +00:00
Ken Raeburn
9d4dfbf379 fix net-equip pr 2975: tm-m68k.c(m68k_ip): adjust for pc-rel offset before using value, not after 1993-07-19 16:49:01 +00:00
Mark Eichin
c4161ca8c2 more linux support bits 1993-07-19 15:00:19 +00:00
Mark Eichin
783fec2af9 add linux support (may not work yet, just cloned from i386-aout) 1993-07-19 14:51:00 +00:00
Peter Schauer
6f87ec4a21 Make breakpoint_re_set_one work with overloaded member functions,
`b 123' and `b foo' if foo is a static function.
	* symtab.c (decode_line_1, decode_line_2):  New argument `canonical'
	to return canonical line specs if requested by the caller.
	* breakpoint.c, source.c, symtab.c, symtab.h:  Change prototypes and
	callers accordingly.
	* symtab.c (build_canonical_line_spec):  New helper function which
	constructs the canonical line spec.
	* breakpoint.c (break_command_1):  Use canonical line spec instead
	of command string as addr_string if necessary.
	* source.c (line_info):  Fix storage leak.
1993-07-19 06:41:16 +00:00
Jim Kingdon
29b8ed0aaa * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
	* symm-tdep.c: Remove exec_file_command.
	[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
	A few miscellaneous cleanups.
	* symm-nat.c: Renamed from symm-xdep.c.
	* All symmetry dependent files: Many changes.
1993-07-19 05:09:06 +00:00
Jim Kingdon
56eec3c737 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
	* symm-tdep.c: Remove exec_file_command.
	[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
	A few miscellaneous cleanups.
	* symm-nat.c: Renamed from symm-xdep.c.
	* All symmetry dependent files: Many changes.
1993-07-19 05:00:13 +00:00
Jim Kingdon
bea80b013d * coffcode.h: Recognize I386PTXMAGIC.
* aoutf1.h, libaout.h: Add M_386_DYNIX.
	* trad-core.c (TRAD_CORE_USER_OFFSET, TRAD_CORE_STACK_FILEPOS):
	New macros; use it if defined.
	* config/symmetry.mh, hosts/symmetry.h: New files.
1993-07-19 04:55:21 +00:00
Jim Kingdon
3624a4e2af * dynix3.h: New, for symmetry running dynix. 1993-07-19 04:53:24 +00:00
Jim Kingdon
ee5fb95969 * mips-tdep.c (mips_skip_prologue): New argument lenient.
Use read_memory_nobpt.
	(is_delayed, mips_in_lenient_prologue): New functions.
	(init_extra_frame_info): If in the prologue, don't use saved registers.
	* config/mips/tm-mips.h: Declare mips_skip_prologue.
1993-07-19 02:28:21 +00:00
Jim Kingdon
0ffccbfb6c * mips.h: Split the actual table out into ../../opcodes/mips-opc.c. 1993-07-19 02:26:06 +00:00
Jim Kingdon
32d2052a0d * mips-opc.c: New file, containing opcode table from
../include/opcode/mips.h.
	* Makefile.in: Add it.
1993-07-19 02:25:39 +00:00
Jim Kingdon
fc39be5870 * partial-stab.h (N_SO): Add the text offset to valu before, not after,
passing it to END_PSYMTAB.
1993-07-18 22:50:30 +00:00
Peter Schauer
76b098d175 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
to make the stabs test work on ecoff systems using gcc and -with-stabs.
	* gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
	enable ecoff configuration.
1993-07-18 15:47:51 +00:00
Roland Pesch
8467a2ad46 MOD2 1993-07-17 01:58:47 +00:00
Jim Kingdon
ac82e9a5b7 * symtab.c (find_pc_symtab): Call warning, not printf directly.
* solib.c (solib_add): Use x{re,m}alloc, not {re,m}alloc.
1993-07-17 01:58:33 +00:00
Roland Pesch
09934a2b2e Introduce MOD2 switch to segregate material on Modula-2; eventually
each supported language should be controlled by a separate switch, and CONLY
should be retired.
1993-07-17 01:57:50 +00:00
Jim Kingdon
c55665ea6e * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
* Makefile.in: Change accordingly.
	(CFILES): Add elf64-gen.c.
1993-07-17 01:37:06 +00:00
Jim Kingdon
d9d9782312 * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
* Makefile.in: Change accordingly.
	(CFILES): Add elf64-gen.c.
1993-07-17 01:28:11 +00:00
David MacKenzie
de793e5f22 posix.2 final changes 1993-07-17 01:10:10 +00:00
Jim Kingdon
0cd1a8d2aa * Makefile.in (TAGS): make work when srcdir != objdir. 1993-07-16 22:28:12 +00:00
David MacKenzie
a2cdf246df remove /dev/null kludge 1993-07-16 22:24:10 +00:00
David D. Zuhn
f358c81426 update for lynx, sgi -x- sh 1993-07-16 21:21:30 +00:00
Ian Lance Taylor
fe619ced4a * ldgram.y (OPTION_Lfile): New token.
(command_line_option): Accept OPTION_L NAME (whitespace after -L).
	* ldlex.l (<COMMAND>): Accept -L without FILENAME.
1993-07-16 21:15:40 +00:00
David Edelsohn
dd8ca662ce h8/300h stuff 1993-07-16 20:46:46 +00:00
David Edelsohn
5448fed531 Fix h8300h support (need own .mt file). 1993-07-16 20:44:05 +00:00
David Edelsohn
fb564b406c h8/300h support 1993-07-16 20:43:14 +00:00
David Edelsohn
f853f4ca53 Fix bit instructions (was setting destination reg and not carry). 1993-07-16 20:26:05 +00:00
David D. Zuhn
9d8c0ead6b work around lynxos /bin/sh lossage 1993-07-16 20:21:43 +00:00
David D. Zuhn
07a17a1bae use mh-lynxos for *-*-lynxos 1993-07-16 20:17:49 +00:00
David D. Zuhn
6a17017c45 new file for lynx 1993-07-16 20:15:44 +00:00
David D. Zuhn
3cbe92bdef use mh-lynxos host fragment 1993-07-16 20:15:19 +00:00
David D. Zuhn
b48eb8b7e3 handle broken test (lynx) 1993-07-16 20:14:38 +00:00