binutils-gdb.git
29 years agonew files.
Steve Chamberlain [Mon, 16 Jan 1995 01:47:04 +0000 (01:47 +0000)]
new files.

29 years ago * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
Steve Chamberlain [Mon, 16 Jan 1995 01:45:49 +0000 (01:45 +0000)]
* w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
* configure.in: Suppprt for w65,

29 years ago * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
Steve Chamberlain [Mon, 16 Jan 1995 01:29:48 +0000 (01:29 +0000)]
* w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
* configure.in: Suppprt for w65,

29 years agonew file.
Steve Chamberlain [Mon, 16 Jan 1995 01:28:40 +0000 (01:28 +0000)]
new file.

29 years ago * Makefile.in: Support W65.
Steve Chamberlain [Mon, 16 Jan 1995 00:55:22 +0000 (00:55 +0000)]
* Makefile.in: Support W65.
* configure.in: Ditto.

29 years agoNew files.
Steve Chamberlain [Mon, 16 Jan 1995 00:53:05 +0000 (00:53 +0000)]
New files.

29 years ago * configure.in (w65-*-*): New target.
Steve Chamberlain [Mon, 16 Jan 1995 00:51:02 +0000 (00:51 +0000)]
* configure.in (w65-*-*): New target.
* Makefile.in: Update.
* scripttempl/w65.sc: New.
* config/coff-w65.mt: New.

29 years agoadd w65 stuff.
Steve Chamberlain [Mon, 16 Jan 1995 00:42:14 +0000 (00:42 +0000)]
add w65 stuff.

29 years ago * config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
Steve Chamberlain [Mon, 16 Jan 1995 00:40:48 +0000 (00:40 +0000)]
* config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.
* config/obj-coff.h: Cope with w65.
* configure, configure.in: Recognize w65.

29 years ago * configure.in: Add W65 support.
Steve Chamberlain [Mon, 16 Jan 1995 00:35:55 +0000 (00:35 +0000)]
* configure.in: Add W65 support.
* disassemble.c: Likewise.
* w65-opc.h, w65-dis.c: New files.

29 years agoSun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Sun, 15 Jan 1995 23:17:43 +0000 (23:17 +0000)]
Sun Jan 15 14:36:19 1995  Steve Chamberlain  <sac@splat>

* breakpoint.h (disable_breakpoint, enable_breakpoint):
New declarations.
(enum bpdisp): Change name of 'delete' member to 'del'.
(struct bpstat): Changed name to 'bpstats'.
* breakpoint.c (disable_breakpoint, enable_breakpoint,
breakpoint_chain): Made globally visible.
(bpstat_stop_status): Use new name for bpstat.
(break_command_1, watch_command_1, catch_command_1,
breakpoint_auto_delete, denable_delete_breakpoint): Use 'del'
instead of 'delete'.
(set_breakpoint_sal): New function.
* defs.h (registers_changed_hook): New declaration.
* infcmd.c (run_stack_dummy): 'delete' is now 'del'.
* inflow.c (new_tty): Treat WIN32 in same way as __GO32__
* main.c (main): Don't scan options when in WIN32 and exit
without entering main loop.
* m2-exp.y (m2_elx): Member 'class' is now 'aclass'.
* symtab.h (struct symbol, struct partial_symbol): Changed name of
member 'class' to 'aclass'.
(SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change.
* top.c (registers_changed_hook): New definition.
* utils.c (quit, notice_quit, initialize_utils): Treate WIN32
in same way as __GO32__.
* value.h (c_typedef_print): Rename 'new' argument.

29 years ago * rldefs.h: Define MINIMAL for __GO32__ and WIN32.
Steve Chamberlain [Sun, 15 Jan 1995 22:33:04 +0000 (22:33 +0000)]
* rldefs.h: Define MINIMAL for __GO32__ and WIN32.
* complete.c, display.c, readline.c, rltty.c: Test MINIMAL
instead of __GO32__.

29 years agoSun Jan 15 13:57:45 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Sun, 15 Jan 1995 22:04:02 +0000 (22:04 +0000)]
Sun Jan 15 13:57:45 1995  Steve Chamberlain  <sac@splat>

* opncls.c (bfd_fdopenr): Configure for WIN32.

