Commit Graph

5283 Commits

Author SHA1 Message Date
Peter Schauer
24d45a6319 * valops.c (value_cast): A cast might also change the object
representation in C++.
	* dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
	to get the proper read_symtab function when called from mipsread.c.
	* mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
	Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
	for dummy psymtabs, inhibit processing of dummy psymtabs.
1993-04-25 09:33:49 +00:00
Jim Kingdon
87237c5250 * Changes from (or inspired by) AMD:
* remote-udi.c (udi_attach): Assignments to Space and Offset were
	switched, fix it.
	(udi_wait): Make error message (UDIGetStdout) match error.
	(udi_wait): Handle UDIStdinNeeded.
	* command.c [CANT_FORK]: Use system().
	* utils.c (prompt_for_continue): Allow quit with 'q'.
1993-04-25 04:49:34 +00:00
Jim Kingdon
2fd0e26cde * a29k.h: Define _LIT. 1993-04-25 04:47:10 +00:00
Jim Kingdon
35d835c405 * coffcode.h [_LIT]: Recognize .lit section. 1993-04-25 04:45:31 +00:00
Jim Kingdon
8cba9703cd * solib.c (solib_add): Don't call special_symbol_handling if there
were errors in symbol_add_stub.  Also set so->from_tty before
	calling symbol_add_stub.
1993-04-25 03:02:32 +00:00
Steve Chamberlain
5f8f6d56f2 Support for the alpha 1993-04-24 02:10:09 +00:00
K. Richard Pixley
b6423cec40 switch from configuration from subdirs to configdirs 1993-04-24 01:16:18 +00:00
David D. Zuhn
e13fa011e2 default is the tree supports X11 1993-04-24 01:08:35 +00:00
Roland Pesch
a64a6c2b7d gdbinv-s.texi, gdb.texinfo: include Hitachi SH target
gdb.texinfo: advance manual revision dates to present

gdbinv-s.texi, gdb.texinfo, all-config.texi, h8-config.texi:
stop using silly Roman numerals in @set variable names
1993-04-24 00:29:01 +00:00
Stu Grossman
9a5e3a9ac5 * Merge in HPPA/BSD changes from Utah.
* hppa.c:  Use this for both HPUX & BSD.
	* targets.c:  Enable hppa_vec for both HPUX & BSD.
	* config/hppabsd.mt:  TDEFINES => TDEFAULTS.
	* hosts/hppabsd.h:  #define HOST_HPPABSD.
1993-04-24 00:00:41 +00:00
Stu Grossman
66a1aa071e * Merge in HPPA/BSD patches from Utah:
* defs.h:  Add const to 2nd arg of psignal prototype.
	* hppah-tdep.c:  Renamed to hppa-tdep.c 'cuz it's common code with
	BSD now.
	* hppab-core.c:  Deleted.  No longer useful.
	* hppab-nat.c:  #include more files.  Use PT_WUREGS, not
	PT_WRITE_U.
	* hppab-tdep.c:  Deleted.  Supplanted by hppa-tdep.c.
	* config/pa/hppabsd.mh (NATDEPFILES):  Remove hppab-core.o.
	* config/pa/hppabsd.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/hppahpux.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/xm-hppab.h:  #define SET_STACK_LIMIT_HUGE.
