John Gilmore [Fri, 25 Oct 1991 08:03:08 +0000 (08:03 +0000)]
Update doc on how to define an architecture for "mh" change.
John Gilmore [Fri, 25 Oct 1991 07:59:50 +0000 (07:59 +0000)]
rs6000
John Gilmore [Fri, 25 Oct 1991 07:59:12 +0000 (07:59 +0000)]
Add file defining rs/6000 XCOFF file format.
John Gilmore [Fri, 25 Oct 1991 07:59:11 +0000 (07:59 +0000)]
Initial revision
John Gilmore [Fri, 25 Oct 1991 07:43:52 +0000 (07:43 +0000)]
avoid "ulong".
John Gilmore [Fri, 25 Oct 1991 07:17:33 +0000 (07:17 +0000)]
Use RS6000COFF_C, not AIXCOFF_C.
John Gilmore [Fri, 25 Oct 1991 07:16:59 +0000 (07:16 +0000)]
RS/6000 support
John Gilmore [Fri, 25 Oct 1991 07:16:56 +0000 (07:16 +0000)]
Initial revision
John Gilmore [Fri, 25 Oct 1991 07:06:02 +0000 (07:06 +0000)]
RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and John Gilmore.
Fred Fish [Fri, 25 Oct 1991 06:47:13 +0000 (06:47 +0000)]
Add casts to remove compiler warnings from native Sun cc.
Fred Fish [Fri, 25 Oct 1991 06:29:23 +0000 (06:29 +0000)]
Remove locally duplicated code for calling functions in the inferior. The
only differences were in the specific trap vectors used and whether or not
an fpu was present. These are now handled by appropriate definitions of
BPT_VECTOR and HAVE_68881 respectively. Other minor obvious cleanups.
Minor spelling correction in valops.c.
Fred Fish [Fri, 25 Oct 1991 06:13:22 +0000 (06:13 +0000)]
Remove local BSD/USG hacks that are now in libiberty.
Fred Fish [Fri, 25 Oct 1991 06:09:15 +0000 (06:09 +0000)]
Remove prototype for dwarfwarn(). Breaks with <varargs.h>.
John Gilmore [Fri, 25 Oct 1991 05:36:31 +0000 (05:36 +0000)]
RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and
John Gilmore.
John Gilmore [Fri, 25 Oct 1991 05:02:04 +0000 (05:02 +0000)]
Switch to new config/hm-* scheme.
John Gilmore [Fri, 25 Oct 1991 04:59:30 +0000 (04:59 +0000)]
aix is a Sys V as far as we're concerned.
John Gilmore [Fri, 25 Oct 1991 04:29:01 +0000 (04:29 +0000)]
frame-select command. Cross funcalls to sun3. Build *.tab.c files in
target dir.
John Gilmore [Fri, 25 Oct 1991 02:21:52 +0000 (02:21 +0000)]
Updates to h-vaxult.h from David Taylor.
Steve Chamberlain [Fri, 25 Oct 1991 02:14:50 +0000 (02:14 +0000)]
Does't pass env variables down if localenv file is in target dir.
Steve Chamberlain [Fri, 25 Oct 1991 02:13:56 +0000 (02:13 +0000)]
Removed some debug
Steve Chamberlain [Fri, 25 Oct 1991 02:07:18 +0000 (02:07 +0000)]
More name changing
Steve Chamberlain [Thu, 24 Oct 1991 22:17:11 +0000 (22:17 +0000)]
config file renaming, and boy did it need it!
Steve Chamberlain [Thu, 24 Oct 1991 22:12:05 +0000 (22:12 +0000)]
Initial revision
Steve Chamberlain [Thu, 24 Oct 1991 22:10:04 +0000 (22:10 +0000)]
config file renaming
Steve Chamberlain [Thu, 24 Oct 1991 21:36:40 +0000 (21:36 +0000)]
Now uses mt- and mh- rather than tmake and hmake files
Fred Fish [Thu, 24 Oct 1991 18:12:14 +0000 (18:12 +0000)]
Add "dwarf.h".
Fred Fish [Thu, 24 Oct 1991 18:09:34 +0000 (18:09 +0000)]
Add "amix".
Fred Fish [Thu, 24 Oct 1991 18:07:57 +0000 (18:07 +0000)]
Add new DWARF, ELF, SVR4 /proc, Amiga UNIX, etc files.
John Gilmore [Thu, 24 Oct 1991 16:54:38 +0000 (16:54 +0000)]
Add powersys alias
John Gilmore [Thu, 24 Oct 1991 16:34:56 +0000 (16:34 +0000)]
Use <varargs.h>, since <stdarg.h> is not portable.
John Gilmore [Thu, 24 Oct 1991 16:24:23 +0000 (16:24 +0000)]
Roll VERSION to 4.2.2.
Fred Fish [Thu, 24 Oct 1991 11:32:42 +0000 (11:32 +0000)]
Initial revision
Fred Fish [Thu, 24 Oct 1991 11:28:54 +0000 (11:28 +0000)]
New files for DWARF debugging format support, ELF object file support, SVR4
/proc (process file system) support, Amiga UNIX target and host defines, SVR4
target and host defines, and m68k hosts defines.
Fred Fish [Thu, 24 Oct 1991 11:16:02 +0000 (11:16 +0000)]
Document added dwarf.h file.
Fred Fish [Thu, 24 Oct 1991 11:15:35 +0000 (11:15 +0000)]
Initial revision
Fred Fish [Thu, 24 Oct 1991 11:11:12 +0000 (11:11 +0000)]
Add dwarfread.c, dwarfread.o, elfread.c, elfread.o to source and object
file macros. Other obvious dwarf/elf tweaks.
Fred Fish [Thu, 24 Oct 1991 11:09:46 +0000 (11:09 +0000)]
Add "elf" to list of supported debugging formats in comment.
Fred Fish [Thu, 24 Oct 1991 10:58:41 +0000 (10:58 +0000)]
Add three new builtin types (builtin_type_long_double, builtin_type_complex,
and builtin_type_double_complex). Also add and use various TARGET_<TYPE>_BIT
macros to indicate the sizes of various types on the target machine.
Fred Fish [Thu, 24 Oct 1991 10:48:55 +0000 (10:48 +0000)]
Add machine dependent support routines for SVR4 /proc interface.
Fred Fish [Thu, 24 Oct 1991 10:47:11 +0000 (10:47 +0000)]
When using SVR4 /proc interface, call proc_set_exec_trap() rather than
ptrace(), to arrange for child to stop on first instruction.
Fred Fish [Thu, 24 Oct 1991 10:38:56 +0000 (10:38 +0000)]
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().
Fred Fish [Thu, 24 Oct 1991 10:29:07 +0000 (10:29 +0000)]
Make internal errors produce more useful messages.
Fred Fish [Thu, 24 Oct 1991 10:26:26 +0000 (10:26 +0000)]
Add partial support for ELF format corefiles. Still needs code to extract
register values from corefiles and make them available to bfd clients.
Fred Fish [Thu, 24 Oct 1991 10:21:41 +0000 (10:21 +0000)]
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).
Fred Fish [Thu, 24 Oct 1991 09:26:05 +0000 (09:26 +0000)]
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.
Fred Fish [Thu, 24 Oct 1991 09:16:41 +0000 (09:16 +0000)]
In config/t-m68k-elf, set DEFAULT_VECTOR to elf_big_vec.
Fred Fish [Thu, 24 Oct 1991 09:10:41 +0000 (09:10 +0000)]
Document change to config/hmake-sysv to send RANLIB (echo) output to /dev/null.
Fred Fish [Thu, 24 Oct 1991 09:06:06 +0000 (09:06 +0000)]
Document changes to some bfd config files.
Fred Fish [Thu, 24 Oct 1991 09:00:51 +0000 (09:00 +0000)]
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.
Fred Fish [Thu, 24 Oct 1991 08:54:58 +0000 (08:54 +0000)]
Add support for SVR4 style nm output. Not claimed to be optimal, I'm not
a sed hacker. It does seem to work fine.
Fred Fish [Thu, 24 Oct 1991 08:42:20 +0000 (08:42 +0000)]
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.
Heinz G. Seidl [Thu, 24 Oct 1991 00:23:59 +0000 (00:23 +0000)]
Allow for using tmake-sun4
K. Richard Pixley [Wed, 23 Oct 1991 21:48:28 +0000 (21:48 +0000)]
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.
John Gilmore [Wed, 23 Oct 1991 18:12:20 +0000 (18:12 +0000)]
Add note about strstr botch on sunos4.0.3c and previous.
K. Richard Pixley [Wed, 23 Oct 1991 05:35:13 +0000 (05:35 +0000)]
BISONPATH is now unused. remove it.
K. Richard Pixley [Wed, 23 Oct 1991 05:32:55 +0000 (05:32 +0000)]
add clib
K. Richard Pixley [Wed, 23 Oct 1991 05:00:45 +0000 (05:00 +0000)]
removed unused CC and CFLAGS lines
Stu Grossman [Wed, 23 Oct 1991 01:06:36 +0000 (01:06 +0000)]
* infrun.c (wait_for_inferior): Check return value from
find_pc_line.
Stu Grossman [Wed, 23 Oct 1991 01:05:57 +0000 (01:05 +0000)]
*** empty log message ***
Steve Chamberlain [Tue, 22 Oct 1991 03:26:06 +0000 (03:26 +0000)]
tmake-ebmon
Stu Grossman [Tue, 22 Oct 1991 00:51:28 +0000 (00:51 +0000)]
*** empty log message ***
Stu Grossman [Tue, 22 Oct 1991 00:50:58 +0000 (00:50 +0000)]
* infrun.c (wait_for_inferior): fix stepi/nexti that was broken
by my last edit to this routine.
John Gilmore [Tue, 22 Oct 1991 00:49:54 +0000 (00:49 +0000)]
Remove malloc/free decls covered in stdlib.h. From David Taylor.
Steve Chamberlain [Mon, 21 Oct 1991 23:58:49 +0000 (23:58 +0000)]
* 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.
Steve Chamberlain [Mon, 21 Oct 1991 22:57:31 +0000 (22:57 +0000)]
Make sure that 29k relocs are done right.
Steve Chamberlain [Mon, 21 Oct 1991 22:55:06 +0000 (22:55 +0000)]
Changed minimum section alignment
John Gilmore [Mon, 21 Oct 1991 22:15:19 +0000 (22:15 +0000)]
Check for any remaining mentions of "sanitize" in files at this level,
after completing a Sanitize run.
John Gilmore [Mon, 21 Oct 1991 22:10:13 +0000 (22:10 +0000)]
Handle "life" sanity, which Tiemann half-implemented in config.sub.
Steve Chamberlain [Mon, 21 Oct 1991 19:56:47 +0000 (19:56 +0000)]
*** empty log message ***
Steve Chamberlain [Mon, 21 Oct 1991 19:53:31 +0000 (19:53 +0000)]
ebmon stuff
Steve Chamberlain [Mon, 21 Oct 1991 17:06:59 +0000 (17:06 +0000)]
* configure.in: added ebmon target.
Steve Chamberlain [Mon, 21 Oct 1991 16:48:10 +0000 (16:48 +0000)]
* nm.c: now doesn't crash if a symbol with no section and no
SEC_ABS appears.
Steve Chamberlain [Mon, 21 Oct 1991 16:46:41 +0000 (16:46 +0000)]
*** empty log message ***
Steve Chamberlain [Mon, 21 Oct 1991 16:42:54 +0000 (16:42 +0000)]
* 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.
Steve Chamberlain [Mon, 21 Oct 1991 16:32:10 +0000 (16:32 +0000)]
* 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
Steve Chamberlain [Mon, 21 Oct 1991 16:31:47 +0000 (16:31 +0000)]
* 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.
Steve Chamberlain [Mon, 21 Oct 1991 16:31:43 +0000 (16:31 +0000)]
Initial revision
Steve Chamberlain [Mon, 21 Oct 1991 16:29:54 +0000 (16:29 +0000)]
* 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
Per Bothner [Thu, 17 Oct 1991 22:31:26 +0000 (22:31 +0000)]
Make perror arg be CONST to avoid warning,
and remove duplicate declaration of perror.
John Gilmore [Thu, 17 Oct 1991 06:51:00 +0000 (06:51 +0000)]
Final touchups for release
John Gilmore [Thu, 17 Oct 1991 06:04:35 +0000 (06:04 +0000)]
* 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.
John Gilmore [Thu, 17 Oct 1991 05:58:34 +0000 (05:58 +0000)]
More last minute gdb-4.2 changes.
John Gilmore [Thu, 17 Oct 1991 05:57:51 +0000 (05:57 +0000)]
* 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.
John Gilmore [Thu, 17 Oct 1991 05:57:02 +0000 (05:57 +0000)]
* xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
* xconfig/tahoe: Add REGEX, which seems to be missing.
Roland Pesch [Wed, 16 Oct 1991 22:11:28 +0000 (22:11 +0000)]
*** empty log message ***
Roland Pesch [Wed, 16 Oct 1991 22:08:33 +0000 (22:08 +0000)]
More updates due to Picard refcard comments.
John Gilmore [Wed, 16 Oct 1991 21:41:27 +0000 (21:41 +0000)]
sparc-64 to sparc-ll
John Gilmore [Wed, 16 Oct 1991 21:02:31 +0000 (21:02 +0000)]
GDB-4.2 release!
* Makefile.in: Roll VERSION to 4.2.
* tm-i386v.h: #endif guck.
* xconfig/i386*: Remove -Dgetpagesize()=4096 kludge.
John Gilmore [Wed, 16 Oct 1991 20:35:06 +0000 (20:35 +0000)]
* 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.
Roland Pesch [Wed, 16 Oct 1991 20:00:20 +0000 (20:00 +0000)]
Clarifications and rephrasings, largely due to Pinard's comments on
refcard.
Per Bothner [Wed, 16 Oct 1991 19:50:08 +0000 (19:50 +0000)]
* 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.
John Gilmore [Wed, 16 Oct 1991 19:42:05 +0000 (19:42 +0000)]
* 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.
John Gilmore [Wed, 16 Oct 1991 19:41:34 +0000 (19:41 +0000)]
Remove -Dgetpagesize()=4096 kludge.
Per Bothner [Wed, 16 Oct 1991 19:41:33 +0000 (19:41 +0000)]
Add copright notice to mkscript.c as well.
Per Bothner [Wed, 16 Oct 1991 19:39:40 +0000 (19:39 +0000)]
Add or update copyright notices.
John Gilmore [Wed, 16 Oct 1991 19:38:56 +0000 (19:38 +0000)]
* dbxread.c (read_dbx_symtab, process_one_symbol): Handle
Sequent N_FN_SEQ like everybody else's N_FN.
John Gilmore [Wed, 16 Oct 1991 18:59:59 +0000 (18:59 +0000)]
Allow i386-sco-sysv.
Updates from my internet testing for gdb-4.2.
John Gilmore [Wed, 16 Oct 1991 18:57:16 +0000 (18:57 +0000)]
* 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.
Per Bothner [Wed, 16 Oct 1991 18:57:08 +0000 (18:57 +0000)]
* 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.
John Gilmore [Wed, 16 Oct 1991 18:56:07 +0000 (18:56 +0000)]
* trad-core.c: Pass the u.u_ar0 value as the negative of the
virtual-memory-address of the .reg section. We can't just make a
section for "all the regs and nothing else" because only GDB knows
exactly where the regs are (scattered around the upage and stack).
Clean up memory allocation. Remove big- and little-endian
vectors, replace with single vector; this only runs on the host,
in host byte order. Replace byteswap routines with aborts in case
anyone calls them.
* targets.c: There's only one trad_core_vec now.
* aoutf1.h (sunos_core_file_p): VMA of .reg* now needs to be 0.