binutils-gdb.git
31 years ago * mips-opc.c: Correct lwu opcode value (book had it wrong).
Ian Lance Taylor [Tue, 5 Oct 1993 21:49:04 +0000 (21:49 +0000)]
* mips-opc.c: Correct lwu opcode value (book had it wrong).

31 years ago * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
Jim Kingdon [Tue, 5 Oct 1993 21:25:10 +0000 (21:25 +0000)]
* Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
understand what it is trying to do, but I suspect it's not doing
it.

* config/ns32k/merlin.mh: Add comment about M_INSTALL.
* config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
M_UNINSTALL; it tries to install a non-existent file gdb.z.
* Makefile.in: Remove M_INSTALL stuff; the above were the only uses.

31 years ago * stabsread.c (read_range_type): Remove comment which recommends
Jim Kingdon [Tue, 5 Oct 1993 20:39:49 +0000 (20:39 +0000)]
* stabsread.c (read_range_type): Remove comment which recommends
distinguishing float from complex by the name.

31 years ago * readline.c: Add stuff for HIUX to place where we detect termio
Jim Kingdon [Tue, 5 Oct 1993 20:32:37 +0000 (20:32 +0000)]
* readline.c: Add stuff for HIUX to place where we detect termio
vs. sgtty (ugh, but I don't see a simple better way).

31 years ago Changes to support alpha OSF/1 in native mode.
Peter Schauer [Tue, 5 Oct 1993 19:44:57 +0000 (19:44 +0000)]
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
  config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in:  Add new files and dependencies.
* configure.in:  Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.

* defs.h (CORE_ADDR):  Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete):  Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol):  Change valu parameter
to a CORE_ADDR.
* stabsread.c (read_range_type):  Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume):  Do not step a breakpoint instruction if
CANNOT_STEP_BREAKPOINT is defined.

* inferior.h (CALL_DUMMY_LOCATION):  New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func):  Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy):  Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
set_momentary_breakpoint.
* symfile.c (entry_point_address):  New function for AT_ENTRY_POINT
support.
* valops.c (call_function_by_hand):  Handle AT_ENTRY_POINT case.

