Commit graph

7479 commits

Author SHA1 Message Date
Jim Kingdon
bc991bc903 * config/news-mips.mh, hosts/news-mips.h: New files.
* configure.host: Use news-mips for mips-sony-bsd*.
1993-10-03 00:35:12 +00:00
Jim Kingdon
17dbd90993 new for mips corefiles 1993-10-02 23:55:34 +00:00
Stu Grossman
ead291d4c3 * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.
1993-10-02 23:09:51 +00:00
Jim Kingdon
422a19551f * m88k-nat.c (store_inferior_registers): When writing all registers,
don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
	case, and they cause trouble).
1993-10-02 21:07:50 +00:00
Jim Kingdon
e05fe481fa * TODO: Don't suggest doing fast watchpoints by stepping a line
at a time.  That would be really hairy and still not fast enough.
	Do suggest debug registers and page table diddling.
1993-10-02 20:55:34 +00:00
Stan Shebs
48ee075741 * configure.in: i386lynx_coff_vec requires coff-i386lynx.o.
* coff-i386lynx.c: New file, defines Lynx target vector and name,
	includes coff-i386.c.
	* coff-i386.c (i386coff_vec): Allow redefinition of target vector
	symbol and name, if TARGET_SYM and/or TARGET_NAME are defined.
	* i386lynx.c: Remove coff vector definition entirely.
	(lynx_32_swap_ext_reloc_in): Define.
	(lynx_32_swap_std_reloc_in): Define, get reloc bits in i386
	Lynx-specific way.
	(lynx_32_swap_ext_reloc_out): Define.
	(lynx_32_swap_std_reloc_out): Define.
	(lynx_32_slurp_reloc_table): Define, call Lynx swapping fns.
	(lynx_32_squirt_out_relocs): Define, call Lynx swapping fns.
	(lynx_32_canonicalize_reloc): Define, call Lynx swapping fns.
	(WRITE_HEADERS): Define, call Lynx swapping fns.

	* config/i386-lynx.mt (SELECT_VECS): Remove redundant vector.
1993-10-01 21:42:59 +00:00
Roland Pesch
7f9ae73e76 Makefile.in: correct out-of-date TEXIDIR default
ld.texinfo: (a) fix INPUT cmd description (b) fix bad formatting in FSF
            style (warning examples) (c) add some index entries on warnings
1993-10-01 21:08:13 +00:00
Jim Kingdon
f73b07c9d2 * printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
depend on builtin_type_*.  Instead, it is always 2, 4, and 8 bytes
	like the documentation says.
	* printcmd.c (decode_format) [CC_HAS_LONG_LONG]: Remove 'l' as
	synonym for 'g'.  This was never documented, it shouldn't depend on
	CC_HAS_LONG_LONG, and I don't see what's wrong with 'g'.
1993-10-01 20:48:14 +00:00
Kung Hsu
5c7473b1df Modified Files:
ChangeLog

	* Fix cvs conflict parts.
1993-10-01 19:14:04 +00:00
Kung Hsu
6cb30309d5 Modified Files:
symtab.c ChangeLog

        * symtab.c: fix a bug in testsuite (virtfunc.exp)
	* ChangeLog: check in changelog
1993-10-01 17:16:04 +00:00
Roland Pesch
744ce7830b Delete obsolete text (which was @ignore'd since July). 1993-10-01 02:13:16 +00:00
Roland Pesch
6b51acad7e Assorted small improvements, mostly from FSF editing pass (Melissa). 1993-10-01 01:30:04 +00:00
Rob Savoye
a4aeaacf69 * ldlang.c (lang_add_input_file): If it's a library brought in by
INPUT(), then change the file type to lang_input_file_is_l_enum.
	* ldgram.y: In input_list, change lang_input_file_is_file_enum to
	lang_input_file_is_search_file_enum so objects brought in using
	INPUT() do a path lookup.
1993-10-01 01:28:55 +00:00
Jim Kingdon
3d8536f365 * m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP). 1993-10-01 00:51:41 +00:00
Roland Pesch
650a49f055 Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
binutils.texi (ar): improve synopsis lines
              (strings): fix overfull box in synopsis
              (passim) remove some contractions
