Commit Graph

2453 Commits

Author SHA1 Message Date
Fred Fish
dd9d4fa31c * 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.
1993-06-12 22:09:59 +00:00
Fred Fish
ce13daa7df * 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.
1993-06-12 22:03:27 +00:00
Ken Raeburn
112087edcc 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.
1993-06-11 23:20:54 +00:00
K. Richard Pixley
57cb418a93 revised format for config info 1993-06-11 22:23:17 +00:00
Jim Kingdon
af08a43ac4 * Makefile.in (GDBvn.texi): Update atomically. 1993-06-11 22:16:47 +00:00
Jim Kingdon
574dac8e6d * 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.
1993-06-11 21:53:49 +00:00
Jim Kingdon
d146827310 update to new automatically built version 1993-06-11 21:23:12 +00:00
Ian Lance Taylor
83909c43b6 (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
not an integer.
1993-06-11 20:51:22 +00:00
Ian Lance Taylor
f63f30e2cc * 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.
1993-06-11 20:35:35 +00:00
Jim Kingdon
49b12db0ce x 1993-06-11 20:31:37 +00:00
Jim Kingdon
c94e7e757b * stack.c (print_frame_info): Use catch_errors around print_frame_args. 1993-06-11 20:06:41 +00:00
Jim Kingdon
702c0ff7fb * Makefile.in (install): Don't depend on gdb. 1993-06-11 19:08:18 +00:00
Jim Kingdon
10d7cfa7cf rename for 14-char filenames 1993-06-11 19:00:25 +00:00
Jim Kingdon
f68e693158 * mips-tdep.c (isa_NAN): Don't return true on -0. 1993-06-11 18:33:12 +00:00
Jim Kingdon
91c87211d6 * 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.
1993-06-11 18:29:50 +00:00
Fred Fish
dd577ca588 * defs.h (INT_MAX): Cast unsigned shift result to int. 1993-06-11 17:25:57 +00:00
Jim Kingdon
fcb6cf5818 x 1993-06-11 03:11:32 +00:00
Jim Kingdon
729258a3a0 * 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.
1993-06-10 22:43:53 +00:00
Steve Chamberlain
36e73225e6 Checkpoint for dje. 1993-06-10 21:20:25 +00:00
Fred Fish
a608f919de * elfread.c (elf_symtab_read): Add bfd section address to bfd
symbols, now that they are section relative.
	* solib.c (bfd_lookup_symbol):  Ditto.
1993-06-10 20:31:47 +00:00
Jim Kingdon
f0fda0aa85 * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
depend: Updated accordingly.
1993-06-10 18:17:07 +00:00
Jim Kingdon
39d4639b11 * 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.
1993-06-09 23:27:24 +00:00
K. Richard Pixley
9049407811 put configuration in startup banner 1993-06-09 23:22:48 +00:00
K. Richard Pixley
a29be23615 udi/foo now copyleft 93 1993-06-09 22:29:33 +00:00
K. Richard Pixley
b47f3fa2a9 now copyleft 93 1993-06-09 22:28:58 +00:00
K. Richard Pixley
a058c1e807 cast args to supply_register to avoid gcc warning. 1993-06-09 21:13:08 +00:00
K. Richard Pixley
0b3556feb1 drop minimon support 1993-06-09 20:00:52 +00:00
K. Richard Pixley
fa48972a7d removed -lresolv 1993-06-09 19:58:38 +00:00
Jim Kingdon
49f09e1865 * gdbinv-s.texi (Debug Session): Document exceptionHook. 1993-06-09 18:12:35 +00:00
Jim Kingdon
4640902b79 * m68k-stub.c: Add comment about frame cache. 1993-06-09 14:04:02 +00:00
Jim Kingdon
b01c21d066 * target.h (target_store_registers): Doc fix re error handling.
* findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
	of register_valid[regno].
1993-06-09 13:24:16 +00:00
Jim Kingdon
9745ba070f Doc fix re dependencies 1993-06-09 01:28:54 +00:00
Rob Savoye
f7630ec9c5 * serial.c (serial_close): If scb is NULL, don't try to close
it.
       * configure.in: Add support for rom68k and bug boot monitors.
1993-06-09 01:18:26 +00:00
Steve Chamberlain
86a5593e9c (read_memory_unsigned_integer): New function. 1993-06-09 00:52:13 +00:00
Steve Chamberlain
df14b38baf * 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.
1993-06-09 00:47:13 +00:00
Jim Kingdon
bf3b8abd19 add comment 1993-06-09 00:41:06 +00:00
Jim Kingdon
d9e5694c9b helps if you save the ChangeLog after you edit it and before you check it in 1993-06-09 00:14:12 +00:00
Jim Kingdon
e7ac0161ce * 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.
1993-06-08 23:35:00 +00:00
K. Richard Pixley
45d8db87f0 symfile.h requires bfd.h so include it 1993-06-08 23:17:01 +00:00
K. Richard Pixley
54d44c8c3d First cut at sparc-vxworks targetting. 1993-06-08 23:05:20 +00:00
K. Richard Pixley
75c319ffb4 symfile.h requires bfd.h so include it. 1993-06-08 21:54:05 +00:00
Jim Kingdon
683bf9b55d * config/m68k/xm-news.h: add "extern int errno". 1993-06-08 21:44:14 +00:00
K. Richard Pixley
357992027a * 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.
1993-06-08 20:56:23 +00:00
Jim Kingdon
146212247c * gdb.texinfo (Print Settings): Move all stuff relating to symbolic
addresses together.  Also motivate the set print symbol-filename
	command and suggest other solutions.
1993-06-08 20:46:45 +00:00
Jim Kingdon
6b27ebe851 * symfile.{c,h} (generic_load): New function.
remote{,-nindy,-eb,-mips}.c: Use it.
1993-06-08 19:48:15 +00:00
Stu Grossman
a5d6157038 * Makefile.in (depend): More sed gubbish to deal with
../bfd/bfd.h being generated during the build.
	* depend:  Re-done with corrected makefile.
1993-06-08 03:10:34 +00:00
Fred Fish
6f4a4fbb1d * 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.
1993-06-07 23:41:44 +00:00
Stu Grossman
13d4405574 Remove # from XDEPFILES. This causes `make alldeps.mak' to produce a bad
ALLDEPFILES definition.
1993-06-05 01:38:08 +00:00
Stu Grossman
a8ddd6ccd0 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.
1993-06-05 01:36:37 +00:00
David D. Zuhn
649aee3f85 * config/sparc/xm-sun4sol2.h: define MEM_FNS_DECLARED 1993-06-04 21:19:51 +00:00