Commit Graph

2713 Commits

Author SHA1 Message Date
Jim Kingdon
550754345f expand on solib_add_common_symbols comment 1993-06-21 18:48:51 +00:00
Jim Kingdon
7edd8068e1 * snapshots.readme: Tell people to always report missing files. 1993-06-21 17:33:06 +00:00
Fred Fish
c1aa3a2fbb Add all the mt-* files as things to keep. 1993-06-21 16:39:46 +00:00
Jim Kingdon
089dc22027 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
(read_cpp_abbrev): Don't complain specially for $_.  Also return 0 if
	we don't recognize the abbrev.
1993-06-20 20:30:31 +00:00
Jim Kingdon
2a4e8cc37d * solib.c (solib_add_common_symbols): Add comment about performance. 1993-06-20 05:28:07 +00:00
David D. Zuhn
8eb5e28936 added stabs-in-elf menu entry, reformatted menus with C-c C-u a (texinfo mode command) 1993-06-19 22:18:24 +00:00
Fred Fish
3d26a081b1 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
test cases from bug reports.
1993-06-19 14:53:17 +00:00
Jim Kingdon
807e8368fa * stabs.texinfo: Document common blocks. 1993-06-19 00:45:34 +00:00
Jim Kingdon
3222c7d01c new files for riscos 1993-06-18 22:21:38 +00:00
Jim Kingdon
7f6175b4dc * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files. 1993-06-18 22:20:49 +00:00
Jim Kingdon
ee06f23011 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
* configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
1993-06-18 22:20:26 +00:00
Jim Kingdon
89e04499d1 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
	* configure.in (mips-sony-*): Use news-mips for host.
1993-06-18 21:49:24 +00:00
Jim Kingdon
b487ba2e77 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
	* configure.in (mips-sony-*): Use news-mips for host.
1993-06-18 21:39:27 +00:00
Steve Chamberlain
d4bbd6ace2 Make it work in subdirs. 1993-06-18 21:37:12 +00:00
David D. Zuhn
5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
Fred Fish
5e27ed65e2 Add note about endianess of the stabs-in-elf stabs binary data. 1993-06-18 19:24:44 +00:00
Fred Fish
cc4fb84844 * stabs.texinfo: Add some basic info about stabs-in-elf.
(this may require attention from a tex/texinfo wizard..)
1993-06-18 19:15:45 +00:00
Jim Kingdon
6ae55c65c8 * stabs.texinfo (Top): Minor cleanup. 1993-06-18 19:01:43 +00:00
Fred Fish
5c0e7bd6ef * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
	  avoid spurious xfails.
	* gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
	* gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
	* gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
1993-06-18 17:43:51 +00:00
Jim Kingdon
e64ec645a8 * buildsym.h: Doc fix for processing_acc_compilation. 1993-06-18 17:40:50 +00:00
Jim Kingdon
8715a9f36a * printcmd.c (print_formatted): Don't use tab in wrap_here arg. 1993-06-18 03:12:22 +00:00
Jim Kingdon
c9d8fc9120 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
with system headers.
	* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
	Use VPRINTF macro if defined.
	* config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
	Define TIOC{GETC,GLTC}_BROKEN.
	* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
	* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
	make things easier on munch (apparently this matters on
	the delta88 with svr3).
1993-06-18 02:33:01 +00:00
Jim Kingdon
fc61e9eeec * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
${srcdir}/../include.

	* config/m88k/xm-delta88.h: Comment out unused defines which conflict
	with system headers.
	* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
	Use VPRINTF macro if defined.
	* config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
	Define TIOC{GETC,GLTC}_BROKEN.
	* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
	* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
	make things easier on munch (apparently this matters on
	the delta88 with svr3).
1993-06-18 02:32:27 +00:00
David D. Zuhn
981dfa40c7 remove parentdir support 1993-06-18 01:00:13 +00:00
David D. Zuhn
c8fee4a53e canonicalize install.sh location 1993-06-18 00:35:08 +00:00
Jim Kingdon
d57528d1ce hand-edited 1993-06-17 23:20:46 +00:00
Steve Chamberlain
4ce149f970 Alpha host support. 1993-06-17 22:23:40 +00:00
Steve Chamberlain
7ccb1e4401 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
host.
	* sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
	wired (and wrong) constant.
	* values.c (unpack_long): Add case to unpack when target object is
	sizeof(int).
	* config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
	simulator defines.
1993-06-17 22:16:07 +00:00
K. Richard Pixley
21cc14d850 start tracking user visible changes 1993-06-16 23:13:57 +00:00
K. Richard Pixley
1c5d60496e rename user settable option from rpcTimeout to vxworks-timeout. 1993-06-16 23:11:46 +00:00
Fred Fish
53f0969be3 * Makefile.in (depend): More makefile diddling.
* alldeps.mak, depend:  Update to latest automatically built
	versions.