31 years ago * gdb.stabs/alpha.mt: New configuration file for alpha.
Peter Schauer [Tue, 5 Oct 1993 19:32:46 +0000 (19:32 +0000)]
* gdb.stabs/alpha.mt:  New configuration file for alpha.
* gdb.stabs/configure.in:  Use it.
* gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
sharing with alpha.mt, redefine long to word via preprocessor.
* gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
for alpha.
* gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
native cc.
* gdb.t00/teststrategy.exp:  Change expect string so that we
consume the `(xgdb)' from the command echo and from the gdb prompt.
* gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
gdb currently compares all values as long, so this failure probably
applies to any configuration where LONGEST is bigger than a target int.
* gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
with gcc.
* gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
to handle opaque pointers, gcc is.
* gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
as first argument. Include <sys/types.h> and change all operator
new definitions to use size_t.
* gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
now that we use size_t.

31 years agokeep mt-hppa
David D. Zuhn [Tue, 5 Oct 1993 19:29:09 +0000 (19:29 +0000)]
keep mt-hppa

31 years ago * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
Peter Schauer [Tue, 5 Oct 1993 19:25:43 +0000 (19:25 +0000)]
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
  config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in:  Add new files and dependencies.
* configure.in:  Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.

31 years ago * mh-alphaosf: Remove, no longer necessary now that gdb knows
Peter Schauer [Tue, 5 Oct 1993 19:21:35 +0000 (19:21 +0000)]
* mh-alphaosf: Remove, no longer necessary now that gdb knows
how to handle OSF/1 shared libraries.

31 years ago * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
Jim Kingdon [Tue, 5 Oct 1993 17:51:13 +0000 (17:51 +0000)]
* configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
Change other hppa host entries to use -*- not -hp-.

31 years ago * configure.host: Recognize hppa*-*-hiux* (currently synonym for hpux).
Jim Kingdon [Tue, 5 Oct 1993 17:46:28 +0000 (17:46 +0000)]
* configure.host: Recognize hppa*-*-hiux* (currently synonym for hpux).
Change other hppa entries to use -*- not -hp-.
* config.bfd: Recognize hppa*-*-hiux* (currently synonym for hpux).

31 years ago * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
Jim Kingdon [Tue, 5 Oct 1993 17:41:05 +0000 (17:41 +0000)]
* configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
* config.guess: Recognize Hitachi's HIUX.
* config.sub: Recognize h3050r* and hppahitachi.
Remove redundant cases for hp9k[23]*.

31 years ago * rs6000.h: Change non-ASCII characters in comment to octal
Jim Kingdon [Tue, 5 Oct 1993 16:26:54 +0000 (16:26 +0000)]
* rs6000.h: Change non-ASCII characters in comment to octal
escapes.

31 years ago * coff-rs6000.c, cpu-rs6000.c, rs6000-core.c: Change non-ASCII
Jim Kingdon [Tue, 5 Oct 1993 16:01:49 +0000 (16:01 +0000)]
* coff-rs6000.c, cpu-rs6000.c, rs6000-core.c: Change non-ASCII
characters in comment to octal escapes.

31 years agoAnother forgotten file.
Stan Shebs [Tue, 5 Oct 1993 02:30:37 +0000 (02:30 +0000)]
Another forgotten file.

31 years agoNovell came through with the publicly visible information, so this
Ian Lance Taylor [Mon, 4 Oct 1993 23:29:36 +0000 (23:29 +0000)]
Novell came through with the publicly visible information, so this
file may now be distributed.

* i386-nlmstub.c: New file; debugging stub for i386 NetWare.  Must
be compiled with NetWare header files and turned into an NLM with
nlmconv.

31 years ago * configure.in: default to '--with-gnu-as' and '--with-gnu-ld'
David D. Zuhn [Mon, 4 Oct 1993 23:19:25 +0000 (23:19 +0000)]
* configure.in: default to '--with-gnu-as' and '--with-gnu-ld'
if gas and ld are in the source tree and are in ${configdirs}.
If ${use_gnu_as} or ${use_gnu_ld} are 'no', then don't set the
the --with options (but still pass them down on the command line,
if they were explicitly specified).

* configure: substitute SHELL value in Makefile.in with
${CONFIG_SHELL}

31 years ago* minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
Jim Kingdon [Mon, 4 Oct 1993 22:01:38 +0000 (22:01 +0000)]
* minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.

31 years ago * read.c (big_cons): Handle "0" correctly.
Ian Lance Taylor [Mon, 4 Oct 1993 21:13:48 +0000 (21:13 +0000)]
* read.c (big_cons): Handle "0" correctly.

* config/tc-mips.c (md_begin): Set target_big_endian correctly.

31 years agoconfigure.in: Alphabetize list of cpu type alternatives. Enable OS values of
Ken Raeburn [Mon, 4 Oct 1993 20:17:30 +0000 (20:17 +0000)]
configure.in: Alphabetize list of cpu type alternatives.  Enable OS values of
"linux*elf*" and "linux*coff*" to select those formats, with linux emulation.
Don't bother checking for upper- or mixed-case versions of "ose".

31 years agotc-m68k.c change
Ken Raeburn [Mon, 4 Oct 1993 20:10:50 +0000 (20:10 +0000)]
tc-m68k.c change

31 years ago* dbxread.c (process_one_symbol): Make n_opt_found static.
Jim Kingdon [Mon, 4 Oct 1993 19:19:16 +0000 (19:19 +0000)]
* dbxread.c (process_one_symbol): Make n_opt_found static.

31 years ago* libgdb.texinfo: new file. Spec for the gdb library.
Jim Kingdon [Mon, 4 Oct 1993 18:19:43 +0000 (18:19 +0000)]
* libgdb.texinfo: new file.  Spec for the gdb library.

31 years agoAddition of the libgdb spec.
Thomas Lord [Mon, 4 Oct 1993 17:44:52 +0000 (17:44 +0000)]
Addition of the libgdb spec.

31 years ago * Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
Jim Kingdon [Mon, 4 Oct 1993 17:38:17 +0000 (17:38 +0000)]
* Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
* Makefile.in, config/i386/i386lynx.mt: Change accordingly.

31 years agoRename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names
Jim Kingdon [Mon, 4 Oct 1993 17:28:19 +0000 (17:28 +0000)]
Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names

31 years agochange all to most in comment
Jim Kingdon [Mon, 4 Oct 1993 16:45:11 +0000 (16:45 +0000)]
change all to most in comment

31 years agoMon Oct 4 11:02:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
Jim Kingdon [Mon, 4 Oct 1993 16:43:41 +0000 (16:43 +0000)]
Mon Oct  4 11:02:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
to not_lval.

Sun Oct  3 15:54:51 1993  Stan Shebs  (shebs@rtl.cygnus.com)

* objfiles.h (objfile): New slot sym_stab_info, use by most
stab-reading formats.

31 years agoAdded new slot to objfile struct to be shared by all stab-reading formats.
Stan Shebs [Sun, 3 Oct 1993 23:04:25 +0000 (23:04 +0000)]
Added new slot to objfile struct to be shared by all stab-reading formats.

31 years agoReflect changes in Lynx files.
Stan Shebs [Sun, 3 Oct 1993 22:51:51 +0000 (22:51 +0000)]
Reflect changes in Lynx files.

31 years agoMore additions and changes for Lynx.
Stan Shebs [Sun, 3 Oct 1993 22:15:52 +0000 (22:15 +0000)]
More additions and changes for Lynx.

31 years ago* stabs.texinfo (Include Files): Fix typo (start -> end).
Jim Kingdon [Sun, 3 Oct 1993 20:30:52 +0000 (20:30 +0000)]
* stabs.texinfo (Include Files): Fix typo (start -> end).

31 years ago* config/news-mips.mh, hosts/news-mips.h: New files.
Jim Kingdon [Sun, 3 Oct 1993 05:46:21 +0000 (05:46 +0000)]
* config/news-mips.mh, hosts/news-mips.h: New files.

31 years ago* hppa.h: Add gfw and gfr to the opcode table.
Jim Kingdon [Sun, 3 Oct 1993 03:28:56 +0000 (03:28 +0000)]
* hppa.h: Add gfw and gfr to the opcode table.

31 years ago * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
Jim Kingdon [Sun, 3 Oct 1993 01:53:35 +0000 (01:53 +0000)]
* Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.

31 years ago * mipsread.c, objfiles.c, utils.c: Use PTR not void *. RISC/OS
Jim Kingdon [Sun, 3 Oct 1993 01:50:53 +0000 (01:50 +0000)]
* mipsread.c, objfiles.c, utils.c: Use PTR not void *.  RISC/OS
4.02 lacks void *.
* elfread.c: Use void * not PTR inside PARAMS.

31 years ago * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
Jim Kingdon [Sun, 3 Oct 1993 00:39:42 +0000 (00:39 +0000)]
* config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
* config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
* config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.

31 years ago * config/news-mips.mh, hosts/news-mips.h: New files.
Jim Kingdon [Sun, 3 Oct 1993 00:35:12 +0000 (00:35 +0000)]
* config/news-mips.mh, hosts/news-mips.h: New files.
* configure.host: Use news-mips for mips-sony-bsd*.

31 years agonew for mips corefiles
Jim Kingdon [Sat, 2 Oct 1993 23:55:34 +0000 (23:55 +0000)]
new for mips corefiles

31 years ago* Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
Stu Grossman [Sat, 2 Oct 1993 23:09:51 +0000 (23:09 +0000)]
* Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.

31 years ago * m88k-nat.c (store_inferior_registers): When writing all registers,
Jim Kingdon [Sat, 2 Oct 1993 21:07:50 +0000 (21:07 +0000)]
* 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).

31 years ago * TODO: Don't suggest doing fast watchpoints by stepping a line
Jim Kingdon [Sat, 2 Oct 1993 20:55:34 +0000 (20:55 +0000)]
* 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.

31 years ago * configure.in: i386lynx_coff_vec requires coff-i386lynx.o.
Stan Shebs [Fri, 1 Oct 1993 21:42:59 +0000 (21:42 +0000)]
* 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.

31 years agoMakefile.in: correct out-of-date TEXIDIR default
Roland Pesch [Fri, 1 Oct 1993 21:08:13 +0000 (21:08 +0000)]
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

31 years ago * printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
Jim Kingdon [Fri, 1 Oct 1993 20:48:14 +0000 (20:48 +0000)]
* 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'.

31 years agoModified Files:
Kung Hsu [Fri, 1 Oct 1993 19:14:04 +0000 (19:14 +0000)]
Modified Files:
ChangeLog

* Fix cvs conflict parts.

31 years agoModified Files:
Kung Hsu [Fri, 1 Oct 1993 17:16:04 +0000 (17:16 +0000)]
Modified Files:
symtab.c ChangeLog

        * symtab.c: fix a bug in testsuite (virtfunc.exp)
* ChangeLog: check in changelog

31 years agoDelete obsolete text (which was @ignore'd since July).
Roland Pesch [Fri, 1 Oct 1993 02:13:16 +0000 (02:13 +0000)]
Delete obsolete text (which was @ignore'd since July).

31 years agoAssorted small improvements, mostly from FSF editing pass (Melissa).
Roland Pesch [Fri, 1 Oct 1993 01:30:04 +0000 (01:30 +0000)]
Assorted small improvements, mostly from FSF editing pass (Melissa).

31 years ago * ldlang.c (lang_add_input_file): If it's a library brought in by
Rob Savoye [Fri, 1 Oct 1993 01:28:55 +0000 (01:28 +0000)]
* 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.

31 years ago* m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).
Jim Kingdon [Fri, 1 Oct 1993 00:51:41 +0000 (00:51 +0000)]
* m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).

31 years agoMakefile.in (binutils.dvi): use TEXIDIR to find texinfo.tex
Roland Pesch [Fri, 1 Oct 1993 00:11:58 +0000 (00:11 +0000)]
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

31 years ago * c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
Jim Kingdon [Thu, 30 Sep 1993 22:14:03 +0000 (22:14 +0000)]
* c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
If demangled name lacks a colon, don't dump core.

31 years agoreloc.c (bfd_reloc_code_type): Add linkage-table relative reloc of size 8, 16,
Ken Raeburn [Thu, 30 Sep 1993 21:54:49 +0000 (21:54 +0000)]
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.

31 years ago * blockframe.c (find_pc_partial_function): If pst->readin is
Jim Kingdon [Thu, 30 Sep 1993 21:53:12 +0000 (21:53 +0000)]
* blockframe.c (find_pc_partial_function): If pst->readin is
set, don't try to get symbols from pst.

31 years ago * inflow.c (generic_mourn_inferior): Call reinit_frame_cache
Jim Kingdon [Thu, 30 Sep 1993 21:42:23 +0000 (21:42 +0000)]
* 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.

31 years ago * corelow.c (core_detach): Call reinit_frame_cache.
Jim Kingdon [Thu, 30 Sep 1993 21:27:16 +0000 (21:27 +0000)]
* 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.

31 years ago * fork-child.c (fork_inferior): Don't call target_terminal_init
Jim Kingdon [Thu, 30 Sep 1993 20:41:17 +0000 (20:41 +0000)]
* 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()).

31 years ago * c-exp.y, m2-exp.y: Change type of address for msymbol to
Peter Schauer [Thu, 30 Sep 1993 19:06:33 +0000 (19:06 +0000)]
* 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.

31 years ago * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
Jim Kingdon [Thu, 30 Sep 1993 17:44:53 +0000 (17:44 +0000)]
* defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
picking defaults.

31 years ago* findvar.c, value.h (write_register): Change val to LONGEST.
Jim Kingdon [Thu, 30 Sep 1993 17:15:27 +0000 (17:15 +0000)]
* findvar.c, value.h (write_register):  Change val to LONGEST.

31 years ago * gdb.texinfo: Remove stuff about ar and 14 character filenames.
Jim Kingdon [Thu, 30 Sep 1993 17:01:45 +0000 (17:01 +0000)]
* 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.

31 years ago* cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.
Jim Kingdon [Thu, 30 Sep 1993 16:43:35 +0000 (16:43 +0000)]
* cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.

31 years ago* Makefile.in: Add deps for i386lynx-nat.o and i386lynx-tdep.o to
Stu Grossman [Thu, 30 Sep 1993 01:35:50 +0000 (01:35 +0000)]
* Makefile.in:  Add deps for i386lynx-nat.o and i386lynx-tdep.o to
keep non-gnu makes happy.

31 years ago * m88k-dis.c (m88kdis): comment change. Remove space after
K. Richard Pixley [Wed, 29 Sep 1993 23:26:42 +0000 (23:26 +0000)]
* m88k-dis.c (m88kdis): comment change.  Remove space after
  printing mnemonic.
  (printop): handle new arg types DEC and XREG for m88110.

31 years agocorrect a few mistakes found while extending the dissassembler.
K. Richard Pixley [Wed, 29 Sep 1993 23:18:06 +0000 (23:18 +0000)]
correct a few mistakes found while extending the dissassembler.

31 years agoModified Files:
Kung Hsu [Wed, 29 Sep 1993 20:18:00 +0000 (20:18 +0000)]
Modified Files:
cp-valprint.c
Log Messages:
        * cp-valprint.c: change vtble field name to __vtbl (pr2695)

31 years agoModified Files:
Kung Hsu [Wed, 29 Sep 1993 18:44:47 +0000 (18:44 +0000)]
Modified Files:
symtab.c

     * symtab.c: fix a bug in gdb_mangle_name, to get mangled name right

31 years agocheck in ChangeLog entry for kung change
Jim Kingdon [Wed, 29 Sep 1993 18:27:19 +0000 (18:27 +0000)]
check in ChangeLog entry for kung change

31 years agoModified Files:
Kung Hsu [Wed, 29 Sep 1993 17:02:10 +0000 (17:02 +0000)]
Modified Files:
  c-valprint.c

Log messages:
       * c-valprint.c: to fix virtual table print bug (pr2695)

31 years ago * readline.c (parser_if): Free tname when done with it (change
Jim Kingdon [Wed, 29 Sep 1993 16:09:01 +0000 (16:09 +0000)]
* readline.c (parser_if): Free tname when done with it (change
imported from from bash 1.12 readline).

31 years ago * target.c (target_detach): Call generic_mourn_inferior.
Jim Kingdon [Wed, 29 Sep 1993 15:59:36 +0000 (15:59 +0000)]
* target.c (target_detach): Call generic_mourn_inferior.
* inflow.c (generic_mourn_inferior): Call flush_cached_frames.

31 years ago* dbxread.c, coffread.c, elfread.c: A few changes to comments.
Jim Kingdon [Wed, 29 Sep 1993 04:25:15 +0000 (04:25 +0000)]
* dbxread.c, coffread.c, elfread.c: A few changes to comments.

31 years ago* dbxread.c, coffread.c: A few changes to comments.
Jim Kingdon [Wed, 29 Sep 1993 04:15:43 +0000 (04:15 +0000)]
* dbxread.c, coffread.c: A few changes to comments.

31 years agoAdditions to support stabs-in-coff.
Stan Shebs [Wed, 29 Sep 1993 01:53:52 +0000 (01:53 +0000)]
Additions to support stabs-in-coff.

31 years agoTue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
Jim Kingdon [Wed, 29 Sep 1993 00:25:04 +0000 (00:25 +0000)]
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.

31 years agoTue Sep 28 19:19:08 1993 Jeffrey A Law (law@snake.cs.utah.edu)
Jim Kingdon [Wed, 29 Sep 1993 00:24:04 +0000 (00:24 +0000)]
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.

31 years ago * gdb.t24 (demangle.exp): Constructors of templates have names like
Jim Kingdon [Wed, 29 Sep 1993 00:10:26 +0000 (00:10 +0000)]
* 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.

31 years ago * infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
Jim Kingdon [Tue, 28 Sep 1993 23:30:02 +0000 (23:30 +0000)]
* infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
breakpoint.

31 years ago * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
Jim Kingdon [Tue, 28 Sep 1993 22:39:06 +0000 (22:39 +0000)]
* gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
Accept spaces various places.

31 years ago * config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.
Ian Lance Taylor [Tue, 28 Sep 1993 21:58:59 +0000 (21:58 +0000)]
* 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.

31 years ago * section.c (bfd_make_section_anyway): New function.
Jim Kingdon [Tue, 28 Sep 1993 21:47:15 +0000 (21:47 +0000)]
* 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.

31 years agoLynx support
Stan Shebs [Tue, 28 Sep 1993 20:59:59 +0000 (20:59 +0000)]
Lynx support

31 years agoLynx support
Stan Shebs [Tue, 28 Sep 1993 20:51:22 +0000 (20:51 +0000)]
Lynx support

31 years ago * section.c (bfd_make_section_anyway): New function.
Jim Kingdon [Tue, 28 Sep 1993 20:44:43 +0000 (20:44 +0000)]
* 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.

31 years agoKeep m68klynx.h
Stan Shebs [Tue, 28 Sep 1993 20:27:21 +0000 (20:27 +0000)]
Keep m68klynx.h

31 years agoKeep m68klynx.c
Stan Shebs [Tue, 28 Sep 1993 20:25:00 +0000 (20:25 +0000)]
Keep m68klynx.c

31 years agoKeep te-lynx.h
Stan Shebs [Tue, 28 Sep 1993 20:20:27 +0000 (20:20 +0000)]
Keep te-lynx.h

31 years agoMore Lynx support, plus better stabs-in-coff generation.
Stan Shebs [Tue, 28 Sep 1993 19:22:08 +0000 (19:22 +0000)]
More Lynx support, plus better stabs-in-coff generation.

31 years agoTue Sep 28 09:45:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jim Kingdon [Tue, 28 Sep 1993 17:43:25 +0000 (17:43 +0000)]
Tue Sep 28 09:45:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* symmisc.c (print_symbol): Use %02x not %2x for LOC_CONST_BYTES.

Clean up problems with targets and hosts that have 64 bit longs
and pointers and 32 bit ints.
* breakpoint.c, buildsym.c, c-lang.c, c-valprint.c, ch-lang.c,
ch-valprint.c, core.c, cp-valprint.c, dbxread.c, exec.c,
expprint.c, gdbtypes.c, infcmd.c, language.c, language.h,
m2-lang.c, maint.c, mips-tdep.c, mipsread.c, partial-stab.h,
printcmd.c, remote-vx.c, solib.c, source.c, stack.c, symfile.c,
symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
Change all printf formats from %x to %lx if outputting an address.
Change la_*_format to use long format.
local_hex_string, local_hex_string_custom now take an unsigned long
argument, change all callers.
* coffread.c (read_coff_symtab):  Remove superfluous cast for
complaint output.
* dbxread.c (end_psymtab):  Cast MSYMBOL_INFO to long, not int.
* findvar.c, value.h (write_register):  Change register value to long.
* gdbtypes.h (struct type):  Change `bitsize' to long as
TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
* inferior.h (struct inferior_status):  Change type of stop_pc to
CORE_ADDR.
* language.h (local_octal_string, local_octal_string_custom):
Remove prototype, the functions are neither defined nor used.
* mipsread.c (parse_symbol):  Use temporary variable for bitsize as
f->bitsize is a long now.
* objfiles.c (add_to_objfile_sections, build_objfile_section_table):
Use unsigned long casts instead of int for abusing sections_end
pointer as integer.
* stack.c (parse_frame_specification):  Change type of `args' to
CORE_ADDR for SETUP_ARBITRARY_FRAME.

* printcmd.c (make_vasize):  Allow redefinition via MAKEVA_SIZE.
* mipsread.c (parse_type):  Alpha cc now supports the t->continued
bit, update algorithm to match the way the compiler uses it.

31 years ago* utils.c (fprintfi_filtered): Fix comments.
Jim Kingdon [Tue, 28 Sep 1993 17:10:37 +0000 (17:10 +0000)]
* utils.c (fprintfi_filtered): Fix comments.

31 years ago* main.c, utils.c: Add comments about immediate_quit.
Jim Kingdon [Tue, 28 Sep 1993 16:23:44 +0000 (16:23 +0000)]
* main.c, utils.c: Add comments about immediate_quit.

31 years ago * ecoff.c (ecoff_slurp_symbolic_info): Always determine raw_size
Peter Schauer [Tue, 28 Sep 1993 10:23:52 +0000 (10:23 +0000)]
* ecoff.c (ecoff_slurp_symbolic_info):  Always determine raw_size
explicitly.
* ecoff.c (ecoff_sec_to_styp_flags, ecoff_styp_to_sec_flags):  Handle
.fini section.

31 years agoWhitespace/comment cleanup. Use PARAMS in tc-vax.c.
Ken Raeburn [Tue, 28 Sep 1993 04:47:32 +0000 (04:47 +0000)]
Whitespace/comment cleanup.  Use PARAMS in tc-vax.c.
Make various routines return null pointer instead of empty string for
success indication.

31 years agoFix a typo
Stan Shebs [Tue, 28 Sep 1993 01:57:25 +0000 (01:57 +0000)]
Fix a typo

31 years agoNew and improved Lynx support.
Stan Shebs [Tue, 28 Sep 1993 01:53:25 +0000 (01:53 +0000)]
New and improved Lynx support.

31 years ago* coffread.c (read_coff_symtab): Don't call getfilename if there
Stu Grossman [Tue, 28 Sep 1993 01:19:07 +0000 (01:19 +0000)]
* coffread.c (read_coff_symtab):  Don't call getfilename if there
are no auxents.

31 years agohp300/hpux9 uses X11r5
David D. Zuhn [Tue, 28 Sep 1993 00:31:23 +0000 (00:31 +0000)]
hp300/hpux9 uses X11r5

31 years ago * archive.c: Define offsetof here.
Jim Kingdon [Mon, 27 Sep 1993 23:27:46 +0000 (23:27 +0000)]
* archive.c: Define offsetof here.
* hosts/*.h: Don't define it here.

31 years ago * elfcode.h (bfd_section_from_shdr): Set filepos for SHT_STRTAB
Ian Lance Taylor [Mon, 27 Sep 1993 23:12:40 +0000 (23:12 +0000)]
* elfcode.h (bfd_section_from_shdr): Set filepos for SHT_STRTAB
section.