29 years ago* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
Jim Kingdon [Sat, 14 Jan 1995 20:56:55 +0000 (20:56 +0000)]
* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.

29 years ago * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
Jim Kingdon [Sat, 14 Jan 1995 18:23:51 +0000 (18:23 +0000)]
* gdb.base/sigall.exp (test_one_sig): Attempt to recover if
"get signal $thissig" test fails.

29 years ago * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
Jim Kingdon [Sat, 14 Jan 1995 18:07:48 +0000 (18:07 +0000)]
* infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,
not stop_pc, to proceed.

29 years ago* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.
Jim Kingdon [Sat, 14 Jan 1995 16:48:03 +0000 (16:48 +0000)]
* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.

29 years ago* gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
Jim Kingdon [Sat, 14 Jan 1995 16:29:24 +0000 (16:29 +0000)]
* gdb.base/setvar.exp: Check for and reject crazy expected type hacks.

29 years ago * Makefile.in (all): Don't make libgdb-files.
Stan Shebs [Fri, 13 Jan 1995 23:31:57 +0000 (23:31 +0000)]
* Makefile.in (all): Don't make libgdb-files.
(libgdb): New action, makes libgdb-files.

29 years ago * infcmd.c (signal_command): Accept "signal 0"; the change to not
Jim Kingdon [Fri, 13 Jan 1995 22:55:37 +0000 (22:55 +0000)]
* infcmd.c (signal_command): Accept "signal 0"; the change to not
accept it was accidental.  "handle 0" and "info signal 0" remain
illegal, though.

29 years agonote deletion of hex-value.c
Ken Raeburn [Fri, 13 Jan 1995 21:02:02 +0000 (21:02 +0000)]
note deletion of hex-value.c

29 years ago * stabsread.c (read_enum_type): When pending enum symbols are
Per Bothner [Fri, 13 Jan 1995 06:24:23 +0000 (06:24 +0000)]
* stabsread.c (read_enum_type):  When pending enum symbols are
put into the enum type, they must be inserted in "backwards
order, in case we've overflowed a struct pending buffer.

29 years ago* app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get' function is
Ken Raeburn [Fri, 13 Jan 1995 01:05:42 +0000 (01:05 +0000)]
* app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get' function is
scrub_from_file, call scrub_from_file directly, and get gcc's inlining
capability into the act.

29 years ago * gdbtk.c gdbtk.tcl: Update/add copyright.
Stu Grossman [Thu, 12 Jan 1995 23:10:48 +0000 (23:10 +0000)]
* gdbtk.c gdbtk.tcl:  Update/add copyright.
* gdbtk.tcl (build_framework):  Several fixes for filespec widget,
including dismiss button, and better error handling.
* (create_command_win):  Bind button 2 to retrieve selection.

29 years agodelete references to hex-value.c
Ken Raeburn [Thu, 12 Jan 1995 23:09:24 +0000 (23:09 +0000)]
delete references to hex-value.c

29 years agoUse new hex-value code in libiberty:
Ken Raeburn [Thu, 12 Jan 1995 23:00:26 +0000 (23:00 +0000)]
Use new hex-value code in libiberty:

* Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o.
(OBJS): Delete hex-value.o.
(REAL_SOURCES): Delete hex-value.c.
(hex-value.o): Delete dependencies.
* hex-value.c: Deleted.
* as.c (main): Call hex_init.
* expr.c, config/tc-mips.c: Include libiberty.h.  Replace hex_value array
references with hex_* macros.

29 years ago* libiberty.h (hex_p): Fix sense of test.
Ken Raeburn [Thu, 12 Jan 1995 22:53:39 +0000 (22:53 +0000)]
* libiberty.h (hex_p): Fix sense of test.

29 years agoMakefile changes for arc, rce, diststuff.
Ken Raeburn [Thu, 12 Jan 1995 21:46:17 +0000 (21:46 +0000)]
Makefile changes for arc, rce, diststuff.
Const fixes and hex_value changes to various files.

