Commit graph

1804 commits

Author SHA1 Message Date
Fred Fish
020706804b Add machine dependent support routines for SVR4 /proc interface. 1991-10-24 10:48:55 +00:00
Fred Fish
63ac7ef33f When using SVR4 /proc interface, call proc_set_exec_trap() rather than
ptrace(), to arrange for child to stop on first instruction.
1991-10-24 10:47:11 +00:00
Fred Fish
2bc2e684ad Add new function warning() which behaves the same as error() but returns
rather than jumping back to command level.  Modules that want to print
their own warnings without calling warning() can call warning_setup() to
handle the terminal compatibly with warning() and error().
1991-10-24 10:38:56 +00:00
Fred Fish
eaa1ef1df1 Make internal errors produce more useful messages. 1991-10-24 10:29:07 +00:00
Fred Fish
e0796d2213 Add partial support for ELF format corefiles. Still needs code to extract
register values from corefiles and make them available to bfd clients.
1991-10-24 10:26:26 +00:00
Fred Fish
dcd15e5e7a Move code duplicated in almost every single m68k based machine to the
common target file tm-68k.h.  Duplications still need to be removed (FIXME).
1991-10-24 10:21:41 +00:00
Fred Fish
150f543625 System V versions must call setpgrp() with no arguments, to comply with
prototyping typically in <unistd.h>.  Otherwise the compile fails, at
least with gcc.
1991-10-24 09:26:05 +00:00
Fred Fish
7b71de814a In config/t-m68k-elf, set DEFAULT_VECTOR to elf_big_vec. 1991-10-24 09:16:41 +00:00
Fred Fish
0fda1b621b Document change to config/hmake-sysv to send RANLIB (echo) output to /dev/null. 1991-10-24 09:10:41 +00:00
Fred Fish
dcc23cb9aa Document changes to some bfd config files. 1991-10-24 09:06:06 +00:00
Fred Fish
67622ee16f For systems where RANLIB is defined as echo, send the output to /dev/null
to help reduce clutter in the output from doing a make.
1991-10-24 09:00:51 +00:00
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