Jim Kingdon [Mon, 14 Jun 1993 21:20:56 +0000 (21:20 +0000)]
add isi-xdep.c
Jim Kingdon [Mon, 14 Jun 1993 20:50:12 +0000 (20:50 +0000)]
* main.c, symfile.c, source.c, exec.c, core.c: Use it for
"directory", "source", "cd", "symbol-file" "add-symbol-file",
"load", "file", "exec-file", "core-file" commands.
Ian Lance Taylor [Mon, 14 Jun 1993 20:17:35 +0000 (20:17 +0000)]
o - size
Currently assumes that the only relevant sections are named .text,
.data and either .bss or .stack. This is not very general, and it
doesn't work for ECOFF.
Jim Kingdon [Mon, 14 Jun 1993 19:23:37 +0000 (19:23 +0000)]
* main.c, gdbcmd.h: Add function filename_completer.
source.c: Use it for "directory" command.
(But '/' is a word break, limiting usefulness; see comments).
* source.c (mod_path): Warning not error if can't find directory.
Ian Lance Taylor [Mon, 14 Jun 1993 19:17:29 +0000 (19:17 +0000)]
Corrected if test for build native, and added else true for Ultrix.
Ian Lance Taylor [Mon, 14 Jun 1993 17:25:15 +0000 (17:25 +0000)]
* coff-mips.c (ecoff_set_symbol_info): Constructor sections should
only be aligned to a 4 byte boundary.
Jim Kingdon [Mon, 14 Jun 1993 16:43:24 +0000 (16:43 +0000)]
* gdb.t12/scope.exp: Test printing of variables before run.
Jim Kingdon [Mon, 14 Jun 1993 16:27:39 +0000 (16:27 +0000)]
* isi-xdep.c: New file.
* config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
Jim Kingdon [Mon, 14 Jun 1993 16:17:30 +0000 (16:17 +0000)]
* gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
printed in wrong order due to sorting.
Jim Kingdon [Sun, 13 Jun 1993 20:19:45 +0000 (20:19 +0000)]
* config/m68k/xm-news.h: Include <sys/param.h>.
Jim Kingdon [Sun, 13 Jun 1993 20:11:10 +0000 (20:11 +0000)]
* Makefile.in: Add distclean, realclean, and mostlyclean targets.
Jim Kingdon [Sun, 13 Jun 1993 20:05:45 +0000 (20:05 +0000)]
* Makefile.in ({real,dist}clean): Remove sysdep.h.
Jim Kingdon [Sun, 13 Jun 1993 19:55:35 +0000 (19:55 +0000)]
* {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames.
Jim Kingdon [Sun, 13 Jun 1993 19:54:31 +0000 (19:54 +0000)]
* Makefile.in (realclean): Remove info and dvi files too.
Jim Kingdon [Sun, 13 Jun 1993 19:41:01 +0000 (19:41 +0000)]
* m88k-tdep.c (IEEE_isNAN): Remove.
config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
broken isNAN as on the mips.
Jim Kingdon [Sun, 13 Jun 1993 18:59:29 +0000 (18:59 +0000)]
* valprint.c (_initialize_valprint): Use c->function.sfunc not just
c->function.
Jim Kingdon [Sun, 13 Jun 1993 18:47:22 +0000 (18:47 +0000)]
* config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
Jim Kingdon [Sun, 13 Jun 1993 18:46:47 +0000 (18:46 +0000)]
* dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
defined, don't worry about Sun's silly LBRAC bug.
* dbxread.c (process_one_symbol): If there's a symbol before an
N_SO, don't error().
(case N_BCOMM): complain () not error ().
Jim Kingdon [Sun, 13 Jun 1993 18:16:42 +0000 (18:16 +0000)]
* defs.h, main.c (catch_errors): Add return_mask arg.
stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
other callers: Pass RETURN_MASK_ALL.
(return_to_top_level), callers: Add return_reason arg.
* utils.c (quit):
Use return_to_top_level (RETURN_QUIT) instead of error ().
* main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
Use SET_TOP_LEVEL not setjmp (to_top_level).
* remote-nindy.c: Use catch_errors not setjmp (to_top_level).
Fred Fish [Sun, 13 Jun 1993 18:08:35 +0000 (18:08 +0000)]
Add .Sanitize file.
Jim Kingdon [Sun, 13 Jun 1993 03:18:18 +0000 (03:18 +0000)]
* solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
Don't try to get the debug base yet.
Jim Kingdon [Sun, 13 Jun 1993 02:32:05 +0000 (02:32 +0000)]
* valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
* printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
Jim Kingdon [Sun, 13 Jun 1993 02:26:18 +0000 (02:26 +0000)]
* dbxread.c (process_one_symbol): Set n_opt_found based on whether
a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
which returns 0 or 1 to say whether to do it.
* config/sparc/sun4{sol2,os4}.h
(SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
the right thing happens for both acc and SunOS4 /bin/cc.
Jim Kingdon [Sun, 13 Jun 1993 01:24:24 +0000 (01:24 +0000)]
* gdb.texinfo: Change accordingly.
Jim Kingdon [Sun, 13 Jun 1993 01:19:45 +0000 (01:19 +0000)]
* {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames.
* Makefile.in: Change accordingly. gdb-config.texi -> gdb-cfg.texi.
Jim Kingdon [Sat, 12 Jun 1993 23:15:20 +0000 (23:15 +0000)]
* hosts/std-host.h (struct int64e_struct): Remove needless typedef
keyword.
Fred Fish [Sat, 12 Jun 1993 23:13:48 +0000 (23:13 +0000)]
* gdb.t00/teststrategy.exp: Fix expected results for printing
user entered string constant. Is array of char, prints with no
address.
Jim Kingdon [Sat, 12 Jun 1993 23:11:31 +0000 (23:11 +0000)]
* stabs.texinfo: Clean up N_{L,R}BRAC. Discuss what addresses of
N_{L,R}BRAC,N_SLINE are relative to.
Jim Kingdon [Sat, 12 Jun 1993 22:13:44 +0000 (22:13 +0000)]
x
Jim Kingdon [Sat, 12 Jun 1993 22:12:45 +0000 (22:12 +0000)]
* mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
probably contained byte-order sins too.
config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
The IEEE_FLOAT code in print_floating takes care of it.
Fred Fish [Sat, 12 Jun 1993 22:09:59 +0000 (22:09 +0000)]
* gdb.t00/{default.exp, help.exp}: Account for changes to radix
commands.
* gdb.t16/gdbme.c: Add and use struct containing arrays of char.
* gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
* gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
of struct of char arrays.
* gdb.t00/radix.exp: New tests for radix commands.
Fred Fish [Sat, 12 Jun 1993 22:03:27 +0000 (22:03 +0000)]
* Makefile.in (VERSION): Bump to 4.9.2.
* c-valprint.c (c_val_print): For array of chars printed with
string syntax, don't print the address of the array. From
bothner@cygnus.com.
* c-exp.y (yylex): Recognize '.' as indicating a floating point
number regardless of the radix. From wilson@cygnus.com.
* valprint.c (set_input_radix_1, set_output_radix_1): New
prototypes and functions that do the actual radix setting work.
* valprint.c (set_radix, set_output_radix, set_input_radix):
Rewrite to use set_input_radix_1 and set_output_radix_1.
* valprint.c (initialize_valprint): Enable commands to
independently set and show input and output radices.
* valprint.c (show_radix): New prototype and function that
handles separate input and output radices.
Ken Raeburn [Fri, 11 Jun 1993 23:39:25 +0000 (23:39 +0000)]
mips-dis.c needn't choke on HOST_64_BIT
Ken Raeburn [Fri, 11 Jun 1993 23:20:54 +0000 (23:20 +0000)]
Lots of changes from Jeff Law for HPPA support:
Clean up cruft in opcode table; improve opcodes library disassembler; make
gdb use opcodes library disassembler.
K. Richard Pixley [Fri, 11 Jun 1993 22:23:17 +0000 (22:23 +0000)]
revised format for config info
Jim Kingdon [Fri, 11 Jun 1993 22:16:47 +0000 (22:16 +0000)]
* Makefile.in (GDBvn.texi): Update atomically.
Jim Kingdon [Fri, 11 Jun 1993 21:53:49 +0000 (21:53 +0000)]
* dbxread.c (process_one_symbol): Rather than having
BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
is true if we are doing stabs-in-elf, false otherwise.
config/sparc/tm-sun4sol2.h: Don't define it.
Jim Kingdon [Fri, 11 Jun 1993 21:23:12 +0000 (21:23 +0000)]
update to new automatically built version
Ian Lance Taylor [Fri, 11 Jun 1993 20:51:22 +0000 (20:51 +0000)]
(mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
not an integer.
Ian Lance Taylor [Fri, 11 Jun 1993 20:35:35 +0000 (20:35 +0000)]
* remote-mips.c (mips_send_packet): Don't print garbage character
in debugging info.
(mips_request): Don't check that remote pid is 0, because
sometimes it isn't.
Jim Kingdon [Fri, 11 Jun 1993 20:31:37 +0000 (20:31 +0000)]
x
Jim Kingdon [Fri, 11 Jun 1993 20:06:41 +0000 (20:06 +0000)]
* stack.c (print_frame_info): Use catch_errors around print_frame_args.
Jim Kingdon [Fri, 11 Jun 1993 19:08:18 +0000 (19:08 +0000)]
* Makefile.in (install): Don't depend on gdb.
Jim Kingdon [Fri, 11 Jun 1993 19:00:25 +0000 (19:00 +0000)]
rename for 14-char filenames
David MacKenzie [Fri, 11 Jun 1993 18:39:25 +0000 (18:39 +0000)]
Add some nm comments.
Jim Kingdon [Fri, 11 Jun 1993 18:33:12 +0000 (18:33 +0000)]
* mips-tdep.c (isa_NAN): Don't return true on -0.
Jim Kingdon [Fri, 11 Jun 1993 18:29:50 +0000 (18:29 +0000)]
* Rename remote-es1800.c to remote-es.c
and remote-st2000.c to remote-st.c for 14-char filenames.
config/m68k/{es1800,st2000}: Use the new names.
Fred Fish [Fri, 11 Jun 1993 17:25:57 +0000 (17:25 +0000)]
* defs.h (INT_MAX): Cast unsigned shift result to int.
Jim Kingdon [Fri, 11 Jun 1993 16:23:55 +0000 (16:23 +0000)]
* m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
David Edelsohn [Fri, 11 Jun 1993 03:39:22 +0000 (03:39 +0000)]
* hosts/std-host.h (int64e_type): Fix definition.
David Edelsohn [Fri, 11 Jun 1993 03:38:16 +0000 (03:38 +0000)]
(int64e_type): Fix definition.
Jim Kingdon [Fri, 11 Jun 1993 03:11:32 +0000 (03:11 +0000)]
x
Per Bothner [Fri, 11 Jun 1993 00:34:26 +0000 (00:34 +0000)]
* objcopy.c (copy_object): Fix bad size passed to xmalloc().
Jim Kingdon [Thu, 10 Jun 1993 22:43:53 +0000 (22:43 +0000)]
* gdb.t16/printcmd.exp: Don't print variables before running program.
* gdb.t06/break.exp: Don't require envp argument to main.
* gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
* gdb.t02/whatis.exp, gdb.t11/list.exp:
Add xfails for rs6000.
* gdb.t02/whatis.exp: Re-write other tests
not to re-test something we already tested.
* gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
each type used has a variable of that type.
Steve Chamberlain [Thu, 10 Jun 1993 21:20:25 +0000 (21:20 +0000)]
Checkpoint for dje.
Ian Lance Taylor [Thu, 10 Jun 1993 21:02:59 +0000 (21:02 +0000)]
* ldexp.c (exp_fold_tree): Don't lose the old flag bits.
* ldgram.y (statement_list_opt): New nonterminal, either empty or
statement_list.
(section): Use statement_list_opt, not statement_list.
* m68kcoff.sc-sh: Gather constructors and destructors and define
__CTOR_LIST__ and __DTOR_LIST__ appropriately.
* sa29200.sc-sh: Gather constructors and destructors and define
___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
Steve Chamberlain [Thu, 10 Jun 1993 20:38:39 +0000 (20:38 +0000)]
Checkpoint for dje.
Fred Fish [Thu, 10 Jun 1993 20:31:47 +0000 (20:31 +0000)]
* elfread.c (elf_symtab_read): Add bfd section address to bfd
symbols, now that they are section relative.
* solib.c (bfd_lookup_symbol): Ditto.
Steve Chamberlain [Thu, 10 Jun 1993 20:31:17 +0000 (20:31 +0000)]
Add ansidecl.h
Ian Lance Taylor [Thu, 10 Jun 1993 18:51:48 +0000 (18:51 +0000)]
* coff-mips.c (ecoff_sec_to_styp_flags): Use STYP_MIPS_INIT for
section named _INIT. Don't set STYP_TEXT unless SEC_CODE is set.
(ecoff_styp_to_sec_flags): Treat a STYP_MIPS_INIT section like
a STYP_TEXT section.
Jim Kingdon [Thu, 10 Jun 1993 18:26:53 +0000 (18:26 +0000)]
* Makefile.in: Add mostlyclean, distclean, and realclean targets.
Jim Kingdon [Thu, 10 Jun 1993 18:17:07 +0000 (18:17 +0000)]
* Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
depend: Updated accordingly.
Ken Raeburn [Thu, 10 Jun 1993 01:35:17 +0000 (01:35 +0000)]
I don't think this file is needed any more
Ken Raeburn [Thu, 10 Jun 1993 01:33:42 +0000 (01:33 +0000)]
patches from tege
David D. Zuhn [Wed, 9 Jun 1993 23:49:32 +0000 (23:49 +0000)]
fix comment portability problem (ultrix)
Jim Kingdon [Wed, 9 Jun 1993 23:27:24 +0000 (23:27 +0000)]
* Makefile.in (*.tab.c): Use mv for atomic update.
* Makefile.in ({dist,real}clean): Also remove nm.h.
(realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
(distclean): Don't rebuild *.tab.c or TAGS.
K. Richard Pixley [Wed, 9 Jun 1993 23:22:48 +0000 (23:22 +0000)]
put configuration in startup banner
K. Richard Pixley [Wed, 9 Jun 1993 22:29:33 +0000 (22:29 +0000)]
udi/foo now copyleft 93
K. Richard Pixley [Wed, 9 Jun 1993 22:28:58 +0000 (22:28 +0000)]
now copyleft 93
Ian Lance Taylor [Wed, 9 Jun 1993 22:09:38 +0000 (22:09 +0000)]
* mips.h (OMAGIC): Define.
Ian Lance Taylor [Wed, 9 Jun 1993 22:08:13 +0000 (22:08 +0000)]
* coff-mips.c (ecoff_mkobject_hook): Mark ZMAGIC files as D_PAGED.
(ecoff_write_object_contents): If not D_PAGED, don't add the
section headers to text_size. If not D_PAGED, set the magic
number to OMAGIC rather than ZMAGIC. If creating a D_PAGED
executable, the executable must fully occupy an even number of
pages.
(ecoff_set_symbol_info, make_bfd_asection, ecoff_little_vec,
ecoff_big_vec): Consistently set section alignment power to 4,
since ECOFF sections should be multiples of 16 bytes.
(ecoff_little_vec, ecoff_big_vec): Added D_PAGED to object_flags.
Made ar_pad_char and ar_max_namelen agree for both.
K. Richard Pixley [Wed, 9 Jun 1993 21:13:08 +0000 (21:13 +0000)]
cast args to supply_register to avoid gcc warning.
K. Richard Pixley [Wed, 9 Jun 1993 20:00:52 +0000 (20:00 +0000)]
drop minimon support
K. Richard Pixley [Wed, 9 Jun 1993 19:58:38 +0000 (19:58 +0000)]
removed -lresolv
Ian Lance Taylor [Wed, 9 Jun 1993 19:46:09 +0000 (19:46 +0000)]
* configure.in: Build diff for crosses, but not for go32 host.
Ian Lance Taylor [Wed, 9 Jun 1993 19:32:57 +0000 (19:32 +0000)]
* configure.in: Build gprof only for native, and don't build it
for mips-*-*, rs6000-*-*, or i[34]86-*-sco*.
Jim Kingdon [Wed, 9 Jun 1993 18:12:35 +0000 (18:12 +0000)]
* gdbinv-s.texi (Debug Session): Document exceptionHook.
Jim Kingdon [Wed, 9 Jun 1993 14:04:02 +0000 (14:04 +0000)]
* m68k-stub.c: Add comment about frame cache.
Jim Kingdon [Wed, 9 Jun 1993 13:24:16 +0000 (13:24 +0000)]
* target.h (target_store_registers): Doc fix re error handling.
* findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
of register_valid[regno].
Jim Kingdon [Wed, 9 Jun 1993 01:28:54 +0000 (01:28 +0000)]
Doc fix re dependencies
Rob Savoye [Wed, 9 Jun 1993 01:18:26 +0000 (01:18 +0000)]
* serial.c (serial_close): If scb is NULL, don't try to close
it.
* configure.in: Add support for rom68k and bug boot monitors.
Steve Chamberlain [Wed, 9 Jun 1993 00:52:13 +0000 (00:52 +0000)]
(read_memory_unsigned_integer): New function.
Steve Chamberlain [Wed, 9 Jun 1993 00:47:13 +0000 (00:47 +0000)]
* coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
* gdbcore.h, core.c (read_memory_unsigned_integer): New function.
* findvar.c (read_register, write_register): Fix thinko where
sizeof(host long) != sizeof(target int).
* h8300-tdep.c: Use new read_memory_unsigned_integer call.
* sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
Jim Kingdon [Wed, 9 Jun 1993 00:41:06 +0000 (00:41 +0000)]
add comment
Jim Kingdon [Wed, 9 Jun 1993 00:33:55 +0000 (00:33 +0000)]
move to hosts
Mark Eichin [Wed, 9 Jun 1993 00:30:58 +0000 (00:30 +0000)]
* elfcode.h (elf_slurp_symbol_table): subtract section vma from
symbol value, since bfd symbols are section relative, but ELF
symbols aren't.
for previous change.
Jim Kingdon [Wed, 9 Jun 1993 00:14:12 +0000 (00:14 +0000)]
helps if you save the ChangeLog after you edit it and before you check it in
Jim Kingdon [Tue, 8 Jun 1993 23:35:00 +0000 (23:35 +0000)]
* Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between
68881 and non-68881 cases. Check for a pair of movel instructions.
K. Richard Pixley [Tue, 8 Jun 1993 23:17:01 +0000 (23:17 +0000)]
symfile.h requires bfd.h so include it
K. Richard Pixley [Tue, 8 Jun 1993 23:05:20 +0000 (23:05 +0000)]
First cut at sparc-vxworks targetting.
K. Richard Pixley [Tue, 8 Jun 1993 21:54:05 +0000 (21:54 +0000)]
symfile.h requires bfd.h so include it.
Jim Kingdon [Tue, 8 Jun 1993 21:44:14 +0000 (21:44 +0000)]
* config/m68k/xm-news.h: add "extern int errno".
Steve Chamberlain [Tue, 8 Jun 1993 21:38:42 +0000 (21:38 +0000)]
Obsolete.
Steve Chamberlain [Tue, 8 Jun 1993 21:31:12 +0000 (21:31 +0000)]
* cpu-i960.c, cpu-h8300.c (compatible): Make static.
Jim Kingdon [Tue, 8 Jun 1993 21:30:08 +0000 (21:30 +0000)]
new stuff for Sony News
Jim Kingdon [Tue, 8 Jun 1993 21:28:41 +0000 (21:28 +0000)]
new file
Steve Chamberlain [Tue, 8 Jun 1993 21:16:33 +0000 (21:16 +0000)]
Rewrite for H8/300-H
K. Richard Pixley [Tue, 8 Jun 1993 20:56:23 +0000 (20:56 +0000)]
* remove-vx.c (vx_read_register, vx_write_register): collapse
ifdef I80960 else (assumes) m68k into parameterizable macros
VX_NUM_REGS and VX_SIZE_FPREGS.
* config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
VX_SIZE_FPREGS): new definitions.
Jim Kingdon [Tue, 8 Jun 1993 20:46:45 +0000 (20:46 +0000)]
* gdb.texinfo (Print Settings): Move all stuff relating to symbolic
addresses together. Also motivate the set print symbol-filename
command and suggest other solutions.
Jim Kingdon [Tue, 8 Jun 1993 19:48:15 +0000 (19:48 +0000)]
* symfile.{c,h} (generic_load): New function.
remote{,-nindy,-eb,-mips}.c: Use it.