1993-06-16 21:34:42 +00:00
Fred Fish
3ef6f6045e * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
* alldeps.mak, depend:  Update to latest automatically built
	versions.
1993-06-16 19:28:19 +00:00
Roland Pesch
d55320a07b * gdb.texinfo (Copying): delete this node and references to it;
RMS says this manual need not carry GPL. (passim): Improvements
from last round at FSF, largely due to Ian Taylor review, and
minor formatting improvements.

* gdbinv-s.texi (passim): Improvements from last round at FSF,
largely due to Ian Taylor review. (Debug Session): minor edits to
new text.
1993-06-16 19:03:53 +00:00
Fred Fish
212f6219c8 * gdb.t00/teststrategy.exp: Rework to provide more useful
description of each test, fix problem with systems that define
	ALIGN_STACK_ON_STARTUP code, other misc cleanups.
	* gdb.t06/break.exp (test_next_with_recursion):  Fix expected
	results for "next over recursive call" so timeouts aren't taken
	by error.
1993-06-16 17:17:55 +00:00
David D. Zuhn
98a7278bc0 remove parentdir support 1993-06-16 00:01:46 +00:00
K. Richard Pixley
568947885c make rpcTimeout user settable 1993-06-15 19:28:40 +00:00
Jim Kingdon
4aadcb0210 add isi-xdep.c 1993-06-14 21:20:56 +00:00
Jim Kingdon
df0f0dcced * 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.
1993-06-14 20:50:12 +00:00
Jim Kingdon
bd50d1b077 * 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.
1993-06-14 19:23:37 +00:00
Jim Kingdon
c76f7bb7c1 * gdb.t12/scope.exp: Test printing of variables before run. 1993-06-14 16:43:24 +00:00
Jim Kingdon
3a6249b1fe * isi-xdep.c: New file.
* config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
1993-06-14 16:27:39 +00:00
Jim Kingdon
69dbdc0535 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
printed in wrong order due to sorting.
1993-06-14 16:17:30 +00:00
Jim Kingdon
f92d524939 * config/m68k/xm-news.h: Include <sys/param.h>. 1993-06-13 20:19:45 +00:00
Jim Kingdon
a1330c48fa * {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames. 1993-06-13 19:55:35 +00:00
Jim Kingdon
b397d5b8e1 * Makefile.in (realclean): Remove info and dvi files too. 1993-06-13 19:54:31 +00:00
Jim Kingdon
dbbf95081c * 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.
1993-06-13 19:41:01 +00:00
Jim Kingdon
198133b9a3 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
c->function.
1993-06-13 18:59:29 +00:00
Jim Kingdon
bc447a3931 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0. 1993-06-13 18:47:22 +00:00
Jim Kingdon
a5e6391b44 * 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 ().
1993-06-13 18:46:47 +00:00
Jim Kingdon
9748446f53 * 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).
1993-06-13 18:16:42 +00:00
Fred Fish
b025842760 Add .Sanitize file. 1993-06-13 18:08:35 +00:00
Jim Kingdon
ff56144ec8 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
Don't try to get the debug base yet.
1993-06-13 03:18:18 +00:00
Jim Kingdon
b0f61d04f6 * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
* printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
1993-06-13 02:32:05 +00:00
Jim Kingdon
8357834fbe * 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.
1993-06-13 02:26:18 +00:00
Jim Kingdon
361daf65ac * gdb.texinfo: Change accordingly. 1993-06-13 01:24:24 +00:00
Jim Kingdon
c15024ee51 * {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames.
* Makefile.in: Change accordingly.  gdb-config.texi -> gdb-cfg.texi.
1993-06-13 01:19:45 +00:00
Fred Fish
80af2bd319 * gdb.t00/teststrategy.exp: Fix expected results for printing
user entered string constant.  Is array of char, prints with no
	address.
1993-06-12 23:13:48 +00:00
Jim Kingdon
f0f4b04e1e * stabs.texinfo: Clean up N_{L,R}BRAC. Discuss what addresses of
N_{L,R}BRAC,N_SLINE are relative to.
1993-06-12 23:11:31 +00:00
Jim Kingdon
6e6656cc02 x 1993-06-12 22:13:44 +00:00
Jim Kingdon
7c86bda2a1 * 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.
1993-06-12 22:12:45 +00:00
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
David D. Zuhn
95a154617f * configure.in: change lynx support to CPU-*-lynxos*
* Makefile.in (subdir_do): change test from existence of directory
	to existence of Makefile (the directory may exist but not be configured)
1993-06-04 21:17:32 +00:00
Ian Lance Taylor
344ea7e937 * configure.in (mips-idt-ecoff*): Added trailing '*'. 1993-06-04 19:48:13 +00:00
Ian Lance Taylor
761d5a4bad * configure.in (mips-idt-ecoffl*): New target; use idtl.
(mips-idt-ecoff*): Added trailing '*'.
	* config/mips/idtl.mt: New file; like idt.mt, but little endian.
1993-06-04 19:47:49 +00:00
David D. Zuhn
3ffdec446c fix srctrigger to point to a file, not a directory 1993-06-04 18:09:23 +00:00
Ian Lance Taylor
b3523cb3ba * gdb.t11/list.exp: Fixed a couple of typos. 1993-06-04 15:24:33 +00:00
Stu Grossman
452b4b001f * ser-go32.c: Clean up lots of compilation nits. 1993-06-04 00:38:04 +00:00
Stu Grossman
e835b5e7fa * Patches from Jeffrey Law <law@cs.utah.edu>.
* hppab-nat.c: Eliminate unnecessary ifdefs for
	FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
	CANNOT_STORE_REGISTER.
	(fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
	* hppa-pinsn.c: Support 'I', 'J', and 'K' in output
	templates for 1.1 FP computational instructions.
1993-06-03 23:44:24 +00:00
Stu Grossman
463a71db70 Add gdbserver directory. 1993-06-03 15:44:56 +00:00
Stu Grossman
bd91ddd176 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
* alldeps.mak, depend:  Rebuild to account for ser-tcp.
	* config/sparc/sun4os4.mh:  Add ser-tcp to XDEPFILES.
1993-06-03 10:54:58 +00:00
Stu Grossman
f450d101ea * gdbserver/Makefile.in (gdbserver): Use -lbsd.
* gdbserver/remote-inflow{-sparc}.c (create_inferior):  Don't use a
	shell when running the child, as args have been expanded by the
	time we get here.  Simplify calling convention.
	* gdbserver/remote-server.c (main):  Use new calling convention
	for create_inferior, remove defunct code for coalescing argv.
	Remove extra calls to mywait(), as we no longer have to wade
	through a shell.
1993-06-03 10:52:57 +00:00
Stu Grossman
3af7fb94af * target.c (target_read_memory_partial): Don't deref errnoptr
when checking for null pointer.
1993-06-03 10:36:39 +00:00
Rob Savoye
7724524325 Add m68k-coff to ld so it'll work right. 1993-06-03 05:06:09 +00:00
Rob Savoye
01c0ed641e Removed board dependant stuff. 1993-06-03 04:53:46 +00:00
John Gilmore
2b5773496a * remote-es1800.c: Fix typo.
.Sanitize:  Add comments about what's getting deliberately ignored.
1993-06-03 02:59:50 +00:00
Rob Savoye
84aa54e2b4 Add these from DejaGnu so the testsuites compile for targets again. 1993-06-03 00:57:17 +00:00
Fred Fish
6edfa4877e * gdb.texinfo (set print elements): Note that the number of
elements is set to unlimited by "set print elements 0".
1993-06-02 05:48:52 +00:00
Fred Fish
68feeeedb7 * target.c (target_read_memory_partial): Like target_read_memory,
but does partial reads, such as reads that bump into the end of
	the address space.
	* target.h (target_read_memory_partial):  Add prototype.
	* valprint.c (PRINT_MAX_DEFAULT):  New define, initial value 200.
	* valprint.c (val_print_string):  Complete rewrite to fix bug with
	bumping into end of memory, avoiding unnecessarily long reads, and
	fixing bug when print_max is set to 0 (unlimited print length).
	* valprint.c (_initialize_valprint):  Use PRINT_MAX_DEFAULT to
	initialize print_max.
1993-06-02 04:57:17 +00:00
Fred Fish
46fc723ce3 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
is fixed and PR is closed.
	* gdb.t16 (gdbme.c):  Add simple test string variable.
	* gdb.t16 (printcmds.exp):  Add tests with simple test string
	variable, primarily for boundaries on "set print elements".
1993-06-02 04:35:13 +00:00
Rob Savoye
c112834044 * configure.in: Add support for rom68k and bug boot monitors. 1993-06-02 00:15:39 +00:00
Rob Savoye
d7df19a6c3 These got lost somehow. 1993-06-01 05:22:50 +00:00
Rob Savoye
e535e37532 Add info and install-info targets. 1993-06-01 01:42:24 +00:00
Jim Kingdon
6119aeebea * printcmd.c (print_scalar_formatted): Print integers bigger than
LONGEST in hex no matter how big, and no matter what the format
	and size.
1993-05-31 21:09:04 +00:00
Jim Kingdon
6a51601ee9 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
Make leading 0's optional and don't expect a tab in the middle
	of the number.
1993-05-31 21:08:21 +00:00
Jim Kingdon
36bcda7958 * stabsread.c (read_type): Skip type attributes if present. 1993-05-31 20:14:59 +00:00
Jim Kingdon
05b4279b30 CVS:foo
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.

	* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
	* gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
	don't end command passed to gdb_test with newline.
1993-05-31 20:13:49 +00:00
Jim Kingdon
bfcba962cb * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
	* gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
	don't end command passed to gdb_test with newline.
1993-05-31 20:13:31 +00:00
Jim Kingdon
942a6600ea * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
signed keyword away, don't expect signed bitfields to be signed.

	* gdb.t13/bitfields.exp (bitfield containment): Accept the fields
	printing with only as many 1's as are in the field as well as printing
	with 32 1's (see comment).
1993-05-31 19:10:29 +00:00
Jim Kingdon
574a2a49b7 * stabsread.c (read_huge_number): Don't accept '0' + radix as part
of number, just through '0' + radix - 1.
1993-05-31 18:08:56 +00:00
Jim Kingdon
ded6bcab5c * stabs.texinfo (Builtin Type Descriptors): Try to clarify what
NF_LDOUBLE means.
	(Stab Types): Include Solaris stab types.
	(Procedures): Document Solaris extensions.
1993-05-31 16:32:16 +00:00
Fred Fish
5debf76d5b Keep ChangeLog-92 1993-05-31 06:04:59 +00:00
Fred Fish
5e7861832d Add gdb.stabs to keep and gdb.all to remove. 1993-05-31 06:04:29 +00:00
Fred Fish
d64b05a921 Add config.rel.in and makefile.rel.in 1993-05-31 06:04:00 +00:00
Fred Fish
a09acbdad3 Change snapshot.readme to snapshots.readme 1993-05-31 06:03:21 +00:00
Fred Fish
d8722135c0 Change udiphsun.h to udiphunix.h. 1993-05-31 06:02:33 +00:00
Fred Fish
8f1cc6c6ff * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o. 1993-05-31 03:40:06 +00:00
Fred Fish
c701c14c41 * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
single parameter, the pointer to the partial symtab, rather than
	a bunch of args that are derived from the partial symtab.  Change
	prototypes and callers to match.
1993-05-31 00:21:41 +00:00
Fred Fish
2707b48a61 * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
set demangling style automatically.
	* defs.h (CPLUS_MARKER):  Clarify comment that this is only for
	GNU C++, not C++ in general.
	* symtab.h (general_symbol_info):  Simplify by eliminating one
	structure level for the language dependent info.
1993-05-30 22:41:52 +00:00
Fred Fish
88db2febc8 * gdb.t00/default.exp: Start with a fresh gdb. 1993-05-30 01:33:31 +00:00
Fred Fish
dd294fc006 * configure.in (configdirs): Remove gdb.t31 until the chill
compiler works again.  It no longer is able to find chillrt0
	since it isn't in libchill.a anymore.
1993-05-30 01:14:47 +00:00
Fred Fish
150ab4401d * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
wierd.o, make more modular.
1993-05-30 01:09:32 +00:00
Fred Fish
35c254be70 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
spurious newlines that caused problems.
1993-05-30 00:58:55 +00:00
Fred Fish
86e3a5e40f * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
	TYPE_CODE_ENUM was already testing for this.
1993-05-30 00:03:59 +00:00
Stu Grossman
69b2f0fe81 Use getprotobyname instead of hardwired number (in tcp_open). 1993-05-29 03:14:45 +00:00
Stu Grossman
22aa3d61b8 Add README. 1993-05-29 02:36:03 +00:00
Stu Grossman
17f087a80c Doc for gdbserver! 1993-05-29 02:31:00 +00:00
Stu Grossman
4d551aa31d Add ser-tcp.c. 1993-05-29 01:33:55 +00:00
Stu Grossman
38dc5e123f * Makefile.in: Add new file ser-tcp.c.
* defs.h (memcmp):  Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
	* findvar.c (write_register):  See if we are writing back the same
	value that's already in the register.  If so, don't bother.
	* remote.c (putpkt, getpkt):  Improve handling of communication
	problems.
	* ser-go32.c:  Prototype it to death.  Update serial_ops and add
	dummy routines where appropriate.
	* ser-tcp.c:  New module to implement serial I/O via TCP
	connections.
	* ser-unix.c:  Clean up getting/setting of tty state.  Get rid of
	SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
	* serial.c:  Add start of support for connect command.
	(serial_open):  Distinguish between tcp and local devices.
	* serial.h (struct serial_ops):  Get rid of restore, add
	get_tty_state and set_tty_state.  Define protoypes and macros for
	this mess.
	* gdbserver/remote-utils.c:  Add tcp support.  (readchar):  Do
	some real buffering.  Handle error conditions gracefully.
	* gdbserver/remote-inflow-sparc.c:  Update to remote-inflow.c
	(Lynx), remove lots of cruft.
1993-05-29 01:33:36 +00:00
David D. Zuhn
633c8b0a9d * printcmd.c (print_address_symbolic): turn this into an assigment
instead of an initialization (many compilers don't accept
	structure initialization).
1993-05-29 00:26:49 +00:00
Rob Savoye
47a488df26 Add a blank install target so the top level makefile won't die. 1993-05-28 04:31:51 +00:00
Jim Kingdon
860b4da38b * xcoffread.c (read_xcoff_symtab): If several program csects in one
source file, give them all the name of the source file, rather than
	the 2nd and subsequent ones having NULL names.
1993-05-27 22:06:12 +00:00
Peter Schauer
37ff799b81 * gdb.texinfo: Add `set print symbol-filename' doc. 1993-05-27 13:23:56 +00:00
Peter Schauer
b7ccd8e069 * printcmd.c (print_address_symbolic): Append source filename and
linenumber of the symbol if print symbol-filename is on.
	(initialize_printcmd):  `set print symbol-filename'.
1993-05-27 13:19:26 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Stu Grossman
6a936870d6 Remove debugging stuff... 1993-05-26 22:23:56 +00:00
Jim Kingdon
a03f27c32c misc fixes 1993-05-26 22:15:49 +00:00
Stu Grossman
799d5b6a5b Sparc version of remote-inflow.c. Hasn't been made portable yet. 1993-05-26 21:47:57 +00:00
Stu Grossman
b8f64f2068 Keep appropriate files in gdbserver directory. 1993-05-26 21:47:00 +00:00
Stu Grossman
5fa46c427a * configure.in: Add config for Lynx target. Configure gdbserver
only for Lynx.  Re-do selective configuration of sparclite.
1993-05-26 20:55:47 +00:00
Stu Grossman
e20520b8f9 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
configure.in remote-inflow.c remote-utils.c}:  New files to
	support GDB remote server.  Currently only works for Lynx.
1993-05-26 20:49:21 +00:00
Stu Grossman
185a1705bb blah blah blah 1993-05-26 20:48:44 +00:00
Jim Kingdon
5bd22ca87b * Move test with enums and partial symbols from gdb.t03/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
1993-05-26 20:06:59 +00:00
Jim Kingdon
12a0960387 * Move test with enums and partial symbols from gdb.t02/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
	gdb.stabs/wierd.{exp,def}: Many new tests.
1993-05-26 20:04:50 +00:00
Jim Kingdon
3d4cf72099 formatting fixes 1993-05-26 18:16:28 +00:00
Jim Kingdon
ee59134ee7 * stabs.texinfo (Arrays): Talk about type definition vs. type
information.
1993-05-26 17:20:50 +00:00
Jim Kingdon
59d69506fb * stabsread.c (define_symbol, case 't'): Only set the name if it
is not a pointer type.

	* stabsread.c (define_symbol): Clean up logic; move the read_type
	calls to inside the switch statement (this improves the error
	handling).
1993-05-26 17:17:02 +00:00
Jim Kingdon
18ef91468f * gdb.t00/default.exp: update info line for new message.
* gdb.t02/{whatis.exp,gdbme.c}:
	Test that "char *" doesn't print as "caddr_t".
1993-05-26 17:06:40 +00:00
Jim Kingdon
3a594d72e5 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
common blocks.
1993-05-26 15:33:07 +00:00
Jim Kingdon
466bdeb266 minor fixes (e.g. typos). Update table of non-stab values for n_type 1993-05-26 06:09:53 +00:00
Jim Kingdon
e9f687d59b * stabs.texinfo (Builtin Type Descriptors): Talk about omitting
the trailing semicolon.
1993-05-26 05:30:12 +00:00
Jim Kingdon
8abe819439 punctuation fixes 1993-05-26 05:24:25 +00:00
Jim Kingdon
43795ece80 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
* source.c (line_info): Change "pc" to "address" in messages and
	use print_address for addresses.
1993-05-26 04:56:02 +00:00
Jim Kingdon
2f2a70e585 * source.c (line_info): If we don't find a symtab, print more useful
output, including the symbolic address.
1993-05-26 04:29:38 +00:00
Jim Kingdon
b9298844e5 * source.c (line_info): If --fullname, display the source.
(identify_source_line), callers: Take pc as argument, rather than
	assuming innermost frame (emacs doesn't use this, so no one ever
	noticed).
	* symtab.h: Declare frame_file_full_name.
	* main.c: Don't.
1993-05-26 03:27:32 +00:00
Rob Savoye
b64d5e491a configure.in template that supports *only* make check. (for releases) 1993-05-26 01:55:00 +00:00
Rob Savoye
2a775d5158 Makefile fragment that supports *only* make check. (for releases) 1993-05-26 01:44:49 +00:00
Jim Kingdon
63cef7d78f * stabs.texinfo (Line Numbers, Source Files): Re-write these two nodes
and merge in other parts of the document addressing these subjects.
	gdbint.texinfo (XCOFF): Remove info which is now in stabs.texinfo.
1993-05-26 01:31:02 +00:00
Brendan Kehoe
aea2312bde * breakpoint.c (catch_command_1): Fix typo in error msg. 1993-05-25 22:31:38 +00:00
Ken Raeburn
6b346f512e elf, bfd_vma-cast changes 1993-05-25 20:22:09 +00:00
Ken Raeburn
2084a17668 * elfread.c (elf_symfile_read): Update ELF structure and routine
names to specify 32-bit versions.
(elf_symtab_read): Retrieve size field directly from symbol,
instead of using old kludge.
1993-05-25 20:21:06 +00:00
Ken Raeburn
337fd0067c print_insn_* routines want bfd_vma, not CORE_ADDR 1993-05-25 20:12:59 +00:00
Jim Kingdon
29b34f10a9 * gdb.t00/help.exp: Use .* in place of some help messages which
just changed.
	gdb.t00/default.exp: Update "info frame" test for new message.
	* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
	Remove some xfails
1993-05-25 19:57:38 +00:00
Jim Kingdon
8cfe3bebde * stabs.texinfo (Subranges): "A offset" and "T offset" are not
AIX extensions.
1993-05-25 19:56:22 +00:00
Jim Kingdon
ea753d03d6 * stabsread.c: Remove all uses of error(). Make error_type and
read_type_number static.
	(define_symbol): Don't try to deal with a missing symbol
	descriptor which isn't followed by digit, '(', or '-'.
	* stabsread.h: Don't declare read_type_number here.
	* gdbtypes.h: Don't declare error_type here.
	* xcoffread.c: Remove NO_TYPEDEFS code.
1993-05-25 19:39:41 +00:00
Jim Kingdon
2d10304ee6 x 1993-05-25 19:35:02 +00:00
Jim Kingdon
16b00357e8 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
1993-05-25 19:32:19 +00:00
Ian Lance Taylor
619ccb2426 * mips-tdep.c: Removed #include of many header files, and #define
of MIPSMAGIC; no longer used.
1993-05-25 16:37:53 +00:00
Jim Kingdon
6fe90fc83f * Many places: replace "the inferior" in messages with "the program"
or "the program being debugged".
	* inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
	and I'm getting sick of maintaining it.
1993-05-25 16:22:41 +00:00
Jim Kingdon
30ffb593f8 * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.

	* config/i386/go32.mh: Define SER_HARDWIRE.
	* Makefile.in: Define SER_HARDWIRE.
	(DEPFILES): Use it.
	(alldeps.mak): Add SER_HARDWIRE.
	Remove all references to ser-hardwire.{c,o}.
	* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
1993-05-25 15:47:28 +00:00
Jim Kingdon
fd382d28ef * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.

	* config/i386/go32.mh: Define SER_HARDWIRE.
	* Makefile.in: Define SER_HARDWIRE.
	(DEPFILES): Use it.
	(alldeps.mak): Add SER_HARDWIRE.
	Remove all references to ser-hardwire.{c,o}.
	* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
1993-05-25 15:41:49 +00:00
Peter Schauer
1b71de8ea4 * sparc-nat.c (store_inferior_registers): Fill in all members of
inferior_fp_registers by reading them from the inferior before
	modifying and writing them back.
	Fixes unexplainable inferior FP exceptions after calls to the inferior
	or setting of floating point registers.
	* mips-tdep.c (mips_skip_prologue):  Skip move of argument register
	to register which is generated by gcc-2.4.
1993-05-25 06:52:54 +00:00
Ken Raeburn
3b17ee1bad try to make hppa opcode table, updated for gas, still be compatible with gdb 1993-05-25 04:46:09 +00:00
David D. Zuhn
8a6d5d4f93 INFO-DIR-ENTRY formatting tweaks 1993-05-24 22:33:43 +00:00
Stu Grossman
c0ab114cd6 Add lynx files. 1993-05-24 21:05:43 +00:00
Stu Grossman
8e481e13e2 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
xm-i386lynx.h}:  New configuration for Lynx.
1993-05-24 20:58:41 +00:00
Fred Fish
225501b7d8 * snapshots.readme: Clarify when obvious and non-obvious bugs
should be reported.
1993-05-24 18:10:14 +00:00
Jim Kingdon
87c942a80c * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
* symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
1993-05-24 16:45:16 +00:00
Jim Kingdon
46351197fc * stabs.texinfo (Stabs Format): Misc fixes. 1993-05-24 16:33:12 +00:00
Jim Kingdon
8789d972a3 * c-typeprint.c (c_type_print_base): Don't print typedef'd names
as struct, union, or enum tags.
1993-05-24 15:44:12 +00:00
Jim Kingdon
c6d700126c * gdb.t03/{gdbme.c,ptype.exp}:
Add tests for typedef'd struct and union without tags.
1993-05-24 15:34:49 +00:00
Peter Schauer
8537c754ba * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
executable.
1993-05-24 08:11:47 +00:00
Jim Kingdon
f43c2f0581 x 1993-05-24 06:37:08 +00:00
Jim Kingdon
e726f3b519 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
PRMS 1823; the bug still exists but isn't reproduced by this test
	anymore), and remove rs6000 XFAIL (the bug is fixed).

	* gdb.t03/ptype.exp: Comment out a lot of tests which are basically
	duplicated from whatis.exp.  For those that are left, accept
	"long", "long int", or "int" for long variables (whatis.exp already
	has an XFAIL for "int", so no need to fail it here).

	* gdb.t02/whatis.exp, gdb.t10/crossload.exp:
	Deal with GCC's names for types now that GDB uses the compiler's names.

	* gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
	setup_xfail's for sunos4.  If we #defined the signed keyword away,
	don't expect GDB to know that char it is signed.

	* gdb.t00/teststrategy.exp: Update for symbolic signal names.