29 years ago(ALL_MACHINES, BFD32_BACKENDS): Include arc and rce, appropriately sanitized.
Ken Raeburn [Thu, 12 Jan 1995 21:41:20 +0000 (21:41 +0000)]
(ALL_MACHINES, BFD32_BACKENDS): Include arc and rce, appropriately sanitized.
(diststuff): Include `headers'.

Updated dependencies.

29 years ago* srec.c, tekhex.c: Include libiberty.h. Delete static array hex_value and
Ken Raeburn [Thu, 12 Jan 1995 21:37:32 +0000 (21:37 +0000)]
* srec.c, tekhex.c: Include libiberty.h.  Delete static array hex_value and
replace references to it with references to hex_init, hex_p, and hex_value.
* tekhex.c (digs): Now const.

29 years ago* sunos.c (m68k_plt_first_entry, sparc_plt_first_entry): Now const.
Ken Raeburn [Thu, 12 Jan 1995 21:35:05 +0000 (21:35 +0000)]
* sunos.c (m68k_plt_first_entry, sparc_plt_first_entry): Now const.
* elf32-i386.c (elf_i386_plt0_entry, elf_i386_plt_entry): Ditto.
* archures.c (archures_init_table): Now const.
(bfd_arch_init): Adjusted type of local var `ptable'.

29 years agoThu Jan 12 13:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Thu, 12 Jan 1995 21:14:50 +0000 (21:14 +0000)]
Thu Jan 12 13:13:23 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* configure.in (enable_shared stuff): Fix typo.

Thu Jan 12 01:36:51 1995  deanm@medulla.LABS.TEK.COM (Dean Messing)

* Makefile.in (BASE_FLAGS_TO_PASS): Fix typo in passing LIBCXXFLAGS*.

29 years agocheck makefile.in for arc, rce stuff
Ken Raeburn [Thu, 12 Jan 1995 20:44:01 +0000 (20:44 +0000)]
check makefile.in for arc, rce stuff

29 years agoconst fixes
Ken Raeburn [Thu, 12 Jan 1995 20:29:22 +0000 (20:29 +0000)]
const fixes

29 years ago * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
Jim Kingdon [Thu, 12 Jan 1995 20:12:07 +0000 (20:12 +0000)]
* gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
compiler warning with dec alpha compiler.

* gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
extra \n from gdb_test call (this explains why the prompt test
that I removed yesterday was there).
(user_defined_command_test): Remove extra \n and prompt test.

* gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
doesn't exist.
* gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
Also remove alpha workaround, which turns out to be because
SIGABRT == SIGLOST.

29 years ago * hosts/symmetry.h: Redefine `shared' to enable compilation
Peter Schauer [Thu, 12 Jan 1995 18:33:52 +0000 (18:33 +0000)]
* hosts/symmetry.h:  Redefine `shared' to enable compilation
with the native Dynix cc compiler.
* i386dynix.c:  Include aoutx.h instead of using routines
from aout32.c.

29 years ago Add procfs support for Alpha OSF/1-2.x.
Peter Schauer [Thu, 12 Jan 1995 18:14:01 +0000 (18:14 +0000)]
Add procfs support for Alpha OSF/1-2.x.
* config/alpha/nm-osf.h:  Renamed from nm-alpha.h, generic
OSF/1 native support.
* config/alpha/alpha-osf1.mh (NAT_FILE):  Changed accordingly.
(MUNCH_DEFINE):  Removed.
* config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h:  New files
for procfs support.

29 years ago * README: Add note about SPARCworks cc release 3.0 and higher.
Peter Schauer [Thu, 12 Jan 1995 18:12:04 +0000 (18:12 +0000)]
* README:  Add note about SPARCworks cc release 3.0 and higher.

