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.
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.
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.
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'.
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*.
Ken Raeburn [Thu, 12 Jan 1995 20:44:01 +0000 (20:44 +0000)]
check makefile.in for arc, rce stuff
Ken Raeburn [Thu, 12 Jan 1995 20:29:22 +0000 (20:29 +0000)]
const fixes
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.
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.
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.
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.
Jim Kingdon [Thu, 12 Jan 1995 16:41:09 +0000 (16:41 +0000)]
* gdb.base/sigall.exp: Add workaround for alpha weirdness.
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.
Jim Kingdon [Thu, 12 Jan 1995 06:17:40 +0000 (06:17 +0000)]
* gdb.base/help.exp: Don't test "help show".
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.
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.
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.
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.
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.
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.
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.
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.
Ken Raeburn [Thu, 12 Jan 1995 00:34:50 +0000 (00:34 +0000)]
Don't generate 68020 addressing modes for a 68000 cpu.
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.
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.
Jim Kingdon [Wed, 11 Jan 1995 20:45:59 +0000 (20:45 +0000)]
* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
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.
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.
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.
Jeff Law [Wed, 11 Jan 1995 17:48:06 +0000 (17:48 +0000)]
Opps. Forgot to commit last night's ChangeLog entry.
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.
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.
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.
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".
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Jim Kingdon [Mon, 9 Jan 1995 22:24:12 +0000 (22:24 +0000)]
* gdb.base/signals.exp: Call gdb_exit and gdb_start.
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 ".*".
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.
Jim Kingdon [Mon, 9 Jan 1995 17:50:42 +0000 (17:50 +0000)]
* configure.in (rs6000-*-*): Don't build gas.
Jeff Law [Mon, 9 Jan 1995 04:35:48 +0000 (04:35 +0000)]
Add 1995 to copyright.
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.
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.
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.
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.
Stan Shebs [Sat, 7 Jan 1995 01:35:41 +0000 (01:35 +0000)]
sanitization
Stan Shebs [Sat, 7 Jan 1995 01:21:01 +0000 (01:21 +0000)]
Keep/lose gdbtk docs
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.
Ian Lance Taylor [Fri, 6 Jan 1995 22:48:48 +0000 (22:48 +0000)]
* dis-asm.h: Make idempotent.
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.
Ken Raeburn [Fri, 6 Jan 1995 22:00:50 +0000 (22:00 +0000)]
* gasp.c: Include string.h. Put config.h before other includes.
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.
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.
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.
Stan Shebs [Thu, 5 Jan 1995 20:54:20 +0000 (20:54 +0000)]
* mpw-configure: Use tr-7to8 instead of mpw-7to8.
Stan Shebs [Thu, 5 Jan 1995 19:44:58 +0000 (19:44 +0000)]
Keep last year's ChangeLog
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.
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.
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.
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.
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.
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.
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.
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.
Jeff Law [Wed, 4 Jan 1995 21:15:42 +0000 (21:15 +0000)]
* som.c (som_begin_writing): Don't forget to bump the
total_subspaces when writing the unloadable subspaces.
Per Bothner [Wed, 4 Jan 1995 21:01:44 +0000 (21:01 +0000)]
* config.guess: Merge from FSF.
Kung Hsu [Wed, 4 Jan 1995 20:31:40 +0000 (20:31 +0000)]
* remote-os9k.c (rombug_open): catch exception e in rombug.
* remote-os9k.c (rombug_wait): print message before register display
from rombug.
Jim Kingdon [Wed, 4 Jan 1995 17:46:40 +0000 (17:46 +0000)]
* top.c (locate_arg): Call strchr not index.
Per Bothner [Wed, 4 Jan 1995 01:07:15 +0000 (01:07 +0000)]
* ch-exp.y (literal): Recognize NULL.
(tuple): Parse simple unlabelled tuples.
* eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to
evaluate brace-initializer-expressions depending on context.
(evaluate_subexp case UNOP_CAST): Pass the target type as
expected type when evaluating the expression.
Per Bothner [Wed, 4 Jan 1995 01:04:15 +0000 (01:04 +0000)]
* ch-typeprint.c (chill_type_print_base): Get names of PTR and
BOOL from TYPE_NAME.
* ch-valprint.c (chill_print_type_scalar): New function, to handle
TYPE_CODE_RANGE better than print_type_scalar does.
(chill_val_print_array_elements): Use above new function.
Stan Shebs [Tue, 3 Jan 1995 20:15:20 +0000 (20:15 +0000)]
* mpw-make.in (DebugOptions): Remove define of DEBUG_BFD_SEND.
Stan Shebs [Tue, 3 Jan 1995 01:45:57 +0000 (01:45 +0000)]
keep sim-gdb.exp
Stan Shebs [Tue, 3 Jan 1995 01:44:08 +0000 (01:44 +0000)]
* config/sim-gdb: New file, simulator testing support.
Stan Shebs [Mon, 2 Jan 1995 23:45:38 +0000 (23:45 +0000)]
Fixes PR 6111
* remote-udi.c (udi_load): Tell symbol_file_add that the
program being loaded is the main program.
Stan Shebs [Mon, 2 Jan 1995 21:27:44 +0000 (21:27 +0000)]
Start this year's ChangeLog.
Steve Chamberlain [Sat, 31 Dec 1994 02:06:11 +0000 (02:06 +0000)]
* config/m68k/tm-est.h: Remove cruft.
Steve Chamberlain [Sat, 31 Dec 1994 02:00:09 +0000 (02:00 +0000)]
* config/m68k/tm-est.h: Remove cruft.
Ken Raeburn [Sat, 31 Dec 1994 00:08:40 +0000 (00:08 +0000)]
Handle .space directive with non-constant operand:
* read.c (s_space): Rewrite to handle general expressions. Generate rs_space
frags for non-constant values.
* write.c (cvt_frag_to_fill): Treat rs_align_code and rs_space like rs_align
and rs_org. Verify that fr_offset is non-negative, and force frag type to
rs_fill only after assertion checks.
(relax_segment): Treat rs_align_code like rs_align. Treat rs_space like rs_org
in the first switch; in the second, force the operand to a constant, and use it
for the growth size.
Stan Shebs [Sat, 31 Dec 1994 00:00:53 +0000 (00:00 +0000)]
* gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh.
(not_implemented_yet): New proc.
(build_framework): Add various file commands to file menu.
Ken Raeburn [Fri, 30 Dec 1994 23:59:23 +0000 (23:59 +0000)]
* as.h (relax_substateT): Now defined to be unsigned int.
(relax_stateT): Separate typedef from enum definition.
(enum _relax_state): Reordered for better punctuation. Added new values
rs_align_code and rs_space.
(lineno, struct lineno_struct): Unused, deleted.
For friendlier assertion-failure messages:
* as.h: No longer include assert.h.
(as_assert): Declare.
(assert): New definition, calls as_assert longer needed.
(__PRETTY_FUNCTION__): Provide default for older versions of gcc.
* messages.c (as_assert): New function.
* gdbinit.in: Put a breakpoint there.
Ken Raeburn [Fri, 30 Dec 1994 23:56:14 +0000 (23:56 +0000)]
* Makefile.in (dependencies): Make $(OBJS) depend on as.h and everything it
includes. Delete those files from per-file dependencies.
Ken Raeburn [Fri, 30 Dec 1994 23:54:59 +0000 (23:54 +0000)]
* listing.c (list_symbol_table): Build a format string based on the size of the
value to be printed, as long as "unsigned long" is at least as wide, after
handling the special case of 4-byte values.
Stan Shebs [Fri, 30 Dec 1994 23:42:46 +0000 (23:42 +0000)]
Sanitize out gdbtk references unless keep-gdbtk specified
Ken Raeburn [Fri, 30 Dec 1994 23:15:52 +0000 (23:15 +0000)]
* gas/i386/pushw.l: Fixed whitespace to match current listing style.
* gas/all/gas.exp: Mark test p1480.s expected to pass, even with listings.
[requires patches that'll be checked in soon]
Jeff Law [Fri, 30 Dec 1994 19:53:39 +0000 (19:53 +0000)]
* Allow up to 10 whitespace separated arguments to user defined
commands.
* top.c (struct user_args): Structure for holding arguments to
user defined commands.
(print_command_line): Delete unused "tmp_chain" variable. Clean
up flow control by having cases exit in the same manner.
Before executing a command or evaluating an expression, substitute
the current $arg0..$arg9 values if the command/expression uses them.
(arg_cleanup): New function.
(setup_user_args, locate_arg, insert_args): Likewise.
(execute_user_command): Allow arguments to user defined commands.
* Allow if/while commands to be used within a breakpoint command
list.
* breakpoint.c (bpstat_do_actions): Call execute_control_command
rather than execute_command (passes entire command structure rather
than just the command line text).
(breakpoint_1): Use "print_command_line" to print a breakpoint
command line (including control structures).
* gdbcmd.h (execute_control_command): Provide extern decl.
(print_command_line): Likewise.
* top.c (execute_control_command): No longer static.
(print_command_line): New function to recursively print a command
line, including control structures.
Rob Savoye [Fri, 30 Dec 1994 01:47:27 +0000 (01:47 +0000)]
* hppa-tdep.c (pa_print_registers): Extract register values stored
in big endian format on big and little endian hosts.
Rob Savoye [Fri, 30 Dec 1994 01:39:24 +0000 (01:39 +0000)]
* array-rom.c: Support for Array Tech LSI33k based RAID disk
controller board.
* configure.in: Recognize "mips*-*-ecoff*" rather than
"mips*-idt-ecoff*" so it'll work for the LSI33k.
Rob Savoye [Fri, 30 Dec 1994 01:26:37 +0000 (01:26 +0000)]
* monitor.[ch], op50-rom.c, rom68k-rom.c, w89k-rom.c: Add support
to monitor config structure for supported baud rates for a target
and variable stop bits.
* monitor.c (monitor_fetch_register): Store register values in big
endian format on any host.
Steve Chamberlain [Thu, 29 Dec 1994 06:16:23 +0000 (06:16 +0000)]
* h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
immediates.
Steve Chamberlain [Thu, 29 Dec 1994 06:06:56 +0000 (06:06 +0000)]
* ldwrite.c (clone_section): Create a symbol with the
same name as the section.
Steve Chamberlain [Thu, 29 Dec 1994 05:28:20 +0000 (05:28 +0000)]
* interp.c (BUSERROR): New macro.
([r|w][bwl]at[little|big]) New functions.
(sim_resume): If GO32 check for interrupt every now
and again. Decrement PC if SIGBUS seen.
* run.c (main): Return result of simulated _exit.