1993-04-23 23:43:18 +00:00
Stu Grossman
b5728692b4 * Fix two bugs found by deja-gnu. One is the incorrect reporting
of the PC being in a stack dummy when looking at a core file
	without symbols.  The other is the incorrect passing of char
	arguments during expression evaluation (ie: p foo('a','b') would
	mess up the passing of it's args because it wasn't coercing the
	char's to ints).
	* hppah-tdep.c:  Rename global functions to have consistent hppa_
	prefix.  Make more functions static.  Drop hp_ prefix from static
	functions.  (hppa_push_arguments):  Call value_arg_coerce to cast
	char to int args if necessary.  (hppa_fix_call_dummy):  Create
	this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
	* inferior.h (PC_IN_CALL_DUMMY):  Check for frame_address being
	valid (ie: != 0) before doing comparison against PC.
	* valops.c (call_function_by_hand):  Adjust call to FIX_CALL_DUMMY
	to reflect new arguments.
	* config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS):  Use new hppa_
	prefix for func	name.  (FIX_CALL_DUMMY):  Move code into
	hppah-tdep.c.

	* testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c:  Add calls
	to malloc() so that we can test GDB eval of dynamically created
	arrays (like char strings in `print "foo"').
1993-04-23 18:01:02 +00:00
Jim Kingdon
c156f3c1c9 more on Parameters 1993-04-23 16:27:10 +00:00
Jim Kingdon
9c5c272236 Doc fixes to previous doc fixes. 1993-04-23 15:12:25 +00:00
Jim Kingdon
ed9708e289 * stabs.texinfo (Parameters): Keep trying to get this right. 1993-04-23 14:51:06 +00:00
Jim Kingdon
a2a2eac845 * stabs.texinfo (Parameters): Keep trying to get this right. 1993-04-23 14:51:03 +00:00
Peter Schauer
7586127f7e * printcmd.c (print_address_symbolic): Search symtabs as well as the
minimal symbols for a nearby symbol.
1993-04-23 08:42:03 +00:00
John Gilmore
158a071143 Comment changes around minimal symbol recording. 1993-04-23 02:46:00 +00:00
K. Richard Pixley
4c16b95752 document FRAME_SAVED_PC and FRAME_CHAIN. 1993-04-22 23:38:30 +00:00
K. Richard Pixley
f936e20d33 comment changes only 1993-04-22 23:34:57 +00:00
K. Richard Pixley
3127785acd * mips-tdep.c (heuristic_fence_post): new static variable.
(heuristic_proc_start): use heuristic_fence_post, print better
	  warnings, but only if not stop_soon_quietly.
	  (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
1993-04-22 23:32:33 +00:00
Jim Kingdon
5afa2040f4 Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
* symtab.h: Fix LOC_REF_ARG comment.

Wed Apr 22 20:21:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
			  and Jim Kingdon (kingdon@cygnus.com)

	* stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
	LOC_REGPARM symbol.
	* config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
	symfile.c (compare_symbols): Don't check first character; STRCMP
	does that.

	* stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
	structures that are passed by address in a register.
	* symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
	* findvar.c (read_var_value),
	printcmd.c (address_info, print_frame_args),
	stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
	* symtab.c (lookup_block_symbol): Deal with it.
1993-04-22 22:27:25 +00:00
Jim Kingdon
4365c36c9b * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
Add objfile field.
	* objfiles.c (find_pc_section): Return a struct obj_section *.
	* sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
	* symfile.c (syms_from_objfile) [IBM6000_TARGET]:
	Don't use obj_section hack.
	* xcoffexec (vmap_symtab): Relocate obj_sections.
	* printcmd.c (containing_function_bounds): Use find_pc_section.
1993-04-22 20:42:37 +00:00
Fred Fish
87fe2d9df2 Save the README file for gdb snapshots here for now. Make note in
the .Sanitize file that snapshots.readme is explicitly not kept by
default.
1993-04-22 18:31:36 +00:00
Jim Kingdon
fce30fa15e * symtab.h: Clean up SYMBOL_VALUE comments. 1993-04-22 16:12:31 +00:00
Ian Lance Taylor
5959dcea09 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
works.
1993-04-22 15:33:31 +00:00
Ken Raeburn
cf34526247 makefile.in change 1993-04-22 06:59:58 +00:00
Ken Raeburn
394ad6586e add rule for building snapshot of gas+ld+binutils 1993-04-22 06:57:37 +00:00
Ken Raeburn
10f7b933f5 keep new utility scripts 1993-04-22 06:42:47 +00:00
Ken Raeburn
b1ad8e76bb keep new test cases 1993-04-22 06:42:06 +00:00
Ken Raeburn
469144a2dc keep change log 1993-04-22 06:39:49 +00:00
Ken Raeburn
7e97646ef8 version.c is gone 1993-04-22 06:39:01 +00:00
Rob Savoye
fff5d9ed97 Remove so cvs -P will work right. 1993-04-22 05:02:03 +00:00
Rob Savoye
fc81b8baaa Moved the only file to dejagnu/lib, so this is empty. 1993-04-22 04:47:38 +00:00
Rob Savoye
a0aabdf178 Moved to dejagnu/lib since it's now real generic. 1993-04-22 04:46:46 +00:00
Rob Savoye
e0ba174efd Updated since all the init module names changed. 1993-04-22 04:45:31 +00:00
Rob Savoye
11fdc75ce6 hange nm.all to binutils.all. Remove chill stuff. 1993-04-22 04:42:37 +00:00
Rob Savoye
fdee169611 Add testsuite directory. 1993-04-22 04:38:31 +00:00
Jim Kingdon
fc312cc6f9 revise comment for last change 1993-04-22 04:05:51 +00:00
Jim Kingdon
98ef6f3188 * stabs.texinfo (Parameters): More on "local parameters". 1993-04-21 22:21:41 +00:00
Jim Kingdon
31258e4f6f * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
Expand comments about LOC_ARG/LOC_LOCAL pairs.
1993-04-21 22:20:53 +00:00
Jim Kingdon
f2c365f517 * coffread.c (read_coff_symtab): Use rewind before fseek. 1993-04-21 21:49:07 +00:00
Per Bothner
32d8a6d3e4 * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
* Makefile.in:  Add $(YFLAGS) when using $(YACC).
	* Makefile.in:  Remove message to expect conflicts and unused
	rules in ch-exp.y, since there no longer are any such.
1993-04-21 21:29:03 +00:00
David D. Zuhn
1b5c6c0542 fix stabs.texinfo xref bugs 1993-04-21 20:29:16 +00:00
John Gilmore
236e2916a4 Update to match bfd changes. 1993-04-21 09:36:51 +00:00
John Gilmore
5e6d9f49be * libbfd.c: Whitespace changes around byteswap macros.
* libbfd-in.h:  Whitespace changes around byteswap declarations.
1993-04-21 09:31:42 +00:00
Ken Raeburn
0d0ae7fac7 Handle new tests, and new testing modes.
Now gas_test accepts an argument listing options to be tried, individually
or in combination, and whether output should be expected.
Proc gas_test_error says output should be expected.
Still not checking exit status properly, though.
1993-04-21 05:36:56 +00:00
Ken Raeburn
44f0847aba The customer's test case is p2430a.s; p2430.s has different whitespace,
comments, who knows what else, but something makes them different.  This
should be checked by the driver, because they shouldn't be different...
1993-04-21 05:30:13 +00:00
Ken Raeburn
2b55fa7fb9 use %-form, so test can be run on m68k-coff too 1993-04-21 05:25:36 +00:00
Ken Raeburn
db4e0f90ba Get version string from config.h now.
Fix several functions to compile under traditional C.  Deleted _doprnt.
Moved some VMS-specific code here from ../symbols.c.
1993-04-21 04:54:05 +00:00