1993-05-24 06:29:48 +00:00
Rob Savoye
a1092b5df4 Fix bug in how GDB gets set that chokes runtest *only* using /bin/sh. 1993-05-23 22:21:17 +00:00
Fred Fish
0b3c22dfbb * configure.in (configdirs): Add gdb.t24 for C++ tests that
should work on any system, regardless of debugging format.
	* gdb.t21/demangle.exp:  Move to gdb.t24.
	* gdb.t24/demangle.exp:  Move from gdb.t21.
	* gdb.t24/{Makefile.in, configure.in}:  New files.
1993-05-23 15:49:17 +00:00
Jim Kingdon
2632d6dff0 * infrun.c (wait_for_inferior),
infcmd.c (program_info, signal_command):  Use symbolic signal names.
1993-05-22 22:46:46 +00:00
Jim Kingdon
6b82a761cb * inftarg.c (child_wait): Deal with EINTR and include message from
strerror if printing an error message.

	* main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
1993-05-22 20:49:04 +00:00
Jim Kingdon
c778826d74 x 1993-05-22 19:47:55 +00:00
Jim Kingdon
f52bde21f9 * stabsread.c: Remove most uses of lookup_fundamental_type.
(define_symbol): Use read_type for type of enum constant,
	not just read_type_number.  Also don't call error().
	(define_symbol): For unrecognized constant type, one complaint (the
	one from error_type) is	enough.  Don't make our own in addition.
	(define_symbol): Don't treat an N_FUN 'R' as a prototype.
	* gdbtypes.h: Doc fixes.