Add procfs support for Alpha OSF/1-2.x.
* config/alpha/nm-osf.h:  Renamed from nm-alpha.h, generic
OSF/1 native support.
* config/alpha/alpha-osf1.mh (NAT_FILE):  Changed accordingly.
(MUNCH_DEFINE):  Removed.
* config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h:  New files
for procfs support.
* configure.in (alpha-dec-osf*):  Use alpha-osf2.mh for OSF/1
release 2.x and higher, else alpha-osf1.mh, as the procfs support
in release 1.x is incomplete.
* Makefile.in (ALLCONFIG):  Add config/alpha/alpha-osf2.mh.
* alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
fill_fpgregset):  New routines for procfs support.
* inftarg.c (_initialize_inftarg):  Don't add ptrace support
if we have an optional procfs and /proc is accessible.
* procfs.c:  Include sys/fault.h and sys/syscall.h before
including sys/procfs.h.
(unconditionally_kill_inferior):  If PROCFS_NEED_PIOCSSIG_FOR_KILL
is defined, additionally perform a PIOCSSIG to really terminate
the inferior.
(create_procinfo):  Always return a result.
(create_procinfo, do_attach):  Don't trace T_IFAULT faults if
PROCFS_DONT_TRACE_IFAULT is defined.
(procfs_init_inferior):  Use START_INFERIOR_TRAPS_EXPECTED as
argument to startup_inferior if it is defined.
(proc_set_exec_trap):  If PIOCSSPCACT is defined, use it instead
of tracing exits from exec system calls. Needed for the user level
loader under Alpha OSF/1.
(do_detach):  Clear any pending signal if we want to detach from
a process without a signal.
(set_proc_siginfo):  If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
don't issue a PIOCSSIG if pr_cursig already contains the signal we
intend to set.
(info_proc_signals):  If PROCFS_SIGPEND_OFFSET is defined, the
pending signals are numbered from 1 instead of 0.
(info_proc_mappings):  Increase size of output format for addresses
if BFD_HOST_64_BIT is defined.
(procfs_stop):  Renamed from child_stop.
(_initialize_procfs):  Don't add procfs support if we have an
optional procfs and /proc is not accessible.

29 years ago* gdb.base/sigall.exp: Add workaround for alpha weirdness.
Jim Kingdon [Thu, 12 Jan 1995 16:41:09 +0000 (16:41 +0000)]
* gdb.base/sigall.exp: Add workaround for alpha weirdness.

29 years ago * ldlang.c (lang_place_orphans): Don't ignore files with
Ian Lance Taylor [Thu, 12 Jan 1995 06:34:11 +0000 (06:34 +0000)]
* ldlang.c (lang_place_orphans): Don't ignore files with
just_syms_flag set.  Instead, put all their sections in
bfd_abs_section_ptr, using the section VMA as the output_offset.
PR 6159.

29 years ago* gdb.base/help.exp: Don't test "help show".
Jim Kingdon [Thu, 12 Jan 1995 06:17:40 +0000 (06:17 +0000)]
* gdb.base/help.exp: Don't test "help show".

29 years agoDon't use const with reloc_howto_type, since it's now defined to be const.
Ken Raeburn [Thu, 12 Jan 1995 05:04:04 +0000 (05:04 +0000)]
Don't use const with reloc_howto_type, since it's now defined to be const.