1993-10-01 00:11:58 +00:00
Jim Kingdon
4f9bddb4fc * c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
If demangled name lacks a colon, don't dump core.
1993-09-30 22:14:03 +00:00
Ken Raeburn
763cfca018 reloc.c (bfd_reloc_code_type): Add linkage-table relative reloc of size 8, 16,
32.  Sort generic relocs by type, not size.  Added a little documentation too.
1993-09-30 21:54:49 +00:00
Jim Kingdon
dfbf020831 * blockframe.c (find_pc_partial_function): If pst->readin is
set, don't try to get symbols from pst.
1993-09-30 21:53:12 +00:00
Jim Kingdon
2289e1c30b * inflow.c (generic_mourn_inferior): Call reinit_frame_cache
instead	of doing it ourself.
	* blockframe.c (reinit_frame_cache): Use code which was in
	generic_mourn_inferior so we can use this function even when
	we have switched targets.
	* corelow.c (core_detach): Call reinit_frame_cache.
	* target.c (target_detach): Don't call generic_mourn_inferior
	(revert yesterday's change, now handled by core_detach).
	* objfiles.c (free_objfile): Detach any core file if we call
	SOLIB_CLEAR.  #include target.h.
1993-09-30 21:42:23 +00:00
Jim Kingdon
c5198d9378 * corelow.c (core_detach): Call reinit_frame_cache.
* target.c (target_detach): Don't call generic_mourn_inferior
	(revert yesterday's change, now handled by core_detach).
	* objfiles.c (free_objfile): Detach any core file if we call
	SOLIB_CLEAR.  #include target.h.
1993-09-30 21:27:16 +00:00
Jim Kingdon
01dfd41513 * fork-child.c (fork_inferior): Don't call target_terminal_init
and target_terminal_inferior until we are sure that the inferior
	has called gdb_setpgid.  This fixes PR 2900 (Schauer tracked it
	down and was able to reliably reproduce it by putting a sleep()
	before the gdb_setpgid()).
1993-09-30 20:41:17 +00:00
Peter Schauer
8d658c0866 * c-exp.y, m2-exp.y: Change type of address for msymbol to
builtin_type_long.
	* infptrace.c (fetch_register, store_inferior_register,
	child_xfer_memory):  Use PTRACE_XFER_TYPE for the type of ptrace
	transfers. Provide an `int' default for PTRACE_XFER_TYPE.
1993-09-30 19:06:33 +00:00
Jim Kingdon
185d20fcda * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
picking defaults.
1993-09-30 17:44:53 +00:00
Jim Kingdon
c9e92abd35 * findvar.c, value.h (write_register): Change val to LONGEST. 1993-09-30 17:15:27 +00:00
Jim Kingdon
79bda3c7e8 * gdb.texinfo: Remove stuff about ar and 14 character filenames.
I believe this was fixed by the 13 Sep 89 change to print_frame_info.
	Also, modern versions of ar like BSD 4.4 or SVR4 don't have this bug.
1993-09-30 17:01:45 +00:00
Jim Kingdon
8f341c15fd * cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form. 1993-09-30 16:43:35 +00:00
Stu Grossman
9040a00b8f * Makefile.in: Add deps for i386lynx-nat.o and i386lynx-tdep.o to
keep non-gnu makes happy.
1993-09-30 01:35:50 +00:00
K. Richard Pixley
cb79d01dcf * m88k-dis.c (m88kdis): comment change. Remove space after
printing mnemonic.
	  (printop): handle new arg types DEC and XREG for m88110.
1993-09-29 23:26:42 +00:00
K. Richard Pixley
6cc87fbb75 correct a few mistakes found while extending the dissassembler. 1993-09-29 23:18:06 +00:00
Kung Hsu
b0dd16a5d4 Modified Files:
cp-valprint.c
Log Messages:
        * cp-valprint.c: change vtble field name to __vtbl (pr2695)
1993-09-29 20:18:00 +00:00
Kung Hsu
2d575e6fed Modified Files:
symtab.c

     * symtab.c: fix a bug in gdb_mangle_name, to get mangled name right
1993-09-29 18:44:47 +00:00
Jim Kingdon
33f00b4425 check in ChangeLog entry for kung change 1993-09-29 18:27:19 +00:00
Kung Hsu
1bd97ba80a Modified Files:
c-valprint.c

Log messages:
       * c-valprint.c: to fix virtual table print bug (pr2695)
1993-09-29 17:02:10 +00:00
Jim Kingdon
182ecac5b9 * readline.c (parser_if): Free tname when done with it (change
imported from from bash	1.12 readline).
1993-09-29 16:09:01 +00:00
Jim Kingdon
49781499e5 * target.c (target_detach): Call generic_mourn_inferior.
* inflow.c (generic_mourn_inferior): Call flush_cached_frames.
1993-09-29 15:59:36 +00:00
Jim Kingdon
898140fe5a * dbxread.c, coffread.c, elfread.c: A few changes to comments. 1993-09-29 04:25:15 +00:00
Jim Kingdon
0ccbaadcf2 * dbxread.c, coffread.c: A few changes to comments. 1993-09-29 04:15:43 +00:00
Stan Shebs
b5b186a2cd Additions to support stabs-in-coff. 1993-09-29 01:53:52 +00:00
Jim Kingdon
a0ad6c0f18 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
* hppa-dis.c (print_insn_hppa): Handle 'z' operand
	type for absolute branch addresses.  Delete special
	"ble" and "be" code in 'W' operand code.
1993-09-29 00:25:04 +00:00
Jim Kingdon
f70a36e006 Tue Sep 28 19:19:08 1993 Jeffrey A Law (law@snake.cs.utah.edu)
* hppa.h (be, ble): Use operand type 'z' to denote absolute branch
	addresses.
1993-09-29 00:24:04 +00:00
Jim Kingdon
748699873d * gdb.t24 (demangle.exp): Constructors of templates have names like
vector<int>::vector(int) not vector<int>::vector<int>(int).  See
	section 14.6 of the ARM.

	* gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
	"_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
	accomplish little and slow down the testsuite.

	* gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
	Accept spaces various places.
1993-09-29 00:10:26 +00:00
Jim Kingdon
f1ca2bdff9 * infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
breakpoint.
1993-09-28 23:30:02 +00:00
Jim Kingdon
83eba394ec * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
Accept spaces various places.
1993-09-28 22:39:06 +00:00
Ian Lance Taylor
01f5ed6da0 * config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.
* config/tm-sysv4.h: Don't include solib.h.
	* config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS.
	* config/i386/i386v4.mt (TDEPFILES): Move solib.o from here...
	* config/i386/i386v4.mh (NATDEPFILES): ...to here.
	* config/i386/nm-i386v4.h: Include nm-sysv4.h.
	* config/m68k/amix.mt (TDEPFIES): Move solib.o from here...
	* config/m68k/amix.mh (NATDEPFILES): ...to here.
1993-09-28 21:58:59 +00:00
Jim Kingdon
a1b51eb3eb * section.c (bfd_make_section_anyway): New function.
* section.c: Change comments to say several sections can have
	the same name.
	* bfd-in2.h: Re-generate to reflect above change.
	* coffgen.c (make_a_section_from_file): Call bfd_make_section_anyway
	if still no section after the bfd_coff_make_section_hook.
	* coffcode.h: Add comment about TWO_DATA_SECS.
1993-09-28 21:47:15 +00:00
Stan Shebs
bd7b78f769 Lynx support 1993-09-28 20:59:59 +00:00
Stan Shebs
3f905ec153 Lynx support 1993-09-28 20:51:22 +00:00
Jim Kingdon
9b3fa58950 * section.c (bfd_make_section_anyway): New function.
* section.c: Change comments to say several sections can have
	the same name.
	* bfd-in2.h: Re-generate to reflect above change.
	* coffgen.c (make_a_section_from_file): Call bfd_make_section_anyway
	if still no section after the bfd_coff_make_section_hook.
	* coffcode.h: Add comment about TWO_DATA_SECS.
1993-09-28 20:44:43 +00:00
Stan Shebs
4ac3ff671b Keep m68klynx.h 1993-09-28 20:27:21 +00:00
Stan Shebs
eefe075d6a Keep m68klynx.c 1993-09-28 20:25:00 +00:00