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.
Steve Chamberlain [Tue, 8 Jun 1993 19:26:23 +0000 (19:26 +0000)]
* h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
H8/300-H opcodes.
Steve Chamberlain [Tue, 8 Jun 1993 19:15:35 +0000 (19:15 +0000)]
* bfd-in2.h, archures.c (bfd_mach_h8300[h]): new defines.
* coff-h8300.c: More addressing modes.
* coffcode.h (coff_set_arch_mach_hook): Cope with H8300 magic
number.
* cpu-h8300.c: Removed disassemble stuff. (h8300_scan): Recognise
H8/300H name. (compatible): New function.
* reloc16.c (bfd_coff_reloc16_get_relocated_sec): Cope with more
addressing modes.
Ian Lance Taylor [Tue, 8 Jun 1993 17:35:27 +0000 (17:35 +0000)]
* coff-mips.c (ecoff_compute_section_file_positions,
ecoff_write_object_contents): Only round to page boundaries if
D_PAGED flag is set for the output BFD.
Stu Grossman [Tue, 8 Jun 1993 03:10:34 +0000 (03:10 +0000)]
* Makefile.in (depend): More sed gubbish to deal with
../bfd/bfd.h being generated during the build.
* depend: Re-done with corrected makefile.
Fred Fish [Mon, 7 Jun 1993 23:41:44 +0000 (23:41 +0000)]
* Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
* Makefile.in (BFD_OBJ_DIR): New definition for the bfd build
directory to find automatically generated header files and library.
* Makefile.in (BFD_LIB): Use BFD_OBJ_DIR.
* Makefile.in (LINTFLAGS): Include BFD_OBJ_DIR.
* Makefile.in (saber_gdb): Include BFD_OBJ_DIR.
* Makefile.in (depend): Include BFD_OBJ_DIR in gcc args.
* Makefile.in (paread.o, xcoffexec.o): Remove, now in depend.
* depend, alldeps.mak: Rebuild after Makefile.in changes.
David D. Zuhn [Mon, 7 Jun 1993 20:14:02 +0000 (20:14 +0000)]
don't build gas,ld,binutils for *-*-sysv4
Per Bothner [Mon, 7 Jun 1993 19:59:50 +0000 (19:59 +0000)]
* Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
* configure.in: No longer need to configure to get sysdep.h.
Per Bothner [Mon, 7 Jun 1993 19:57:26 +0000 (19:57 +0000)]
* Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
* configure.in: No longer need to configure to get sysdep.h.
Per Bothner [Mon, 7 Jun 1993 19:45:12 +0000 (19:45 +0000)]
* Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
* configure.in: No longer need to configure to get sysdep.h.
* objcopy.c (copy_object): Fix symbol table handling.
Brendan Kehoe [Mon, 7 Jun 1993 18:41:17 +0000 (18:41 +0000)]
* configure.in (host_tools): Add prms.
David Edelsohn [Mon, 7 Jun 1993 16:57:18 +0000 (16:57 +0000)]
config/tc-sparc.c: (sparc_ip): Fix parsing of asi number. Fix error message.
Stu Grossman [Sat, 5 Jun 1993 01:38:08 +0000 (01:38 +0000)]
Remove # from XDEPFILES. This causes `make alldeps.mak' to produce a bad
ALLDEPFILES definition.
Stu Grossman [Sat, 5 Jun 1993 01:36:37 +0000 (01:36 +0000)]
Remove # from config/m68k/isi.h:XDEPFILES. This causes alldeps.mak to mostly
get commented out. depend and alldeps.mak are much more complete now.
David D. Zuhn [Fri, 4 Jun 1993 23:24:37 +0000 (23:24 +0000)]
update INFO-DIR-ENTRY
David D. Zuhn [Fri, 4 Jun 1993 23:20:08 +0000 (23:20 +0000)]
* Makefile.in: remove old C++ rules; remove install:all and
install-info:info dependencies (these cause some spurious rebuilds
at 'make install' time)
Steve Chamberlain [Fri, 4 Jun 1993 23:14:16 +0000 (23:14 +0000)]
Support for Alpha.
Ken Raeburn [Fri, 4 Jun 1993 23:06:28 +0000 (23:06 +0000)]
clean v9 stuff out of configure.in