1993-05-22 19:20:37 +00:00
Jim Kingdon
1d3f5383e2 Remove <<<< stuff from CVS. Not sure how it got here 1993-05-22 18:29:17 +00:00
Jim Kingdon
b273dc0f02 * stabs.texinfo (Constants): Allow an `e' constant to be non-enum.
(Traditional builtin types): Document convex convention for long long.
	(Negative builtin types): Discuss type names, and misc fixes.
1993-05-22 18:27:12 +00:00
Peter Schauer
b5ec0a8e8a * config/mips/tm-irix3.h: Add sigcontext offsets for Irix. 1993-05-22 10:35:55 +00:00
Peter Schauer
7cf92dd250 Fix stack unwinding through _sigtramp on Irix. These patches are from
Paul Flinders <ptf@delcam.co.uk>.
	* mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
	executable uses sigvec.
	* mips-tdep.c (read_next_frame_reg): Allow tm-file to override
	sigcontext offsets.
	* config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
1993-05-22 10:34:47 +00:00
Peter Schauer
101b7f9ca5 * infrun.c (wait_for_inferior): Clear stop_signal if it should not
be passed to the inferior to make "handle <signal> nopass nostop" work.
1993-05-22 07:40:40 +00:00
Peter Schauer
ac8cf67dca * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
the necessary bits.
	* findvar.c (value_from_register): Fix uninitialized first_addr
	which caused problems with assignment of doubles to register variables
	on some targets.
	* mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
	missing mips definitions if necessary.

	Fix handling of double register variables for mips targets and big
	endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
	* config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
	  8 bytes for doubles.
	* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
	  conversion of type held in multiple registers to host format.
	* config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
	  companion to REGISTER_CONVERT_TO_TYPE.
	* config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
	  Convert to function calls.
	* config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
	  mips targets.
	* mips-tdep.c (mips_print_register): Raw buffer now needs just
	  MAX_REGISTER_RAW_SIZE bytes.
	* mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
	  (if defined) for doubles.
	* mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
	  New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
	* valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
	  defined.
	* findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
	  defined.
1993-05-22 07:26:25 +00:00
Jim Kingdon
e23a689677 ISC changes 1993-05-21 22:17:31 +00:00
Jim Kingdon
5e27c0544a fix typo 1993-05-21 20:44:43 +00:00
Jim Kingdon
b646b43826 * complaint.c: Make sure all complain() pass the address of the struct.
* xcoffread.c: Make sure all struct complaints are static not auto.
1993-05-21 20:43:16 +00:00
Sean Eric Fagan
d0e1e015dc Slight changes for the 29k-udi target. 1993-05-21 18:32:01 +00:00
Sean Eric Fagan
f2e349a242 Change the configuration, for target 29k-udi, a little bit. 1993-05-21 18:07:23 +00:00
Sean Eric Fagan
31589e1ec0 Change the configuration a little bit. 1993-05-21 18:06:53 +00:00
Sean Eric Fagan
e13f0d9e35 Renamed the udi "sun"-host file to a "unix"-host file. These are necessary
support changes.
1993-05-21 17:58:36 +00:00
Sean Eric Fagan
976a7ee0b7 Changed the configuration scheme a bit, to be saner, cleaner, etc.
Also, the so-called sun-dependent files were not very sun-dependent,
so renamed it to "unix."
1993-05-21 17:51:50 +00:00
Sean Eric Fagan
498ca01db7 Renamed it to "udiphunix.h". 1993-05-21 17:50:43 +00:00
Jim Kingdon
b1285bd9eb Further revisions (for xcoff mostly) to test case logged in ChangeLog yesterday 1993-05-21 16:40:05 +00:00
Jim Kingdon
1a8b566849 * stabs.texinfo (Builtin Type Descriptors): Document the floating
point types used with @samp{R} type descriptor.
	(Symbol Descriptors): Describe how to handle conflict between
	different meanings of @samp{P} symbol descriptor.
1993-05-21 16:29:24 +00:00
Jim Kingdon
c41e08c472 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
* xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
1993-05-21 14:42:14 +00:00
Jim Kingdon
7326242025 * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol. 1993-05-21 14:08:17 +00:00
Jim Kingdon
e18faa8ab9 * configure.in: Do gdb.stabs and C++ tests only for stabs. 1993-05-21 01:32:23 +00:00
Jim Kingdon
1458f956e9 New directory 1993-05-21 01:31:26 +00:00
Jim Kingdon
8c59ee1150 * stabs.texinfo: Remove node Quick Reference and put its children
directly under the main menu.

	* stabs.texinfo: Many more changes to bring it into line with
	AIX documentation and reality.  I think it now has all the
	information from the AIX documentation, except that I burned
	out when I got to variant records (Pascal and Modula-2) and
	all the COBOL types.  Oh well, we can add them later when we're
	worrying more about those languages.

	* stabs.texinfo (Automatic variables): Talk about what it means
	to omit the symbol descriptor.
1993-05-20 18:41:17 +00:00
Jim Kingdon
2c6af8c021 x 1993-05-20 00:37:32 +00:00
K. Richard Pixley
ee3d350d13 fixed typo in tm-m68k.h 1993-05-19 22:48:25 +00:00
K. Richard Pixley
80ddbedc45 fix typo 1993-05-19 22:44:08 +00:00
Stu Grossman
f3fe87c79e * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE. 1993-05-19 22:43:06 +00:00
Jim Kingdon
5b40415c63 * Makefile.in (INSTALLED_LIBS): New variable. 1993-05-19 17:56:18 +00:00
Jim Kingdon
8ce07a211b * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
not just "Quit anyway?".
1993-05-19 03:29:10 +00:00
Jim Kingdon
94d5034070 * main.c (quit_command): In the "quit anyway?" message, tell the user
whether we are planning to detach or kill the program.
	* config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
	not just "Quit anyway?".
1993-05-19 02:17:38 +00:00
Jim Kingdon
cdaa790509 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
* config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
1993-05-19 02:01:05 +00:00
Jim Kingdon
15f7860275 * infcmd.c (read_pc): Doc fix. 1993-05-19 01:25:43 +00:00
Jim Kingdon
511933e73b * printcmd.c (print_address_symbolic): Use %u not %d for offset. 1993-05-19 01:20:09 +00:00