Commit Graph

1393 Commits

Author SHA1 Message Date
Fred Fish cb17dfb1c0 Add support for SVR4 style nm output. Not claimed to be optimal, I'm not
a sed hacker.  It does seem to work fine.
1991-10-24 08:54:58 +00:00
Fred Fish 4a35d6e91b Remove the object file specific fields from the partial symbol table
structure and replace them with a pointer to private data for each
different flavor of object file reader to initialize appropriately.
1991-10-24 08:42:20 +00:00
Heinz G. Seidl ba04ec6e77 Allow for using tmake-sun4 1991-10-24 00:23:59 +00:00
K. Richard Pixley c5ae567837 Makefiles should include the makefile frag names even if the makefile
frag doesn't exist in *this* directory.  Otherwise we inherit the
variable setting from our parent Makefile.
1991-10-23 21:48:28 +00:00
John Gilmore e89b8910fc Add note about strstr botch on sunos4.0.3c and previous. 1991-10-23 18:12:20 +00:00
K. Richard Pixley b391b96dfb BISONPATH is now unused. remove it. 1991-10-23 05:35:13 +00:00
K. Richard Pixley e99a90a7f2 add clib 1991-10-23 05:32:55 +00:00
K. Richard Pixley 671e8558bf removed unused CC and CFLAGS lines 1991-10-23 05:00:45 +00:00
Stu Grossman 2e393ce478 * infrun.c (wait_for_inferior): Check return value from
find_pc_line.
1991-10-23 01:06:36 +00:00
Stu Grossman 0d3e7f607f *** empty log message *** 1991-10-23 01:05:57 +00:00
Steve Chamberlain cb9fe247c0 tmake-ebmon 1991-10-22 03:26:06 +00:00
Stu Grossman bc6c937d0b *** empty log message *** 1991-10-22 00:51:28 +00:00
Stu Grossman b3b39c0c76 * infrun.c (wait_for_inferior): fix stepi/nexti that was broken
by my last edit to this routine.
1991-10-22 00:50:58 +00:00
John Gilmore 30ff2d72e0 Remove malloc/free decls covered in stdlib.h. From David Taylor. 1991-10-22 00:49:54 +00:00
Steve Chamberlain 33a782f1d2 * coffcode.h (coff_compute_section_file_positions): make it pad
section size out if there are alignment restrictions so that the
	image will be ok on a system where section positions are worked
	out by accumulating sizes rather than from the section headers.
1991-10-21 23:58:49 +00:00
Steve Chamberlain 065114de7b Make sure that 29k relocs are done right. 1991-10-21 22:57:31 +00:00
Steve Chamberlain 14dd454bea Changed minimum section alignment 1991-10-21 22:55:06 +00:00
John Gilmore 16871f331b Check for any remaining mentions of "sanitize" in files at this level,
after completing a Sanitize run.
1991-10-21 22:15:19 +00:00
John Gilmore 320e1b8638 Handle "life" sanity, which Tiemann half-implemented in config.sub. 1991-10-21 22:10:13 +00:00
Steve Chamberlain 6d984a0c18 *** empty log message *** 1991-10-21 19:56:47 +00:00
Steve Chamberlain 605cd2a3fd ebmon stuff 1991-10-21 19:53:31 +00:00
Steve Chamberlain 44e4e473f8 * configure.in: added ebmon target. 1991-10-21 17:06:59 +00:00
Steve Chamberlain 7e3091046d * nm.c: now doesn't crash if a symbol with no section and no
SEC_ABS appears.
1991-10-21 16:48:10 +00:00
Steve Chamberlain a0788ae38f *** empty log message *** 1991-10-21 16:46:41 +00:00
Steve Chamberlain f58809fd41 * targets.c (proto write_armap). Changed orl_count to unsigned.
* opncls.c (bfd_close_all_done). Added so that generative
	programs like gas can close a bfd without causing bfd confusion.
	* libbfd.h (changed becuase of protos)
	* amdcoff.c: messed with the way that jmp displacements are
	calcualated. This may not yet be totally correct.
	* archive.c (coff_write_armap): rewrote the way that ranlibs are
	written out.
	* coffcode.h (fixup_symbol_value): now doesn't core dump if a non
	abs symbol has no section (like a register symbol).
	(coff_write_symbol) now zeros auxent before filling it up to help
	with sensitive applications.
	* libbfd.c (bfd_write_bigendian_4byte_int): added.