29 years ago* libiberty.h (_hex_array_size, _hex_bad, _hex_value, hex_init, hex_p,
Ken Raeburn [Thu, 12 Jan 1995 03:43:19 +0000 (03:43 +0000)]
* libiberty.h (_hex_array_size, _hex_bad, _hex_value, hex_init, hex_p,
hex_value): New macros and declarations, for hex.c.

29 years agoForgot an entry in last checkin:
Ken Raeburn [Thu, 12 Jan 1995 02:44:45 +0000 (02:44 +0000)]
Forgot an entry in last checkin:

* ecoff.c (ecoff_type_to_string): Local variable `buffer1' doesn't
need to be static.

29 years agoChange "reloc_howto_type" typedef to be "const", since all uses of it are (or
Ken Raeburn [Thu, 12 Jan 1995 02:41:04 +0000 (02:41 +0000)]
Change "reloc_howto_type" typedef to be "const", since all uses of it are (or
should be) anyways.

29 years ago * gdbtk.tcl: Add button to control mixed source disassembly.
Stu Grossman [Thu, 12 Jan 1995 02:10:05 +0000 (02:10 +0000)]
* gdbtk.tcl:  Add button to control mixed source disassembly.
* Use text widgets in expr window.  The give me more control over
layout.
* Add auto-updating of exprs in expression window.
* Handle expressions out of scope a bit better.
* Make selected window pop up to the top when invoked via the
menubar.
* Make copyright message have raised relief.

29 years ago * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
Stu Grossman [Thu, 12 Jan 1995 01:09:34 +0000 (01:09 +0000)]
* gdbtk.c (gdbtk_init):  Improve handling for errors in gdbtk.tcl
during startup.

29 years ago * array-rom.c: Add support for most commands.
Rob Savoye [Thu, 12 Jan 1995 00:56:53 +0000 (00:56 +0000)]
* array-rom.c: Add support for most commands.
* monitor.c: Add GDB remote protocol for the hybrid environment on
the Array board.

29 years agoFor COFF targets, make sure F_RELFLG is set exactly when no relocs are present,
Ken Raeburn [Thu, 12 Jan 1995 00:36:23 +0000 (00:36 +0000)]
For COFF targets, make sure F_RELFLG is set exactly when no relocs are present,
instead of making it depend solely on the target CPU.

29 years agoDon't generate 68020 addressing modes for a 68000 cpu.
Ken Raeburn [Thu, 12 Jan 1995 00:34:50 +0000 (00:34 +0000)]
Don't generate 68020 addressing modes for a 68000 cpu.

29 years agoWed Jan 11 16:29:53 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Thu, 12 Jan 1995 00:31:22 +0000 (00:31 +0000)]
Wed Jan 11 16:29:53 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* Makefile.in (LIBCXXFLAGS_FOR_TARGET): Add -fno-implicit-templates.

29 years agoWed Jan 11 16:29:34 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Thu, 12 Jan 1995 00:30:54 +0000 (00:30 +0000)]
Wed Jan 11 16:29:34 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* m?-*pic (LIBCXXFLAGS): Add -fno-implicit-templates.

29 years ago* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
Jim Kingdon [Wed, 11 Jan 1995 20:45:59 +0000 (20:45 +0000)]
* gdb.base/help.exp: Replace most of docstring for "define" with ".*".

29 years ago * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
Jim Kingdon [Wed, 11 Jan 1995 20:42:33 +0000 (20:42 +0000)]
* gdb.base/a1-selftest.exp: Don't test "maint dump-me".  That test
was a vestige of the manual TESTSTRATEGY, and the purpose of it
was to make sure that gdb can read a core file.  But (a) the "read
the corefile" part didn't make it to a1-selftest.exp, we just
delete the corefile after creating it, and (b) we test reading
corefiles in corefile.exp anyway.  Also, this test left around a
xgdb process on Solaris.

* gdb.base/corefile.exp: Also test backtrace.

29 years ago * sunos.c (sunos_add_one_symbol): Don't core dump if a multiple
Ian Lance Taylor [Wed, 11 Jan 1995 19:42:28 +0000 (19:42 +0000)]
* sunos.c (sunos_add_one_symbol): Don't core dump if a multiple
definition of an absolute symbol is encountered.

29 years ago * linker.c (_bfd_generic_link_add_one_symbol): Ignore
Ian Lance Taylor [Wed, 11 Jan 1995 19:38:06 +0000 (19:38 +0000)]
* linker.c (_bfd_generic_link_add_one_symbol): Ignore
redefinitions of an absolute symbol to the same value.
PR 6159.

29 years agoOpps. Forgot to commit last night's ChangeLog entry.
Jeff Law [Wed, 11 Jan 1995 17:48:06 +0000 (17:48 +0000)]
Opps.  Forgot to commit last night's ChangeLog entry.

29 years ago * ld-scripts/sizeof.exp: New test, based on bug report from
Ian Lance Taylor [Wed, 11 Jan 1995 16:49:57 +0000 (16:49 +0000)]
* ld-scripts/sizeof.exp: New test, based on bug report from
anders.blomdell@control.lth.se.
* ld-scripts/sizeof.s: New file.
* ld-scripts/sizeof.t: New file.

29 years ago * ldexp.c (fold_binary): Adding or subtracting an absolute value
Ian Lance Taylor [Wed, 11 Jan 1995 16:26:15 +0000 (16:26 +0000)]
* ldexp.c (fold_binary): Adding or subtracting an absolute value
to a relative value does not require forcing the relative value to
be absolute.  Also, reindent function.

29 years ago * command.c (show_user_1): Use print_command_line to show a user
Jeff Law [Wed, 11 Jan 1995 07:46:44 +0000 (07:46 +0000)]
* command.c (show_user_1): Use print_command_line to show a user
defined command (including control structures).

* top.c (init_main): Change documentation for user defined
commands to indicate they may accept up to ten arguments.

29 years ago * gdb.base/commands.exp: Test a simple user defined command with
Jeff Law [Wed, 11 Jan 1995 07:43:53 +0000 (07:43 +0000)]
* gdb.base/commands.exp: Test a simple user defined command with
arguments and if/while statements; verify the full user command is
printed by "show user".

29 years ago * gdb.base/commands.exp: Test if/while commands as part of a
Jeff Law [Wed, 11 Jan 1995 07:16:54 +0000 (07:16 +0000)]
* gdb.base/commands.exp: Test if/while commands as part of a
breakpoint command list; verify they appear in breakpoint
information.

29 years ago * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
Jim Kingdon [Wed, 11 Jan 1995 05:53:49 +0000 (05:53 +0000)]
* gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
than by dividing by zero.

29 years ago * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
Jeff Law [Wed, 11 Jan 1995 04:48:43 +0000 (04:48 +0000)]
* gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
performing an inferior call with watchpoints enabled.
* gdb.base/watchpoint.c (main): Delete second unnecessary read
call.

29 years ago * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
Jim Kingdon [Tue, 10 Jan 1995 23:54:03 +0000 (23:54 +0000)]
* gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
of "file" command.

29 years ago * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
Jim Kingdon [Tue, 10 Jan 1995 23:44:43 +0000 (23:44 +0000)]
* gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
Add additional pattern for when "int operator int(void);" appears
in a different order.

29 years ago * mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
Jim Kingdon [Tue, 10 Jan 1995 21:24:34 +0000 (21:24 +0000)]
* mips-tdep.c (mips_skip_prologue): Accept or as well as addu for
`move $s8, $sp' instruction.

29 years ago * gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch in
Jeff Law [Tue, 10 Jan 1995 18:43:46 +0000 (18:43 +0000)]
* gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch in
regexp to avoid losing without a controlling tty.

29 years ago* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k specially
Ken Raeburn [Tue, 10 Jan 1995 18:42:28 +0000 (18:42 +0000)]
* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k specially
with regard to fixups.

29 years ago* config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to bfd_vma before
Ken Raeburn [Tue, 10 Jan 1995 01:45:53 +0000 (01:45 +0000)]
* config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to bfd_vma before
subtracting.

29 years ago* config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure
Ken Raeburn [Tue, 10 Jan 1995 01:41:54 +0000 (01:41 +0000)]
* config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure
fr_symbol is null.
(fill_section): Ditto.

29 years ago * interp.c: Remove def of INLINE. This comes from bfd.h. Also,
Stu Grossman [Mon, 9 Jan 1995 23:46:03 +0000 (23:46 +0000)]
* interp.c:  Remove def of INLINE.  This comes from bfd.h.  Also,
declare IOMEM before using it.

29 years ago* gdb.base/signals.exp: Call gdb_exit and gdb_start.
Jim Kingdon [Mon, 9 Jan 1995 22:24:12 +0000 (22:24 +0000)]
* gdb.base/signals.exp: Call gdb_exit and gdb_start.

29 years ago * gdb.base/help.exp: Replace most of docstrings for "info signals"
Jim Kingdon [Mon, 9 Jan 1995 21:32:53 +0000 (21:32 +0000)]
* gdb.base/help.exp: Replace most of docstrings for "info signals"
and "signal" with ".*".

29 years ago * elfcode.h (elf_link_add_object_symbols): It's reasonable for no
Ian Lance Taylor [Mon, 9 Jan 1995 20:52:59 +0000 (20:52 +0000)]
* elfcode.h (elf_link_add_object_symbols): It's reasonable for no
flags to be set, so don't insist otherwise.

29 years ago* configure.in (rs6000-*-*): Don't build gas.
Jim Kingdon [Mon, 9 Jan 1995 17:50:42 +0000 (17:50 +0000)]
* configure.in (rs6000-*-*): Don't build gas.

29 years agoAdd 1995 to copyright.
Jeff Law [Mon, 9 Jan 1995 04:35:48 +0000 (04:35 +0000)]
Add 1995 to copyright.

29 years ago * TODO: Add note about "handle all nostop".
Jim Kingdon [Sun, 8 Jan 1995 23:03:28 +0000 (23:03 +0000)]
* TODO: Add note about "handle all nostop".

* gdb.base/{sigall.c, sigall.exp}: New test.
* gdb.base/Makefile.in: Add it.

29 years ago * target.c, target.h (target_signal_from_command): New function.
Jim Kingdon [Sun, 8 Jan 1995 22:13:21 +0000 (22:13 +0000)]
* target.c, target.h (target_signal_from_command): New function.
* infrun.c (handle_command, signals_info), infcmd.c
(signal_command): Use it.
* infrun.c, infcmd.c: Update docstrings for these commands.

* target.h (enum target_signal), target.c (signals), target.c
(target_signal_from_host, target_signal_to_host): Add
TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx.
* config/tm-lynx.h: Define signal numbers for realtime events.

29 years ago * config/tc-mips.c (mips_ip): Fix handling of floating point
Ian Lance Taylor [Sun, 8 Jan 1995 21:17:56 +0000 (21:17 +0000)]
* config/tc-mips.c (mips_ip): Fix handling of floating point
values when GPOPT is not defined.

29 years ago * dbxread.c (process_one_symbol): Handle N_FUN symbols
Peter Schauer [Sat, 7 Jan 1995 15:30:58 +0000 (15:30 +0000)]
* dbxread.c (process_one_symbol):  Handle N_FUN symbols
for Sun acc 3.0 under SunOS4.

Changes to improve handling of runtime common symbols
under SunOS4.
* minsyms.c (get_symbol_leading_char):  New routine to determine
the leading symbol character for an objfile.
(prim_record_minimal_symbol_and_info, install_minimal_symbols):
Use it.
* objfiles.h (rt_common_objfile):  New global, points to objfile
containing the runtime common minimal symbols.
* objfiles.c (free_objfile):  Mark rt_common_objfile as
unallocated before freeing it.
* solib.c (allocate_rt_common_objfile):  New routine to allocate
an objfile for the runtime common minimal symbols.
(solib_add_common_symbols):  Allocate an objfile for the runtime
common symbols if necessary and put common symbols into it.
Clean up code and comments.
(solib_add, special_symbol_handling):  Cleanup comments regarding
runtime common symbols.
* stabsread.c (scan_file_globals_1):  New routine, contains
old scan_file_globals code. Checks if there are any unresolved
global symbols before starting the expensive minimal symbol table
search.
(scan_file_globals):  Now calls scan_file_globals_1 for the passed
objfile and eventually for the runtime common objfile. Complains
about any unresolved global symbols and removes them from the
global symbol chain to avoid dangling pointers into the symbol
table if the symbol table is reread.

29 years agosanitization
Stan Shebs [Sat, 7 Jan 1995 01:35:41 +0000 (01:35 +0000)]
sanitization

29 years agoKeep/lose gdbtk docs
Stan Shebs [Sat, 7 Jan 1995 01:21:01 +0000 (01:21 +0000)]
Keep/lose gdbtk docs

29 years ago * gdbgui.texinfo: New file, manual for GUI (gdbtk) users.
Stan Shebs [Sat, 7 Jan 1995 01:20:09 +0000 (01:20 +0000)]
* gdbgui.texinfo: New file, manual for GUI (gdbtk) users.
* Makefile.in (gdbgui.dvi, gdbgui.info): New actions.

29 years ago * dis-asm.h: Make idempotent.
Ian Lance Taylor [Fri, 6 Jan 1995 22:48:48 +0000 (22:48 +0000)]
* dis-asm.h: Make idempotent.

29 years ago* config/tc-alpha.c (alpha_ip): Delay calls to emit_add64 until after any
Ken Raeburn [Fri, 6 Jan 1995 22:02:27 +0000 (22:02 +0000)]
* config/tc-alpha.c (alpha_ip): Delay calls to emit_add64 until after any
remaining operands are also known to match.

29 years ago* gasp.c: Include string.h. Put config.h before other includes.
Ken Raeburn [Fri, 6 Jan 1995 22:00:50 +0000 (22:00 +0000)]
* gasp.c: Include string.h.  Put config.h before other includes.

29 years ago * elfcode.h (elf_slurp_symbol_table): Don't set BSF_GLOBAL for an
Ian Lance Taylor [Fri, 6 Jan 1995 21:50:28 +0000 (21:50 +0000)]
* elfcode.h (elf_slurp_symbol_table): Don't set BSF_GLOBAL for an
undefined or common symbol.
(elf_link_add_object_symbols): Likewise.

29 years ago * Makefile.in (install_only uninstall): Indent for clarity
Stu Grossman [Fri, 6 Jan 1995 01:55:45 +0000 (01:55 +0000)]
* Makefile.in (install_only uninstall):  Indent for clarity

* core.c (dis_asm_read_memory):  Add call to
dis_asm_read_memory_hook to provide alternate way for disassembler
to read memory.

* defs.h:  Protect from multiple inclusion.  Add decl for
dis_asm_read_memory_hook.

* gdbtk.c (finish_saving_output):  Don't do anything if not saving
output.
* (breakpoint_notify):  Don't send null filename to tcl.
* (gdb_eval):  New tcl command to eval an expression.
* (gdb_disassemble):  New tcl command to do disassembly.  This
allows tcl code to choose between exec file and target memeory,
and can also do mixed source and assembly.
* (gdbtk_init):  Move reading of gdbtk.tcl to the end to make sure
that more of the environment is set up.  Also, create link between
gdb and tcl vars disassemble{-_}from{-_}exec.

* gdbtk.tcl:  New expression window support.
* Make assembly window be 80 columns wide.
* Use new disassembly method.  Add menu items to select
disassembly from exec file or target.
* Change View menubar item to Options.

* Get rid of Stack, Breakpoints, Signals, and Variables Windows,
since they don't exist yet.

* Pop up a copyright window on startup.

* top.c:  Make window startup be the default.
* Add dis_asm_read_memory_hook.

29 years ago * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
Stan Shebs [Fri, 6 Jan 1995 01:37:18 +0000 (01:37 +0000)]
* lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
when invoking GDB, suppresses any windowing interface.

29 years ago * mpw-configure: Use tr-7to8 instead of mpw-7to8.
Stan Shebs [Thu, 5 Jan 1995 20:54:20 +0000 (20:54 +0000)]
* mpw-configure: Use tr-7to8 instead of mpw-7to8.

29 years agoKeep last year's ChangeLog
Stan Shebs [Thu, 5 Jan 1995 19:44:58 +0000 (19:44 +0000)]
Keep last year's ChangeLog

29 years ago * stabsread.c (define_symbol): Handle `a' symbol type used for
Jeff Law [Thu, 5 Jan 1995 08:18:13 +0000 (08:18 +0000)]
* stabsread.c (define_symbol): Handle `a' symbol type used for
reference parameter passed in a register.

29 years ago * Makefile.in: Use /x/x/ instead of /brokensed/brokensed/, to
Ian Lance Taylor [Thu, 5 Jan 1995 04:56:44 +0000 (04:56 +0000)]
* Makefile.in: Use /x/x/ instead of /brokensed/brokensed/, to
reduce command line length.
(AS_FOR_TARGET): Check for as.new, not Makefile.
(NM_FOR_TARGET): Check for nm.new, not Makefile.

29 years ago * gdbtk.tcl (build_framework): Add standard commands menu, more
Stan Shebs [Thu, 5 Jan 1995 03:58:18 +0000 (03:58 +0000)]
* gdbtk.tcl (build_framework): Add standard commands menu, more
windows to standard windows menu.
(not_implemented_yet): Clarify message.

29 years ago * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.
Stan Shebs [Thu, 5 Jan 1995 02:39:47 +0000 (02:39 +0000)]
* mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.

29 years ago * defs.h: move include tm.h up, so that the type LONGEST can
Kung Hsu [Thu, 5 Jan 1995 00:49:29 +0000 (00:49 +0000)]
    * defs.h: move include tm.h up, so that the type LONGEST can
        also based on the target requirement to determine. In this case
        target mips64.

29 years ago * som.c (bfd_section_from_som_symbol): Only return sections which
Jeff Law [Thu, 5 Jan 1995 00:34:07 +0000 (00:34 +0000)]
* som.c (bfd_section_from_som_symbol): Only return sections which
correspond to subspaces.

29 years ago * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
Ian Lance Taylor [Wed, 4 Jan 1995 23:59:43 +0000 (23:59 +0000)]
* lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
if the linker exists.

29 years ago * mpw-config.in (archname): Compute from the config.
Stan Shebs [Wed, 4 Jan 1995 23:05:52 +0000 (23:05 +0000)]
* mpw-config.in (archname): Compute from the config.
(BFD_MACHINES, ARCHDEFS): Put into mk.tmp.