John Gilmore [Fri, 9 Oct 1992 01:34:32 +0000 (01:34 +0000)]
* configure.in: Undo some brain damage in the host section.
* Makefile.in (make): Remove obsolete `make make'.
* aoutx.h (some_aout_object_p): Make defines line up.
Stu Grossman [Fri, 9 Oct 1992 01:29:17 +0000 (01:29 +0000)]
* Makefile.in (HFILES): Add nm-*.h files.
Stu Grossman [Fri, 9 Oct 1992 00:53:44 +0000 (00:53 +0000)]
Remove stratus.mt and stratus.mh until we can get copyright assignment from the
real author of the i860 stuff.
Stu Grossman [Fri, 9 Oct 1992 00:49:57 +0000 (00:49 +0000)]
Remove duplicate core.c entry from SFILES_MAINDIR.
Stu Grossman [Fri, 9 Oct 1992 00:48:59 +0000 (00:48 +0000)]
Remove a29k-udi.c till we straighten out AMD copyright stuff.
John Gilmore [Fri, 9 Oct 1992 00:45:31 +0000 (00:45 +0000)]
Fix up HPPA file names.
K. Richard Pixley [Fri, 9 Oct 1992 00:06:15 +0000 (00:06 +0000)]
* config/sun4os4.mh (XDEPFILES): fork-child.o removed.
(NATDEPFILES): added fork-child.o.
K. Richard Pixley [Thu, 8 Oct 1992 23:29:35 +0000 (23:29 +0000)]
* doc/gdbint.texinfo: document a few more macros, create new
section for native macros.
Ian Lance Taylor [Thu, 8 Oct 1992 22:09:32 +0000 (22:09 +0000)]
Thu Oct 8 15:07:22 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (XTRAFLAGS): include newlib directories if
newlib/Makefile exists, rather than if host != target.
Stu Grossman [Thu, 8 Oct 1992 20:54:37 +0000 (20:54 +0000)]
* Makefile.in alldeps.mak depend: Rip out 29k/udi pending
resolution of copyright issues.
K. Richard Pixley [Thu, 8 Oct 1992 17:47:04 +0000 (17:47 +0000)]
keep sun3-nat.c, rs6000-nat.c, nm-sun3.h, nm-rs6000.h. Forget
sun3-xdep.c, sparc-xdep.c, rs6000-xdep.c
Fred Fish [Thu, 8 Oct 1992 17:43:08 +0000 (17:43 +0000)]
Save i386bsd.c since it is now required to build bfd.
(Am I the *only* one that regularly builds sanitized trees and thus
gets to clean up these things?)
Steve Chamberlain [Thu, 8 Oct 1992 16:03:58 +0000 (16:03 +0000)]
Now a bfd knows whether underscores are normally prepended
to symbols in its file format.
Steve Chamberlain [Thu, 8 Oct 1992 16:02:09 +0000 (16:02 +0000)]
Some of these are guesses, if you know different, just yell.
Thu Oct 8 08:52:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Now a bfd knows whether underscores are normally prepended
to symbols in its file format. Helps with error messages.
* aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-h8300.c,
coff-z8k.c: targets set so they have leading underscore
* coff-i386.c, coff-i960.c, coff-m68k.c, coff-mips.c, coff-m88k.c,
coff-rs6000.c, coff-we32k.c, elf.c, ieee.c, srec.c: targets set
without leading underscore flag
* targets.c: add symbol leading char to xvec description
* bfd-in.h (bfd_get_symbol_leading_char): new macro.
Stu Grossman [Thu, 8 Oct 1992 03:11:46 +0000 (03:11 +0000)]
* Makefile.in (setup-to-dist): Remove -norecursion so that doc
subdir gets configured.
Bad John, bad...
Sean Eric Fagan [Thu, 8 Oct 1992 02:58:25 +0000 (02:58 +0000)]
Going back to old remote method for now.
Ken Raeburn [Thu, 8 Oct 1992 02:09:28 +0000 (02:09 +0000)]
* Makefile.in (nindy.o): Define "STRIP" as pathname of strip program.
* nindy-share/nindy.c (coffstrip): Use that pathname, instead of searching for
a "bfd_strip" program. Also, fixed up arguments passed to that program.
* tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r", which is now
used for something else. Rewrite description of associated parameters to match
how gdb does it now.
(ADDITIONAL_OPTION_HELP): Fix message accordingly.
* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
David D. Zuhn [Thu, 8 Oct 1992 01:29:00 +0000 (01:29 +0000)]
renamed hp9000 to hp300
Ken Raeburn [Thu, 8 Oct 1992 01:13:12 +0000 (01:13 +0000)]
* copy.c (main): Even if is_strip, accept -d argument indicating alternate
output format. Needed by gdb for Nindy.
* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
Jeffrey Osier [Tue, 6 Oct 1992 23:36:54 +0000 (23:36 +0000)]
added copy documentation per Roland
Sean Eric Fagan [Tue, 6 Oct 1992 23:04:08 +0000 (23:04 +0000)]
Set REMOTE to remote-ser.o.
Sean Eric Fagan [Tue, 6 Oct 1992 23:03:51 +0000 (23:03 +0000)]
Added remote-ser.c, which is a version of remote.c that uses the routines
in the ser-*.c files. Needed for some systems, such as GO32, which don't
have stuff like <termios.h>. Makefile.in now uses $(REMOTE), which defaults
to remote.o, instead of remote.o.
K. Richard Pixley [Tue, 6 Oct 1992 22:54:57 +0000 (22:54 +0000)]
NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector as
to_notice_signals.
* inferior.h (proc_signal_handling_change): prototype removed.
* infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): default removed.
(handle_command): now calls target_notice_signals.
* procfs.c (proc_signal_handling_change): renamed to
procfs_notice_signals. Now static. Add prototype. All callers
changed.
* target.h (struct target_ops): new field, to_notice_signals.
(target_notice_signals): new macro to cover new field.
* target.c (cleanup_target): default to_notice_signals to ignore.
* corelow.c (core_ops),
exec.c (exec_ops),
inftarg.c (child_ops),
procfs.c (procfs_ops),
remote-adapt.c (adapt-ops),
remote-eb.c (eb_ops),
remote-es1800.c (es1800_ops, es1800_child_ops),
remote-hms.c (hms_ops),
remote-mm.c (mm_ops),
remote-nindy.c (nindy_ops),
remote-st2000.c (st2000_ops),
remote-udi.c (udi_ops),
remote-vx.c (vx_ops, vx_run_ops),
remote.c (remote_ops),
target.c (dummy_target),
xcoffexec.c (exec_ops): added static initializer for
to_notice_signals.
* xm-irix4.h, xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): removed.
Per Bothner [Tue, 6 Oct 1992 21:25:08 +0000 (21:25 +0000)]
* Makefile.in (*clean rules): Some cleaning up.
* Makefile.in (dist): Make diststuff in gprof for a dist.
* ar.c (do_show_version): New function.
* ar.c (main): Fix so "ar -V" works.
Ian Lance Taylor [Tue, 6 Oct 1992 20:10:27 +0000 (20:10 +0000)]
Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
* ldlang.c (lang_finish): don't warn if -e start symbol does not
exist when linking with -r.
John Gilmore [Tue, 6 Oct 1992 19:14:18 +0000 (19:14 +0000)]
* main.c (define_command): Add forgotten initializer.
John Gilmore [Tue, 6 Oct 1992 09:33:15 +0000 (09:33 +0000)]
* language.c, language.h: Move saved_language out to global
expected_language. Set expected_language when user expectation
changes.
* language.c (language_info): Don't print type/range checking gub.
* main.c (main): Set expected language.
(execute_command): Check against expected language.
* symfile.c (set_initial_language): Set expected language.
John Gilmore [Tue, 6 Oct 1992 09:29:24 +0000 (09:29 +0000)]
Solaris-x86 early trial
John Gilmore [Tue, 6 Oct 1992 09:27:57 +0000 (09:27 +0000)]
* configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf.
John Gilmore [Tue, 6 Oct 1992 09:22:43 +0000 (09:22 +0000)]
A bunch of changes mostly to improve debugging of C++ programs.
Specifically, the calling of inferiors methods is improved.
* value.h: New macros METHOD_PTR_IS_VIRTUAL,
METHOD_PTR_FROM_VOFFSET, METHOD_PTR_TO_VOFFSET to partially
hide the implementation details of pointer-to-method objects.
How to tell if the pointer points to a virtual method is
still very dependent on the particular compiler, but this
should make it easier to find the places to change.
* eval.c (evaluate_subexp [case OP_FUNCALL]), valprint.c
(val_print [case TYPE_CODE_PTR]): Use the new METHOD_PTR_*
macros, instead of a hard-wired-in code that incorrectly
assumed a no-longerused representation of pointer-to-method
values. And otherwise fix the relevant bit-rotted code.
* valprint.c (type_print_base [case TYPE_CODE_STRUCT]):
If there are both fields and methods, put a space between.
* stabsread.c (read_struct_type): Fix bug in handling of
GNU C++ anonymous type (indicated by CPLUS_MARKER followed
by '_'). (It used to prematurely exit the loop reading in
the fields, so it would think it should start reading
methods while still in the fields. This could crash gdb
given a gcc that can emit nested type information.)
* valops.c (search_struct_method): Pass 'this' value by
reference instead of by value. This provides a more
consistent interface through a recursive search where the
"bottom" functions may need to adjust offsets (due to multiple
inheritance).
* valops.c, value.h, values.c: Pass extra parameters to
value_fn_field and value_virtual_fn_field so we can
correctly adjust offset for multiple inheritance.
* eval.c (evaluate_subexp [case OP_FUNCALL]): Simplify
virtual function calls by using value_virtual_fn_field().
* values.c: New function baseclass_offset, derived from
baseclass_addr (which perhaps can be made obsolete?).
It returns an offset rather than an address. This is a
cleaner interface since it doesn't mess around allocating
new values.
* valops.c (search_struct_method): Use baseclass_offset
rather than baseclass_addr.
Per Bothner [Tue, 6 Oct 1992 00:57:18 +0000 (00:57 +0000)]
* gen-c-prog.awk: New awk script, lightly changed from
previously deleted make-c-prog.awk. Converts a text file
to a c function that prints that text.
* flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files.
Inputs to gen-c-prog.awk, containing text describing
gprof output.
* blurbs.c: Removed. Use *_bl.c instead.
* Makefile.in: Use gen-cprog.awk to generate *_bl.c files
from *_bl.m files. Also, improve *clean rules.
* printgprof.c (printgprof): Usw new function names from *_bl.c.
Steve Chamberlain [Tue, 6 Oct 1992 00:03:20 +0000 (00:03 +0000)]
fix i960+non-bfd coff bit rot.
* obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line):
support for C source listings. (obj_coff_endef): look in the right
part of the symbol for the symbol name
Stu Grossman [Mon, 5 Oct 1992 23:19:59 +0000 (23:19 +0000)]
* Makefile.in: Re-install 29K/UDI stuff.
* remote-udi.c (udi_resume): Clean up.
* (udi_wait): Rewrite, leave out bugs.
* Add debugging code to print out all register fetches and stores.
* Straighten out target_ops.
* tm-29k.h (DUMMY_FRAME_RSIZE): Pad out to doubleword.
Per Bothner [Mon, 5 Oct 1992 22:03:13 +0000 (22:03 +0000)]
Tweak previous change (only assume malformed_archive if errno == 0).
Per Bothner [Mon, 5 Oct 1992 21:36:56 +0000 (21:36 +0000)]
* archive.c (_bfd_write_archive_contents): If read fails,
set bfd_error to malformed_archive (since this probably
indicates a truncated archive), rather than system_call_error.
(Handles PRMS 1624.)
Ian Lance Taylor [Mon, 5 Oct 1992 21:08:41 +0000 (21:08 +0000)]
Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
* aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
.bss segment.
Ian Lance Taylor [Mon, 5 Oct 1992 21:03:18 +0000 (21:03 +0000)]
Mon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
* remote-udi.c (udi_create_inferior): run with no arguments should
not pass the program name as an argument, since the UDI code
already handles that.
(udi_load): get the symbols from prog_name, not arg_string (the
load command should really use arg_string as the program name, not
prog_name, but at least the run command works now).
Ian Lance Taylor [Mon, 5 Oct 1992 20:57:33 +0000 (20:57 +0000)]
Mon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
* munch: HP9000/300 nm puts an etra space between T and symbol
name.
Ian Lance Taylor [Mon, 5 Oct 1992 16:49:13 +0000 (16:49 +0000)]
Mon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
* config/irix4.mh: added -lsun to XM_CLIBS to get RPC functions
needed for vxworks targets.
Steve Chamberlain [Mon, 5 Oct 1992 16:30:05 +0000 (16:30 +0000)]
Mon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* tc-m68k.c (get_num): make it work for all segments, not just the
first three.
Steve Chamberlain [Mon, 5 Oct 1992 16:15:11 +0000 (16:15 +0000)]
Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldmain.c (linear_library): don't even think about processing
an object file if it's already been done
Mark Eichin [Mon, 5 Oct 1992 08:33:10 +0000 (08:33 +0000)]
support 386bsd target, from p3
Mark Eichin [Mon, 5 Oct 1992 08:20:22 +0000 (08:20 +0000)]
added i386-*-bsd, from p3
Mark Eichin [Mon, 5 Oct 1992 08:04:49 +0000 (08:04 +0000)]
support for 386bsd a.out files
Mark Eichin [Mon, 5 Oct 1992 07:58:54 +0000 (07:58 +0000)]
changes from p3. (new sparclite-wrs-vxworks triple, xiberty rules)
John Gilmore [Sat, 3 Oct 1992 05:28:42 +0000 (05:28 +0000)]
Changes to make 29k function calls work better at Adobe.
* am29k-tdep.c (_initialize_29k): Make it possible for the
user to set and query the address where function calls into the
inferior write a small scratch routine. `set call_scratch_address'
* inferior.h (PC_IN_CALL_DUMMY): Fix fencepost error.
* remote.c (remote_prepare_to_store): Only fetch regs if they are
not already cached validly.
Ian Lance Taylor [Fri, 2 Oct 1992 18:48:41 +0000 (18:48 +0000)]
Use target i386-aout for i386-*-aout. This just provides a default
emulation mode (of 1386aout).
David D. Zuhn [Fri, 2 Oct 1992 07:26:50 +0000 (07:26 +0000)]
renamed hp9000.h to hp300.h
David D. Zuhn [Fri, 2 Oct 1992 07:13:29 +0000 (07:13 +0000)]
use canonical triple
David D. Zuhn [Fri, 2 Oct 1992 06:55:20 +0000 (06:55 +0000)]
regularize formatting
K. Richard Pixley [Fri, 2 Oct 1992 05:50:17 +0000 (05:50 +0000)]
Rs6000 native support.
* infptrace.c: remove #ifdef USG from around include ptrace.h.
machines without this header should not be compiling this file.
* nm-rs6000.h, rs6000-nat.c: new files for native support.
* rs6000-tdep.c: do not include sys/ptrace.h or sys/reg.h.
* rs6000-xdep.c: removed. all code now in rs6000-nat.c.
* xm-rs6000.h: do not include ptrace.h.
(ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-rs6000.h.
* config/rs6000.mh (XDEPFILES): removed rs6000-xdep.o.
infptrace.o and inftarg.o move to NATDEPFIES.
(NAT_FILE, NATDEPFILES): new macro for native support.
David D. Zuhn [Fri, 2 Oct 1992 01:00:21 +0000 (01:00 +0000)]
use *-*-* instead nested cases
David D. Zuhn [Fri, 2 Oct 1992 00:52:49 +0000 (00:52 +0000)]
avoid compiler warnings
K. Richard Pixley [Thu, 1 Oct 1992 22:44:25 +0000 (22:44 +0000)]
Sun3 native support.
* config/sun3os3.mh, config/sun3os4.mh (NAT_FILE, NATDEPFILES):
new macros for native support.
(XDEPFILES): moved infptrace.o and inftarg.o to NATDEPFILES,
removed sun3-xdep.o.
* xm-sun3.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to
nm-sun3.h.
* sun3-xdep.c: removed. All code is now in sun3-nat.c.
* sun3-nat.c, nm-sun3.h: new files for native support.
Fred Fish [Thu, 1 Oct 1992 17:33:21 +0000 (17:33 +0000)]
* dwarfread.c (dbsize): New variable to hold size of dwarf info.
* dwarfread.c (dwarf_build_psymtabs): Rename dbsize parameter to
dbfsize and use it to initialize new local file scope dbsize.
* dwarfread.c (read_ofile_symtab): Initialize dbsize and use it.
* dwarfread.c (basicdieinfo): Use dbsize to check for oversize
DIEs as well as the current check for undersize DIEs. This helps
to gracefully detect and reject corrupted DIE information.
John Gilmore [Thu, 1 Oct 1992 10:00:47 +0000 (10:00 +0000)]
Add `command hooks' and a hook for inferior program stopping.
John Gilmore [Thu, 1 Oct 1992 09:59:33 +0000 (09:59 +0000)]
Remove dup inftarg.o from NATDEPFILES.
John Gilmore [Thu, 1 Oct 1992 09:57:36 +0000 (09:57 +0000)]
Add `command hooks' and a hook for inferior program stopping.
* command.h (struct cmd_list_element): Remove unused `aux'
field. Add new `hook', `hookee', and `cmd_pointer' fields.
* command.c (add_cmd): Initialize new fields, elim old.
(add_alias_cmd): Clone new fields.
(delete_cmd): Un-hook hookee if we're deleting hook.
(help_cmd): Tell user the command is hooked, if it is.
(lookup_cmd_1): Abbreviations return the original command
instead of themselves, so that hooks on the original cmd will be
run.
* defs.h (enum command_class): Add class_pseudo and comments.
* gdbcmd.h (execute_user_command): Add prototype.
* infrun.c (normal_stop): If the stop command is hooked,
run the hook whenever we stop.
(hook_stop_stub): Stub for catch_errors.
(_initialize_infrun): Set up pseudo "stop" command.
* main.c (execute_user_command): Code extracted from execute_command.
(execute_command): If hooked, run the hook before the command.
(define_command): If defining a new hook, check the command it
is hooking, and warn if none. Install the hook.
* source.c (_initialize_source): "l" is an abbrev for "list".
* doc/gdb.texinfo: Document command hooks.
* Makefile.in (VERSION): Roll to 4.6.7.
* config/sun4os4.mh: Remove dup inftarg.o from NATDEPFILES.
* infrun.c (breakpoints_inserted): Make it static again.
* tm-symmetry.h (FLOAT_INFO): #if 0 it for cross-ptrace abuse.
Mike Werner [Wed, 30 Sep 1992 23:11:04 +0000 (23:11 +0000)]
Fix bug where all the opcodes were one off
K. Richard Pixley [Wed, 30 Sep 1992 22:40:17 +0000 (22:40 +0000)]
missed a ChangeLog entry
K. Richard Pixley [Wed, 30 Sep 1992 22:39:02 +0000 (22:39 +0000)]
Native file renaming.
* nat-sparc.c -> sparc-nat.c
* nat-sun4os4.h -> nm-sun4os4.h
* nat-trash.h -> nm-trash.h
* configure.in: link to nm.h rather than nat.h.
* infptrace.c: include nm.h rather than nat.h.
Stu Grossman [Wed, 30 Sep 1992 21:16:23 +0000 (21:16 +0000)]
Remove energize from configdirs. Only install via energize-patches.
Stu Grossman [Wed, 30 Sep 1992 20:00:22 +0000 (20:00 +0000)]
* readline.c (rl_complete_internal): Cast alloca to (char *) to
avoid warning.
Fred Fish [Wed, 30 Sep 1992 18:56:29 +0000 (18:56 +0000)]
Save nat-sparc.c as well...
Fred Fish [Wed, 30 Sep 1992 18:49:55 +0000 (18:49 +0000)]
Save nat-trash.h for non-sun4 configures of sanitized copies of current
checked in sources.
Fred Fish [Wed, 30 Sep 1992 18:24:31 +0000 (18:24 +0000)]
Keep nat-sun4os4.h so current checked in Sanitized versions will build.
Stu Grossman [Wed, 30 Sep 1992 17:39:32 +0000 (17:39 +0000)]
Add energize to configdirs.
Steve Chamberlain [Wed, 30 Sep 1992 14:42:53 +0000 (14:42 +0000)]
added copyright notice
Steve Chamberlain [Wed, 30 Sep 1992 14:41:36 +0000 (14:41 +0000)]
add z8kgen
Steve Chamberlain [Wed, 30 Sep 1992 14:35:19 +0000 (14:35 +0000)]
* config/z8ksim.mt: new file
K. Richard Pixley [Wed, 30 Sep 1992 02:25:31 +0000 (02:25 +0000)]
Host/target/native split for sun4.
* Makefile.in (TSOBS): removed corelow.o.
* infptrace.c: included nat.h.
* nat-trash.h: temporary header file. This should be removed once
all hosts have the native/host/target split.
* configure.in: add a symlink from nat-trash.h to nat.h if no
other nat file exists for this configuration.
* sparc-tdep.c: no longer include sys/ptrace.h.
* sparc-xdep.c: removed. contents have been moved to nat-sparc.c.
* xm-sparc.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to
nat-sun4os4.h.
* nat-sparc.c, nat-sun4os4.h: new files for sun4 native support.
* config/sun4os4.mh (XDEPFILES): moved infptrace.o and inftarg.o
to NATDEPFILES. removed sparc-xdep.o.
(NATDEPFILES, NAT_FILE): new macros for native support.
K. Richard Pixley [Wed, 30 Sep 1992 02:03:24 +0000 (02:03 +0000)]
Host/target/native split for sun4.
* Makefile.in (TSOBS): removed corelow.o.
* infptrace.c: included nat.h.
* nat-trash.h: temporary header file. This should be removed once
all hosts have the native/host/target split.
* configure.in: add a symlink from nat-trash.h to nat.h if no
other nat file exists for this configuration.
* sparc-tdep.c: no longer include sys/ptrace.h.
* sparc-xdep.c: removed. contents have been moved to nat-sparc.c.
* xm-sparc.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to
nat-sun4os4.h.
* nat-sparc.c, nat-sun4os4.h: new files for sun4 native support.
* config/sun4os4.mh (XDEPFILES): moved infptrace.o and inftarg.o
to NATDEPFILES. removed sparc-xdep.o.
(NATDEPFILES, NAT_FILE): new macros for native support.
Per Bothner [Tue, 29 Sep 1992 22:51:18 +0000 (22:51 +0000)]
Add COPYING and COPYING.LIB.
K. Richard Pixley [Tue, 29 Sep 1992 21:51:16 +0000 (21:51 +0000)]
Break the direct connection from core_file_command to any
particular type of core file support.
* target.h (find_core_target): new prototype.
* target.c (find_core_target): new function. Walks the target
list looking for the core target.
* core.c (core_file_command): replace calls to core_detach and
core_open with find_core_target and direct calls.
Ian Lance Taylor [Tue, 29 Sep 1992 21:13:29 +0000 (21:13 +0000)]
Tue Sep 29 14:11:18 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added -nostdinc to XTRAFLAGS if we are using gcc
from the same source tree and not building a cross-compiler. This
matters for the libg++ configuration if reconfiguring a tree that
has already been installed.
Ken Raeburn [Tue, 29 Sep 1992 20:30:25 +0000 (20:30 +0000)]
bout.c: Removed some unused variables
Ken Raeburn [Tue, 29 Sep 1992 20:26:01 +0000 (20:26 +0000)]
coffcode.h (coff_section_symbol): Create section if it doesn't exist.
Steve Chamberlain [Tue, 29 Sep 1992 19:25:33 +0000 (19:25 +0000)]
* obj-coffbfd.c (write_object_file): don't fixup for the z8k
* tc-z8k.[ch]: lots of bug fixes
Steve Chamberlain [Tue, 29 Sep 1992 19:21:34 +0000 (19:21 +0000)]
* z8k-dis.c (unparse_instr): prettier tabs
* z8kgen.c -> z8k-opc.h: bug fixes in tables
Ian Lance Taylor [Tue, 29 Sep 1992 18:38:20 +0000 (18:38 +0000)]
Tue Sep 29 10:51:55 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-i960.h, tc-i960.c: avoid the ANSI preprocessor addition
#elif, since it is not supported by old compilers.
ho-rs6000.h, tc-m68k.c: the native RS/6000 compiler miscompiles a
couple of expressions in tc-m68k.c.
Ian Lance Taylor [Tue, 29 Sep 1992 17:43:35 +0000 (17:43 +0000)]
Tue Sep 29 10:19:00 1992 Ian Lance Taylor (ian@cygnus.com)
* xm-hp300hpux.h: define MEM_FNS_DECLARED; include <sys/ptrace.h>
for infptrace.c.
config/hp300hpux.mh: ALLOCA1 was not defined.
Ian Lance Taylor [Tue, 29 Sep 1992 15:51:10 +0000 (15:51 +0000)]
Added new hp9000.mh file.
Ian Lance Taylor [Tue, 29 Sep 1992 15:50:30 +0000 (15:50 +0000)]
HP/UX needs -Wp,-P when compiling with -O (comment only, since the
default is not to use -O).
Ian Lance Taylor [Tue, 29 Sep 1992 15:47:03 +0000 (15:47 +0000)]
Tue Sep 29 08:30:21 1992 Ian Lance Taylor (ian@cygnus.com)
* Portability fixes from p3:
coffcode.h (coff_write_relocs): removed sanity check until it
works on all targets (per advice from sac).
config/hp9000.mh: new file to define USG.
hppa.c: #undef hppa before the JUMP_TABLE.
hosts/hppahpux.h: #define NATIVE_HPPAHPUX_COMPILER if not
__STDC__.
targets.c (bfd_target_list): if NATIVE_HPPAHPUX_COMPILER, make
local variable target volatile to avoid mysterious bug in
HP9000/700 cc.
Stu Grossman [Tue, 29 Sep 1992 05:20:46 +0000 (05:20 +0000)]
Yet another rev. We keep the _filtered stuff for energize.
Stu Grossman [Tue, 29 Sep 1992 05:07:30 +0000 (05:07 +0000)]
* breakpoint.c, exec.c, language.c, main.c, printcmd.c, symfile.c,
target.c, valprint.c: Use unfiltered forms of f/printf, et. al.
until we can figure out a better way to do paging.
Ken Raeburn [Tue, 29 Sep 1992 01:27:27 +0000 (01:27 +0000)]
tc-i960.c: use NO_RELOC
Stu Grossman [Mon, 28 Sep 1992 21:31:29 +0000 (21:31 +0000)]
energize.c (energize_wait): Use new interfaces to native/target routines.
Stu Grossman [Mon, 28 Sep 1992 21:28:02 +0000 (21:28 +0000)]
Use correct directory for .mh files so that patch can find them.
Stu Grossman [Mon, 28 Sep 1992 21:27:05 +0000 (21:27 +0000)]
Use new interfaces to native/target stuff.
Fred Fish [Sun, 27 Sep 1992 06:48:41 +0000 (06:48 +0000)]
Preserve fork-child.c.
Fred Fish [Sun, 27 Sep 1992 06:23:03 +0000 (06:23 +0000)]
Keep adobe.h, needed to compile bfd/aout-adobe.c
Fred Fish [Sun, 27 Sep 1992 06:15:32 +0000 (06:15 +0000)]
Keep aout-adobe.c, need to compile sanitized versions.
David Henkel-Wallace [Sat, 26 Sep 1992 22:33:06 +0000 (22:33 +0000)]
Make sure flex is built before stuff that might use it.
Ian Lance Taylor [Sat, 26 Sep 1992 15:04:35 +0000 (15:04 +0000)]
Back out WRS changes, since they are wrong.
John Gilmore [Sat, 26 Sep 1992 11:00:36 +0000 (11:00 +0000)]
* config/hppabsd.mh, config.hppahpux.mh: Remove various bogosity.
* hosts/hppahpux.h: Remove bcopy and index circumventions.
John Gilmore [Sat, 26 Sep 1992 10:29:01 +0000 (10:29 +0000)]
* config/hppabsd.mh, config/hppahpux.mh: Use standard coredep.o.
Rename all HPPA files to fit into unique DOS filenames:
* *hppabsd* => *hppab*
* *hppahpux* => *hppah*
John Gilmore [Sat, 26 Sep 1992 10:27:10 +0000 (10:27 +0000)]
Rename all HPPA files to fit into unique DOS filenames:
*hppabsd* => *hppab* *hppahpux* => *hppah*
John Gilmore [Sat, 26 Sep 1992 10:24:26 +0000 (10:24 +0000)]
* findvar.c (supply_register): Add CLEAN_UP_REGISTER_VALUE hook.
* tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Use it.
* hppa-coredep.c: Remove, now that we use the hook.
* config/hppab.mh, config/hppah.mh: Use standard coredep.o.
* hppab-xdep.c, hppah-xdep.c: Remove custom code, use hook.
* dbxread.c, partial-stab.h: Replace all #ifdef hp9000s800's with
GDB_TARGET_IS_HPPA's. This is a SERIOUS KLUDGE. The code needs to all
be ripped out and reimplemented right (see elfread.c).
* tm-hppa.h (GDB_TARGET_IS_HPPA): Define.
John Gilmore [Sat, 26 Sep 1992 09:06:30 +0000 (09:06 +0000)]
Make the /proc support a target-struct in its own right.
* inferior.h (proc_wait, inferior_proc_init, proc_set_exec_trap):
No longer global functions.
(fork_inferior): New global function from fork-child.c.
* inftarg.c (child_wait): Remove USE_PROC_FS conditional.
(ptrace_me, ptrace_him): New stub functions for fork_inferior().
(child_create_inferior): Moved to fork-child.c as fork_inferior.
(child_create_inferior): New tiny function that calls fork_inferior.
* fork-child.c: New file, containing fork_inferior, which is
built from slight mods to inftarg.c's child_create_inferior.
* procfs.c (procfs_ops): Add target vector.
(attach): Rename as static do_attach.
(procfs_create_inferior): New tiny function that calls fork_inferior.
(child_xfer_memory): Rename to static procfs_xfer_memory.
(store_inferior_registers): Rename to static procfs_store_registers.
(inferior_proc_init): Rename to static procfs_init_inferior.
(procfs_attach, procfs_detach, procfs_prepare_to_store,
procfs_files_info, procfs_open, procfs_mourn_inferior,
procfs_can_run): Slightly mangled copies of the corresponding
child_XXX routines from inftarg.c.
(proc_wait): Renamed to static procfs_wait.
(child_resume): Rename to static procfs_resume.
(fetch_inferior_registers): Rename to static procfs_fetch_registers.
(initialize_proc_fs): Rename to initialize_procfs. Set up
procfs_ops, too.
* xm-irix4.h, xm-sysv4.h (CREATE_INFERIOR_HOOK): No longer needed.