1991-10-21 16:42:54 +00:00
Steve Chamberlain 7955ad1c4d * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* tc-a29k: added the reloc types we support now
1991-10-21 16:32:10 +00:00
Steve Chamberlain 5757497917 * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* tc-a29k: added the reloc types we support now.
1991-10-21 16:31:47 +00:00
Steve Chamberlain 6352cb8fbd Initial revision 1991-10-21 16:31:43 +00:00
Steve Chamberlain 8a24a37c7e * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* config/tc-a29k: added the reloc types we support now
1991-10-21 16:29:54 +00:00
Per Bothner 35c90743a0 Make perror arg be CONST to avoid warning,
and remove duplicate declaration of perror.
1991-10-17 22:31:26 +00:00
John Gilmore b1dcd6ac3f Final touchups for release 1991-10-17 06:51:00 +00:00
John Gilmore b271fff21f * hosts/h-tahoe.h: Add FASCIST_FDOPEN and NO_CORE_COMMAND; revamp HOST_*, etc.
* hosts/h-i386v.h:  Use <utime.h>, not <sys/utime.h>, unlike POSIX.
1991-10-17 06:04:35 +00:00
John Gilmore 785ce19c33 More last minute gdb-4.2 changes. 1991-10-17 05:58:34 +00:00
John Gilmore b53d3945ed * coredep.c: Add <sys/types.h> for SCOnix.
* dbxread.c (read_dbx_symntab):  Avoid coredump on malformed file.
* printcmd.c (print_formatted):  Flush output before disassembly.
* xm-mips.h:  Update KERNEL_U_ADDR for new scheme.  Cleanup a bit.
1991-10-17 05:57:51 +00:00
John Gilmore c5a475c86d * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
* xconfig/tahoe:  Add REGEX, which seems to be missing.
1991-10-17 05:57:02 +00:00
Roland Pesch 9e0906a6b2 *** empty log message *** 1991-10-16 22:11:28 +00:00
Roland Pesch 092678655c More updates due to Picard refcard comments. 1991-10-16 22:08:33 +00:00
John Gilmore a3ae208f8a sparc-64 to sparc-ll 1991-10-16 21:41:27 +00:00
John Gilmore a1b8c5d69d GDB-4.2 release!
* Makefile.in:  Roll VERSION to 4.2.

* tm-i386v.h:  #endif guck.
* xconfig/i386*:  Remove -Dgetpagesize()=4096 kludge.
1991-10-16 21:02:31 +00:00
John Gilmore 1c0678213e * aout64.h: Remove PAGE_SIZE defines; they are target-dependent.
Add N_FN_SEQ for N_FN symbol type used on Sequent machines.
* stab.def:  Include N_FN_SEQ in table.
* bout.h:  External formats of structures use unsigned chars.
1991-10-16 20:35:06 +00:00
Roland Pesch e0dacfd17a Clarifications and rephrasings, largely due to Pinard's comments on
refcard.
1991-10-16 20:00:20 +00:00
Per Bothner 314f3eeda3 * archive.c (bsd_write_argmap): The size of the ranlib structures
should not include teh size field itself.
	* aoutx.h, libaout.h (NAME(aout, sizeof_headers)):  Use
	adata(abfd)->exec_bytes_size field instead of constant macro,
	because aoutx.h compiles to a simple .o file shared by
	all 32-bits a.out targets.
1991-10-16 19:50:08 +00:00
John Gilmore 45e6027024 * core.c (core_open): Improve error message for bad file.
Pass .reg virtual memory address to fetch_core_registers to help
it find the registers in the core-file header.
* coredep.c (fetch_core_registers):  Take new argument, use it,
and pass it to register_addr to locate the block of registers.
1991-10-16 19:42:05 +00:00
John Gilmore a13f8a2f23 Remove -Dgetpagesize()=4096 kludge. 1991-10-16 19:41:34 +00:00
Per Bothner 3410447c4a Add copright notice to mkscript.c as well. 1991-10-16 19:41:33 +00:00
Per Bothner 2d1a2445ff Add or update copyright notices. 1991-10-16 19:39:40 +00:00
John Gilmore 6150cc735f * dbxread.c (read_dbx_symtab, process_one_symbol): Handle
Sequent N_FN_SEQ like everybody else's N_FN.
1991-10-16 19:38:56 +00:00
John Gilmore 282effc79f Allow i386-sco-sysv.
Updates from my internet testing for gdb-4.2.
1991-10-16 18:59:59 +00:00
John Gilmore 0fa4f690d6 * host-aout.c: New strategy. We use common code, include files,
and data structures to handle the file, but set a few parameters
from the host's config file (page size, text start addr, etc).
* libaout.h:  Define HP BSD machine types.
1991-10-16 18:57:16 +00:00
Per Bothner d8474a9bc1 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
	* strip.c: Add or update Copyright notice.
	* TODO:  Add note on 'nm -a'.
	* version.c: Update version number to 1.90.
	* Makefile.in: Fix making of documentation for dist.
1991-10-16 18:57:08 +00:00