Commit graph

2688 commits

Author SHA1 Message Date
Fred Fish
3624c87592 Mostly changes to dbxread.c to preserve stringtab's on a per-objfile
basis, for use in expanding psymtabs to full symtabs.  See ChangeLog
for other details.
1992-03-27 01:04:14 +00:00
John Gilmore
17904eeb4d Set MINIMIZE to 0 for a real release. 1992-03-27 01:00:58 +00:00
Per Bothner
9efdc2feaa * rs6000-pinsn.c: Make dis-assembly output more like
other targets:  Don't print instruction in hex before
	the assembly;  use print_address to print out jump
	destinations.
1992-03-26 21:22:50 +00:00
Per Bothner
04f27ddc6d * c-exp.y, gdbtypes.h: Add builtin_type_signed_char.
* cplus-dem.c:  Support "Sc" meaning "signed char".
1992-03-26 08:33:43 +00:00
Stu Grossman
88f36033ee * configure.in: fix iris/iris3. 1992-03-25 23:22:47 +00:00
Per Bothner
5c71cf23f9 * command.c, main.c (various places): Use ctype.h macros
(such as isupper(x)),  instead of hard-wiring in ASCII-isms
	(such as (x >= 'A' && x <= 'Z')).
	(There are still more of these in other files.)
	* main.c (defined_command):  Lower-case the user's
	new command before entering it.  Needed because
	command lookup is case-insensitive (and also lower-cases).
	(Based on Metin's earlier patch.)
1992-03-25 23:07:16 +00:00
John Gilmore
c6b5156357 * history.c (stifle_history): Negative arg treated as zero. 1992-03-25 18:47:09 +00:00
K. Richard Pixley
88578a2a10 re-add -rm 1992-03-25 18:34:46 +00:00
K. Richard Pixley
787bc4fe9f aix and irix4 support. 1992-03-25 07:52:24 +00:00
K. Richard Pixley
e855b0f8a8 add stamp-rcs to all 1992-03-25 07:51:57 +00:00
K. Richard Pixley
b4e2a59bef remove gas from rs6000 build, use aix host fragment 1992-03-25 07:51:05 +00:00
K. Richard Pixley
0e693d0b0e pass site_option to recursions 1992-03-25 07:49:53 +00:00
K. Richard Pixley
713db40a91 INSTALL_PROG -> INSTALL 1992-03-25 07:46:51 +00:00
K. Richard Pixley
00b6671ff2 added standard targets, fixed install directories 1992-03-25 07:41:41 +00:00
K. Richard Pixley
fd2329d713 stuff from latest install 1992-03-25 07:30:51 +00:00
K. Richard Pixley
c0abb570d7 remove srcdir from gdb.info rule 1992-03-25 07:29:45 +00:00
K. Richard Pixley
a00d0abd6f irix4 support 1992-03-25 07:27:36 +00:00
Stu Grossman
0a22f63e7c * infcmd.c (step_1): Call disable_longjmp_breakpoint at the right
time.
1992-03-25 05:50:53 +00:00
Stu Grossman
9d53db1ac7 * xm-mips.h: declare strdup for ultrix. 1992-03-25 01:57:29 +00:00
John Gilmore
daf45683dc Install some bug fixes from Brian Fox. 1992-03-25 01:07:32 +00:00
Stu Grossman
4f301966c2 * mipsread.c (fixup_sigtramp): Make sure that current_objfile is setup
when calling new_symbol.
* mips-tdep.c (mips_frame_chain):  Use symfile_objfile instead of
current_objfile.
1992-03-25 00:22:14 +00:00
K. Richard Pixley
fbad27e8b3 add support for irix4 1992-03-24 23:58:58 +00:00
Per Bothner
5c8d3927e3 * config/rs6000.mh: Update (for Fred's new mmalloc)
flags to disable use of GNU malloc/mmalloc.
	* munch:  Change SYSV rule to allow .text before the label,
	as well as after, to work for AIX.
	* gdbtypes.h:  Minor clarifiction.
1992-03-24 22:54:21 +00:00
Michael Tiemann
be1384b056 Fixed a place where dbx symbol name continuation was appearing in an
unexpected place, causing the `Trace' type in gperf/main.o to be
mis-parsed.
1992-03-24 15:28:40 +00:00
Stu Grossman
62a469e129 * mips-tdep.c: include symfile.h and objfiles.h to fix
compilation errors.
1992-03-24 07:02:52 +00:00
Stu Grossman
2b7eef3c57 * coff-msym.c (ecoff_swap_rfd_in): remove & for array ref. 1992-03-24 06:39:01 +00:00
Per Bothner
b3024b21ac * valops.c (value_struct_elt_for_reference): Added 'offset'
parameter to handle multiple inheritance.
	* eval.c, value.h:  Update accordingly.
1992-03-23 23:52:45 +00:00
Fred Fish
5e2e79f859 Many changes, most related to creating entry point information on a per-objfile
basis.  See comments in objfiles.h and details in ChangeLog.  Also remove
redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and
use a default definition in frame.h.
1992-03-21 01:56:01 +00:00
Heinz G. Seidl
9abf940670 changed prms to send_pr 1992-03-20 23:58:25 +00:00
Per Bothner
01be69139e More C++ improvements (pointers to members, qualified names). See ChangeLog. 1992-03-20 21:57:17 +00:00
Stu Grossman
52963fb7e9 Add .stmp-readline to all.cross... 1992-03-20 00:53:45 +00:00
Stu Grossman
66cfe047e5 * Makefile.in (all.cross): Add .stmp-bfd. 1992-03-20 00:51:23 +00:00
Fred Fish
80d68b1d49 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
elfread.c (coff_symfile_finish):  Add function, prototype, and
	add to the xxxx_sym_fns struct for each file type.  Also reformat
	the xxxx_sym_fns vector to a standard format and add comments.
	* coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,
	elfread.c (xxx_symfile_new_init, xxx_symfile_init, xxx_symfile_read):
	Pass pointer to struct objfile rather than pointer to sym_fns.
	Change references inside each function accordingly.  Allocate any
	symbol file specific info in the per-objfile memory region.
	* dbxread.c (free_and_init_header_files):  Break function into
	free_header_files(), called from dbx_symfile_finish(), and
	init_header_files(), called from dbx_new_init().
	* dbxread.c (dbx_new_init):  Move deallocation things to new
	dbx_symfile_finish function.
	* elfread.c (elf_new_init):  Call buildsym_new_init().
	* objfiles.c (free_objfile): Call the appropriate symfile_finish()
	routine for the objfile before deallocating other stuff.
	* sparc-tdep.c (get_longjmp_target):  Cast target_read_memory arg.
	* symfile.h:  Move struct sym_fns to before struct objfile def.
	Add sym_finish function pointer and change prototypes of other
	function pointers to reflect passing struct objfile pointer rather
	than struct sym_fns pointer.
	* symfile.c:  Remove now obsolete symtab_fns pointer.
	* symfile.c (symfile_init):  Renamed to find_sym_fns, and now only
	locates the correct sym_fns struct for the given objfile.
	* symfile.c (syms_from_objfile, symbol_file_add):  Restructured
	for better support of mapped symbol tables.
	* symfile.c (symbol_file_command):  Remove obsolete code using
	symfile_fns.
	* symfile.h:  Remove duplicate declarations for symfile_objfile,
	entry_point, and object_files.
	* target.c (target_info):  Compare symfile_objfile to NULL.
	* xcoffread.c (aixcoff_new_init):  Move deallocation stuff to
	aixcoff_symfile_finish().
1992-03-19 21:57:15 +00:00
Fred Fish
dc52fc7118 Add and use definition for IN_SOLIB_TRAMPOLINE which allows wait_for_inferior
to test whether or not it has stepped into the glue that binds an
application to a shared library routine.
1992-03-19 02:26:25 +00:00
Per Bothner
2cd9998540 Some improvements to g++ debugging.
* symtab.c (list_symbols): demangle before pattern matching.
	* symtab.c:  Other fixes to improve handing of operators.
	* valprint.c (type_print_base):  Fix test for constructor.
	* values.c (value_static_field):  Allow evaluation of
	CLASS::METHOD, returning a function pointer.
1992-03-19 00:05:35 +00:00
Fred Fish
c976b3499c Remove currently unused state.c and state.h files from list of files
to keep.
1992-03-18 16:45:54 +00:00
Fred Fish
b0246b3bec Changes to implement the -mapped and -readnow options for commands that
read symbol tables.
1992-03-18 16:43:25 +00:00
Per Bothner
afbdd10672 * bout.c (b_out_slurp_reloc_table): Use BFD_ASSERT macro,
not internal bfd_assert function (twice).
1992-03-17 22:14:18 +00:00
Steve Chamberlain
b772312e68 * aout-target.h: change ar_max_namelen to 15 (the right value)
* coff-a29k, coffcode.h: more hangovers from the bfd_abs_section
	change
1992-03-17 18:47:16 +00:00
Steve Chamberlain
0d65ac52cd More bitrot 1992-03-17 00:41:11 +00:00
Steve Chamberlain
5531526a10 Fix for new filenames 1992-03-17 00:38:14 +00:00
Steve Chamberlain
fc2f4c758a Remove i960 b.out bitrot. 1992-03-16 22:59:58 +00:00
Steve Chamberlain
d5a13d8ea0 i960 bitrot fix 1992-03-16 22:54:51 +00:00
Fred Fish
5a4470de1f Remove unused file mtrace.awk, remove entries from .Sanitize for
mtrace.awk and previously removed files.
1992-03-15 03:33:19 +00:00
Fred Fish
d592622ae8 Add mmalloc directory to list of files to preserve. 1992-03-15 03:11:09 +00:00
Fred Fish
63abb1e790 New memory malloc malloc library, based on GNU malloc. 1992-03-15 02:16:01 +00:00
Fred Fish
009898fddb Convert calls to bare malloc() to bfd_xmalloc(). 1992-03-15 01:33:32 +00:00
Fred Fish
bb24c7e6f6 Add support for mmalloc library. 1992-03-15 01:21:52 +00:00
Fred Fish
b3916cbbf6 These files are replaced by the mmalloc library. 1992-03-15 01:13:26 +00:00
Fred Fish
3d42671fef Missed in last checkin. 1992-03-15 01:10:01 +00:00