binutils-gdb.git
31 years ago * subsegs.c (subseg_new): Set output_section of new section.
Ian Lance Taylor [Thu, 1 Apr 1993 02:14:29 +0000 (02:14 +0000)]
* subsegs.c (subseg_new): Set output_section of new section.
* as.c (perform_an_assemly_pass): Don't set output_section here.
* expr.c (expr_part, expr): Turn off section assertions for ECOFF,
since it has additional sections.
* read.c (s_lcomm): For MIPS ECOFF, put small objects in .sbss,
not bss_section.
* config/obj-ecoff.h (TARGET_SYMBOL_FIELDS): Added
ecoff_undefined field.
* config/obj-ecoff.c (obj_symbol_new_hook): Initialize
ecoff_undefined field.
(add_file): If using stabs, just output a stabs symbol rather than
creating a new fdr.
(obj_ecoff_begin, obj_ecoff_bend): Ignore line number by reading
it with get_absolute_expression, rather than skipping it by hand.
(obj_ecoff_loc): If using stabs, just output a stabs symbol rather
than ECOFF line number information.
(obj_ecoff_stab): Accept non-zero values for stabs line number.
(ecoff_build_symbols): Set ifilesym correctly.  Set storage class
to small, undefined and/or readonly sections if appropriate.
Don't output symbol names containing \001 characters.
(ecoff_frob_file): Make sure at least one fdr is output.
* config/tc-mips.h: Define TC_MIPS.
* config/tc-mips.c (g_switch_value): New static variable.
(md_assemble): Set gp size of output BFD.
(gp_reference): New function; returns 1 if expression can be
accesssed via gp.  Always returns 0 if not using ECOFF.
(macro_build): Convert BFD_RELOC_LO16 to BFD_RELOC_MIPS_GPREL if
possible.
(macro): Generate sequences using gp if possible.
(md_parse_option): Ignore -EL and -EB.  Parse -G.
(md_apply_fix): Added BFD_RELOC_MIPS_GPREL to ignored case.
(s_change_sec): Handle .rdata and .sdata for ECOFF.
(s_extern): Mark symbol as external.  Set ecoff_undefined field.

31 years agoNew material on H8/500, and better match between nodes and sections
Roland Pesch [Thu, 1 Apr 1993 02:09:36 +0000 (02:09 +0000)]
New material on H8/500, and better match between nodes and sections
(allows xrefs to work in printed version of doc).

31 years ago * bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size
Ian Lance Taylor [Thu, 1 Apr 1993 01:52:47 +0000 (01:52 +0000)]
* bfd.h: Updated for BFD_RELOC_MIPS_GPREL and bfd_[gs]et_gp_size
prototypes.

31 years agoBack off last two checkins (this checkin identical with
Roland Pesch [Thu, 1 Apr 1993 01:14:33 +0000 (01:14 +0000)]
Back off last two checkins (this checkin identical with
devo/gas/doc/as.texinfo 1.38).

31 years ago * m68k-dis.c: Fix prototype for fetch_arg().
Stu Grossman [Thu, 1 Apr 1993 01:05:39 +0000 (01:05 +0000)]
* m68k-dis.c:  Fix prototype for fetch_arg().

31 years ago * dis-asm.h: (disassemble_info): Fix typo in prototype of
Stu Grossman [Thu, 1 Apr 1993 00:36:21 +0000 (00:36 +0000)]
* dis-asm.h: (disassemble_info):  Fix typo in prototype of
dis_asm_memory_error().

31 years agoNew file dis-buf.c; part of read_memory_func changes just checked it
Jim Kingdon [Wed, 31 Mar 1993 21:45:59 +0000 (21:45 +0000)]
New file dis-buf.c; part of read_memory_func changes just checked it

31 years agoprovide a new interface (using read_memory_func) to call the disassemblers
Jim Kingdon [Wed, 31 Mar 1993 21:43:25 +0000 (21:43 +0000)]
provide a new interface (using read_memory_func) to call the disassemblers
which copes with errors in a plausible way

31 years ago * Makefile.in: Complete overhaul to merge many almost identical
Ian Lance Taylor [Wed, 31 Mar 1993 20:33:16 +0000 (20:33 +0000)]
* Makefile.in: Complete overhaul to merge many almost identical
targets.

31 years agoKeep mh-sun3
David D. Zuhn [Wed, 31 Mar 1993 02:54:10 +0000 (02:54 +0000)]
Keep mh-sun3

31 years agoBuild gas tar file, based on gdb code:
Ken Raeburn [Wed, 31 Mar 1993 01:31:10 +0000 (01:31 +0000)]
Build gas tar file, based on gdb code:

* Makefile.in (setup-dirs-gdb): Renamed from setup-dirs.
(gdb.tar.Z): Adjusted.

* Makefile.in (setup-dirs, taz): New targets; should be general enough to adapt
for gdb sometime.  Build only .z file.
(gas.tar.z): New target.

31 years agolog doc change
Ken Raeburn [Wed, 31 Mar 1993 00:51:59 +0000 (00:51 +0000)]
log doc change

31 years agoTeach sparc solaris to next over shared library functions.
K. Richard Pixley [Wed, 31 Mar 1993 00:29:22 +0000 (00:29 +0000)]
Teach sparc solaris to next over shared library functions.
* solib.[hc] (find_pc_section_from_so_list): new function and
  prototype.
* sparc-tdep.c (in_solib_trampoline): new function.
* symfile.[hc] (find_pc_section): new function and prototypes.
* target.[hc] (find_pc_section_from_targets): new function and
  prototypes.
* config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
  in_solib_trampoline.

31 years ago* infrun.c (wait_for_inferior): Revise comment.
Jim Kingdon [Tue, 30 Mar 1993 23:33:04 +0000 (23:33 +0000)]
* infrun.c (wait_for_inferior): Revise comment.

31 years agold.texinfo:
Roland Pesch [Tue, 30 Mar 1993 23:25:03 +0000 (23:25 +0000)]
ld.texinfo:
Conditionalize manual to maintain Cygnus, Hitachi versions in parallel.
(Texinfo conditionals are stable enough to permit this, at last!)
NOTE: @ignore'd passages from earlier versions DELETED; use CVS history
      to retrieve if wanted.

gen-doc.texi, h8-doc.texi: manual configuration definitions.

Makefile.in: link config defn (`gen' by default) to configdoc.texi, included
      by ld.texinfo

.Sanitize: add gen-doc.texi, h8-doc.texi

31 years agoTue Mar 30 08:06:24 1993 Jim Kingdon (kingdon@cygnus.com)
Jim Kingdon [Tue, 30 Mar 1993 23:06:29 +0000 (23:06 +0000)]
Tue Mar 30 08:06:24 1993  Jim Kingdon  (kingdon@cygnus.com)

* command.c (do_setshow_command): Use %u with var_{u,z}integer.

* command.{c,h}: New var_type var_integer.
main.c: Use it for history_size.

* rs6000-tdep.c, xcoffexec.c, config/rs6000/xm-rs6000.h, breakpoint.c:
Lint and byte-order fixups.

31 years ago * bfd.h: Update for lma field of section.
Steve Chamberlain [Tue, 30 Mar 1993 22:49:54 +0000 (22:49 +0000)]
* bfd.h: Update for lma field of section.

31 years ago Support for linking and loading at different places:
Steve Chamberlain [Tue, 30 Mar 1993 22:45:39 +0000 (22:45 +0000)]
Support for linking and loading at different places:

* ldlex.l: Add "AT" keyword.
* ldgram.y: Cleanup, and parse AT.
* ldlang.c (print_output_section_statement): Print output address
of section in map. (lang_size_sections): Fill sections' lma with
load address.
* ldlang.h (lang_output_section_statement_type): Add load_base
information.

31 years agoUse ANSI versions on AIX regardless of __STDC__.
Jim Kingdon [Tue, 30 Mar 1993 20:34:57 +0000 (20:34 +0000)]
Use ANSI versions on AIX regardless of __STDC__.

31 years ago(print_it_normal): return 0 after hitting watchpoint
Jim Kingdon [Tue, 30 Mar 1993 19:10:31 +0000 (19:10 +0000)]
(print_it_normal): return 0 after hitting watchpoint

31 years ago * breakpoint.h (bpstat): New field print_it.
Jim Kingdon [Tue, 30 Mar 1993 18:55:20 +0000 (18:55 +0000)]
* breakpoint.h (bpstat): New field print_it.
breakpoint.c (bpstat_print): Use it.
(print_it_normal): New function (from old bpstat_print code).
(bpstat_{alloc,stop_status}): Set print_it field.

* breakpoint.c (bpstat_stop_status): Use catch_errors when
evaluating watchpoint condition, via new function watchpoint_check.
Also stop if watchpoint disabled due to leaving its block.

31 years agoReflect new indirect info
Steve Chamberlain [Tue, 30 Mar 1993 18:25:27 +0000 (18:25 +0000)]
Reflect new indirect info

31 years ago * build-all.mk: Use CC=cc -Xs on Solaris.
Ian Lance Taylor [Tue, 30 Mar 1993 18:04:32 +0000 (18:04 +0000)]
* build-all.mk: Use CC=cc -Xs on Solaris.

31 years ago * config/unix-gdb.exp: Add missing return 0.
Peter Schauer [Tue, 30 Mar 1993 18:00:50 +0000 (18:00 +0000)]
* config/unix-gdb.exp:  Add missing return 0.

31 years agoTue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Tue, 30 Mar 1993 17:49:00 +0000 (17:49 +0000)]
Tue Mar 30 09:40:25 1993  Steve Chamberlain  (sac@thepub.cygnus.com)

* ldindr.c (add_indirect): Keep more information in the alias
symbol chain.
* ldlang.c (wild_doit):  Don't inherit NEVER_LOAD section
attribute from an input section.
* ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by
default. (Q_enter_file_symbos): Indirect symbols now are known by
their section, not a special symbol flag.
* ldsym.c (write_file_locals): Indirect symbols aren't local.
(write_file_globals): Write the mapping for an indirect symbol.
* relax.c (build_it): When forced to write a NEVER_LOAD section,
fill it with zeros.

31 years ago * aoutx.h (translate_from_native_sym_flags): Now handles indirect
Steve Chamberlain [Tue, 30 Mar 1993 17:40:51 +0000 (17:40 +0000)]
* aoutx.h (translate_from_native_sym_flags): Now handles indirect
symbols in a better way. (translate_to_native_sym_flag): Set the
N_INDR bit when necessary. (aout<>slurp_symbol_table): Maintain
indirect state.
* section.c: Added BFD_IND_SECTION_NAME and bfd_ind_section.
(bfd_make_section): Cope with new builtin section.
* syms.c (bfd_decode_symclass): Can now print indirect section
info.

31 years agonew test cases
Ken Raeburn [Tue, 30 Mar 1993 16:57:45 +0000 (16:57 +0000)]
new test cases

31 years ago * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
Peter Schauer [Tue, 30 Mar 1993 16:38:23 +0000 (16:38 +0000)]
* gdb.t16/printcmds.exp:  Remove misplaced xfail that caused an early
test termination.

31 years agogo back to const instead of CONST
Ken Raeburn [Tue, 30 Mar 1993 16:23:32 +0000 (16:23 +0000)]
go back to const instead of CONST

31 years agocheckpoint, for lots of recent changes
Ken Raeburn [Tue, 30 Mar 1993 16:18:16 +0000 (16:18 +0000)]
checkpoint, for lots of recent changes

31 years ago*** empty log message ***
Jim Kingdon [Tue, 30 Mar 1993 16:07:17 +0000 (16:07 +0000)]
*** empty log message ***

31 years agoadd comment
Jim Kingdon [Tue, 30 Mar 1993 15:59:01 +0000 (15:59 +0000)]
add comment

31 years agobuild file symbol fwd pointers properly, don't deref symbol #s as pointers
Ken Raeburn [Tue, 30 Mar 1993 15:22:27 +0000 (15:22 +0000)]
build file symbol fwd pointers properly, don't deref symbol #s as pointers

31 years agomove local include after system ones; use CONST not const
Ken Raeburn [Tue, 30 Mar 1993 15:17:58 +0000 (15:17 +0000)]
move local include after system ones; use CONST not const

31 years agostart using new texinfo stuff -- variables, conditionals. far from complete
Ken Raeburn [Tue, 30 Mar 1993 15:16:08 +0000 (15:16 +0000)]
start using new texinfo stuff -- variables, conditionals.  far from complete

31 years agolook for GAS_VERSION macro, not external version_string var
Ken Raeburn [Tue, 30 Mar 1993 15:15:53 +0000 (15:15 +0000)]
look for GAS_VERSION macro, not external version_string var

31 years ago * mips-pinsn.c: Add missing include of dis-asm.h.
Peter Schauer [Tue, 30 Mar 1993 08:16:25 +0000 (08:16 +0000)]
* mips-pinsn.c: Add missing include of dis-asm.h.

31 years agoFix index reference (h8/300, not i960).
Roland Pesch [Tue, 30 Mar 1993 06:55:41 +0000 (06:55 +0000)]
Fix index reference (h8/300, not i960).

31 years agotop level CC settings for special tweaks needed
David D. Zuhn [Tue, 30 Mar 1993 04:01:55 +0000 (04:01 +0000)]
top level CC settings for special tweaks needed

31 years ago * Makefile.in (clean, distclean, realclean): Recursively apply
Fred Fish [Tue, 30 Mar 1993 01:49:04 +0000 (01:49 +0000)]
* Makefile.in (clean, distclean, realclean):  Recursively apply
to subdirs first, rather than last.  This avoids, for example,
Makefile being removed in a parent directory before the recursive
make is run.

31 years ago * configure.in (subdirs): Put back gdb.t17 which mysteriously
Fred Fish [Tue, 30 Mar 1993 01:38:19 +0000 (01:38 +0000)]
* configure.in (subdirs):  Put back gdb.t17 which mysteriously
disappeared.

31 years agoUpdate for just completed file renamings.
Fred Fish [Tue, 30 Mar 1993 01:14:35 +0000 (01:14 +0000)]
Update for just completed file renamings.

31 years ago * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
Fred Fish [Tue, 30 Mar 1993 00:33:44 +0000 (00:33 +0000)]
* config/m68k/tm-m68k.h:  Renamed from config/m68k/tm-68k.h.
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}:  Include tm-m68k.h
instead of tm-68k.h.
* Makefile.in (HFILES):  tm-68k.h renamed to tm-m68k.h.
* README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
nm-hp300bsd.h, config/m68k/xm-apollo68b.h}:  Map '68k' to 'm68k'.
* a29k/tm-a29k.h, doc/gdbint.texinfo:  Account for renaming of
tm-68k.h to tm-m68k.h.
* m68k/m68k-fp.mt (TM_FILE):  tm-68k-fp.h renamed to tm-m68k-fp.h.
* m68k/m68k-nofp.mt (TM_FILE):  tm-68k-nofp.h renamed to
tm-m68k-nofp.h.

31 years agoAdd comments regarding breakpoint_re_set
Jim Kingdon [Mon, 29 Mar 1993 23:46:12 +0000 (23:46 +0000)]
Add comments regarding breakpoint_re_set

31 years ago * config/a29k/tm-a29k.h: Renamed from config/a29k/tm-29k.h.
Fred Fish [Mon, 29 Mar 1993 23:38:30 +0000 (23:38 +0000)]
* config/a29k/tm-a29k.h:  Renamed from config/a29k/tm-29k.h.
* a29k-pinsn.c:  Renamed from am29k-pinsn.c.
* a29k-tdep.c:  Renamed from am29k-tdep.c.
* remote-eb.c, config/a29k/tm-ultra3.h:  Include renamed tm-a29k.h.
* remote-monitor.c, remote-st2000.c, config/a29k/{nm-ultra3.h,
tm-a29k.h, xm-ultra3.h}, config/romp/rtbsd.mh, doc/gdbinv-s.texi,
testsuite/gdb.t15/funcargs.exp, testsuite/gdb.t17/callfuncs.exp:
Map '29k' to 'a29k'.
* config/a29k/{a29k-kern.mt, a29k-udi.mt, a29k.mt, ultra3.mt}
(TDEPFILES):  Use renamed a29k-pinsn.o and a29k-tdep.o.
* config/a29k/{a29k-udi.mt, a29k.mt} (TM_FILE):  Use renamed
tm-a29k.h.
* config/a29k/a29k-udi.mt (MT_CFLAGS):  Remove TARGET_AM29K
define that does not appear anywhere else in the gdb source tree.
* doc/gdbinit.texinfo:  Document renaming of tm-29k.h to tm-a29k.h.

31 years ago * xcoffread.c (sort_syms, compare_symbols): Remove.
Jim Kingdon [Mon, 29 Mar 1993 22:25:59 +0000 (22:25 +0000)]
* xcoffread.c (sort_syms, compare_symbols): Remove.
(xcoff_symfile_read): Use sort_all_symtab_syms from symfile.c
not our own sort_syms (it is identical).

31 years ago* xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).
Jim Kingdon [Mon, 29 Mar 1993 21:58:29 +0000 (21:58 +0000)]
* xcoffread.c: Nuke NAMES_HAVE_DOT define (not used).

31 years ago * config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
Steve Chamberlain [Mon, 29 Mar 1993 21:56:49 +0000 (21:56 +0000)]
* config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
wasn't being stored into scnhdr.
* config/obj-coffbfd.h: Add prototype of s_get_segment.
* read.c (TC_START_LABEL): Default definition.
(read_a_source_file): Use TC_START_LABEL macro to work out
if a label has been seen.

31 years ago * configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
Ian Lance Taylor [Mon, 29 Mar 1993 21:49:44 +0000 (21:49 +0000)]
* configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
the bottom (make expands variables in dependencies when the
dependencies are read, not when they are used).

31 years ago * breakpoint.{c,h}: Add exp_string to struct breakpoint and use
Jim Kingdon [Mon, 29 Mar 1993 21:49:39 +0000 (21:49 +0000)]
* breakpoint.{c,h}: Add exp_string to struct breakpoint and use
it in breakpoint_re_set.

31 years agoNumerous bug fixes
Steve Chamberlain [Mon, 29 Mar 1993 21:45:50 +0000 (21:45 +0000)]
Numerous bug fixes

31 years agoadd h8500 directory
Steve Chamberlain [Mon, 29 Mar 1993 21:23:15 +0000 (21:23 +0000)]
add h8500 directory

31 years ago(big_cons): If target_big_endian, reverse bytes being copied. (Temporary
Ken Raeburn [Mon, 29 Mar 1993 21:20:04 +0000 (21:20 +0000)]
(big_cons): If target_big_endian, reverse bytes being copied.  (Temporary
fix -- should be cleaned up later.)
(s_ignore): Delete declaration of is_end_of_line.
(potable): Change .app-file to .appfile.

31 years ago * config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
Ian Lance Taylor [Mon, 29 Mar 1993 20:58:34 +0000 (20:58 +0000)]
* config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
a29k .bss section; the mondfe program doesn't like it.

31 years agoFirst crack at a test suite.
Ken Raeburn [Mon, 29 Mar 1993 13:27:13 +0000 (13:27 +0000)]
First crack at a test suite.

31 years agoupdated
Ken Raeburn [Mon, 29 Mar 1993 13:23:55 +0000 (13:23 +0000)]
updated

31 years agoobjdump.c: Use correct prototype of fprintf, else it won't compile on ANSI
Ken Raeburn [Mon, 29 Mar 1993 13:22:16 +0000 (13:22 +0000)]
objdump.c: Use correct prototype of fprintf, else it won't compile on ANSI
C systems.

31 years ago * breakpoint.c (breakpoint_re_set_one): Fix storage leak.
Peter Schauer [Sun, 28 Mar 1993 19:28:26 +0000 (19:28 +0000)]
* breakpoint.c (breakpoint_re_set_one): Fix storage leak.
* breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
went out of scope.
* exec.c (exec_close): Fix storage leak.
* exec.c (exec_file_command): Make sure that bfd doesn't realign the
output sections when patching an executable.
* mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
when writing all registers.
* mips-tdep.c (mips_push_dummy_frame): Save floating point registers
at the right offset in the dummy frame.
* mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
stStaticProc and stEnd symbols as they are generated by gcc-2.x.
* mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.

31 years agoReorder recent entries that we out of date sequence, and add an entry of
Fred Fish [Sun, 28 Mar 1993 00:58:39 +0000 (00:58 +0000)]
Reorder recent entries that we out of date sequence, and add an entry of
mine that got dropped somehow.

31 years agoCatch up on today's changes.
Roland Pesch [Sat, 27 Mar 1993 02:06:18 +0000 (02:06 +0000)]
Catch up on today's changes.

31 years ago*-config.texi: introduce new switch GENERIC to describe text *only* for
Roland Pesch [Sat, 27 Mar 1993 01:59:12 +0000 (01:59 +0000)]
*-config.texi: introduce new switch GENERIC to describe text *only* for
(the usual) non-specialized versions of the manual.

gdb.texinfo: list of nonstandard init file names, with brief descriptions
             (permits closing PRMS gdb/2296).

31 years ago1. Update conditional markup:
Roland Pesch [Sat, 27 Mar 1993 01:32:11 +0000 (01:32 +0000)]
1. Update conditional markup:
 (a) to make H8 configuration come out right (first attempt since
     conversion to texinfo conditionals);
 (b) to exploit yesterday's makeinfo bugfix, using conditionals in menus
     rather than multiple alternative menus.

2. Update H8 text to refer to H8/500 as well as H8/300.

3. Define config file gdb-config.texi as a link in Makefile, based on a
   DOC_CONFIG variable.

31 years ago* Makefile.in (TARFILES): Avoid trailing backslash.
John Gilmore [Fri, 26 Mar 1993 23:26:05 +0000 (23:26 +0000)]
* Makefile.in (TARFILES):  Avoid trailing backslash.

31 years agoFetch lazy values
Jim Kingdon [Fri, 26 Mar 1993 22:49:53 +0000 (22:49 +0000)]
Fetch lazy values

31 years ago * rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
Jim Kingdon [Fri, 26 Mar 1993 19:55:57 +0000 (19:55 +0000)]
* rs6000-tdep.c (single_step): Misc cleanups (CORE_ADDR not int,
don't use sizeof(int) for target stuff, etc).

31 years ago * Clean up xcoff relocation.
Jim Kingdon [Fri, 26 Mar 1993 14:59:43 +0000 (14:59 +0000)]
* Clean up xcoff relocation.
objfiles.h (struct objfiles): Add section_offsets, num_sections.
symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
Set them.
symtab.h (struct general_symbol_info): Add section field.
minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
xcoffread.c: Set section for symbols and msymbols.
(struct symtab): Add block_line_section field.
buildsym.c (end_symtab): Set it.
(end_symtab and callers): Add section parameter.
objfiles.c (objfile_relocate): New funciton.
xcoffexec.c (vmap_symtab): Use it.
xcoffsolib.h (struct vmap): Remove unused fields.
config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
CORE_NEEDS_RELOCATION, symtab_relocated.
config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
rs6000-tdep.c: Make loadinfotext static.
breakpoint.c (fixup_breakpoints): Doc fix.
symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
(end_symtab): primary field replaces nonreloc.

31 years agoadd missing z8000 define
Ken Raeburn [Fri, 26 Mar 1993 13:35:15 +0000 (13:35 +0000)]
add missing z8000 define

31 years agoIf $(srcdir) isn't ., create links to all predefined as-*.texinfo files that
Ken Raeburn [Fri, 26 Mar 1993 13:16:57 +0000 (13:16 +0000)]
If $(srcdir) isn't ., create links to all predefined as-*.texinfo files that
are found in $(srcdir).

31 years ago * gdb.t15/funcargs.exp: Fix expected outputs to include
Fred Fish [Fri, 26 Mar 1993 05:07:08 +0000 (05:07 +0000)]
* gdb.t15/funcargs.exp:  Fix expected outputs to include
"backtrace 100\r" rather than just "backtrace\r", to match last
change.

31 years agoadd INFO-DIR-ENTRY
David D. Zuhn [Fri, 26 Mar 1993 03:01:46 +0000 (03:01 +0000)]
add INFO-DIR-ENTRY

31 years agoCVS botch. Add MACHTYPE_OK to mipsbsd.c; re-remove aout-mipsbsd.c.
Per Bothner [Fri, 26 Mar 1993 00:38:09 +0000 (00:38 +0000)]
CVS botch.  Add MACHTYPE_OK to mipsbsd.c;  re-remove aout-mipsbsd.c.

31 years agoList the known things that are currently sanitized away. (Sanitize
Fred Fish [Thu, 25 Mar 1993 23:22:52 +0000 (23:22 +0000)]
List the known things that are currently sanitized away.  (Sanitize
should support a separate list of these things and report them
differently from unknown things that are sanitized away).

31 years ago * findvar.c (read_register, write_register): Make these capable
Stu Grossman [Thu, 25 Mar 1993 23:15:31 +0000 (23:15 +0000)]
* findvar.c (read_register, write_register):  Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
* (value_from_register):  Install H8500 specific code to return
proper value when register is being used as a pointer.
* h8500-tdep.c:  Remove extra defines of NUM_REGS.
(h8500_skip_prologue):  Use correct lengths for LINK instructions.
(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
chain frames properly by combining frame pointer with T reg.
(init_extra_frame_info):  Delete.  It's now a macro.
(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
offset by the correct amount off of the frame pointer.
(register_byte):  Delete.  It's now a macro.
(register_raw_size, register_virtual_size):  Delete.  Replaced by
common routine h8500_register_size, cuz there's no difference
between the raw & virtual sizes on this machine.
(register_convert_to_raw, register_convert_to_virtual):  Delete,
cuz there's no difference between the raw & virtual forms.
Replaced by memcpy in tm file.
(register_virtual_type):  Rename to h8500_register_virtual_type.
Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
emulator have same reg offsets.  This is all handled in the
simulator code now.
(h8500_trapped_internalvar):  New routine to detect references to
convenience vars acting as pointer pseudo-regs.
(h8500_value_trapped_internalvar):  Conjure up value of pointer
pseudo-regs.
(h8500_set_trapped_internalvar):  Convert set value in real
register references.
infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
code segment register.
infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
by hand.
(wait_for_inferior):  Add h8500 specific code to add stack segment
when reading SP register.
remote-sim.c (fetch_register):  Spacing.
tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
detect cruft.  Redo all register manipulation stuff.  Get rid of
pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
to frame pointer.  (IS_TRAPPED_INTERNALVAL,
VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
to create internal vars for pointer pseudo-regs.

31 years ago * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
Fred Fish [Thu, 25 Mar 1993 23:08:24 +0000 (23:08 +0000)]
* alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
i860-pinsn.c, i860-tdep.c, config/i860/*:  Remove incomplete i860
support that can't be integrated anyway due to lack of clear
authorship.

31 years ago * findvar.c (read_register, write_register): Make these capable
Stu Grossman [Thu, 25 Mar 1993 22:34:26 +0000 (22:34 +0000)]
* findvar.c (read_register, write_register):  Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
* (value_from_register):  Install H8500 specific code to return
proper value when register is being used as a pointer.
* h8500-tdep.c:  Remove extra defines of NUM_REGS.
(h8500_skip_prologue):  Use correct lengths for LINK instructions.
(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
chain frames properly by combining frame pointer with T reg.
(init_extra_frame_info):  Delete.  It's now a macro.
(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
offset by the correct amount off of the frame pointer.
(register_byte):  Delete.  It's now a macro.
(register_raw_size, register_virtual_size):  Delete.  Replaced by
common routine h8500_register_size, cuz there's no difference
between the raw & virtual sizes on this machine.
(register_convert_to_raw, register_convert_to_virtual):  Delete,
cuz there's no difference between the raw & virtual forms.
Replaced by memcpy in tm file.
(register_virtual_type):  Rename to h8500_register_virtual_type.
Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
emulator have same reg offsets.  This is all handled in the
simulator code now.
(h8500_trapped_internalvar):  New routine to detect references to
convenience vars acting as pointer pseudo-regs.
(h8500_value_trapped_internalvar):  Conjure up value of pointer
pseudo-regs.
(h8500_set_trapped_internalvar):  Convert set value in real
register references.
infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
code segment register.
infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
by hand.
(wait_for_inferior):  Add h8500 specific code to add stack segment
when reading SP register.
remote-sim.c (fetch_register):  Spacing.
tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
detect cruft.  Redo all register manipulation stuff.  Get rid of
pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
to frame pointer.  (IS_TRAPPED_INTERNALVAL,
VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
to create internal vars for pointer pseudo-regs.

31 years ago * config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
Ian Lance Taylor [Thu, 25 Mar 1993 22:09:27 +0000 (22:09 +0000)]
* config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
(fixup_segment): Add a29k special case; the linker is not prepared
to see a segment offset here.

31 years ago * config/udi-gdb.exp (gdb_exit): Remove close command.
Ian Lance Taylor [Thu, 25 Mar 1993 20:34:44 +0000 (20:34 +0000)]
* config/udi-gdb.exp (gdb_exit): Remove close command.
(gdb_target_udi): New procedure to set the UDI target.
(gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
* gdb.t00/default.exp: Added expected failures for a29k-*-udi.
Added waits for prompts after several question responses.  Added
some more responses used by a29k-amd-udi-gdb.
* gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
pass different arguments, restart UDI connection after program
completion.
* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
* gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
after program completion.
* gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
compiled with a SELECT_VECS setting.
* gdb.t15/funcargs.exp: Use argument to backtrace to prevent
infinite recursion.

* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
Added checks for COFF results, and made them expected failures for
all targets.  It would be better to make them expected failures
for COFF targets only.

31 years agoRemove i860 directory for list of things to keep.
Fred Fish [Thu, 25 Mar 1993 19:49:29 +0000 (19:49 +0000)]
Remove i860 directory for list of things to keep.

31 years ago * Makefile.in: Numerous small changes to macro definitions
Fred Fish [Thu, 25 Mar 1993 18:18:14 +0000 (18:18 +0000)]
* Makefile.in:  Numerous small changes to macro definitions
and rules for building gdb distribution tree.  Many macros
eliminated or merged, and rules simplified.
* alldeps.mak:  Update.
* depend:  Update.

31 years ago * app.c (do_scrub_next_char): Added new state, 10, modifying state
Ian Lance Taylor [Thu, 25 Mar 1993 17:18:23 +0000 (17:18 +0000)]
* app.c (do_scrub_next_char): Added new state, 10, modifying state
9 to only keep a space in between identifier characters.

31 years agolog for configure change
Ken Raeburn [Thu, 25 Mar 1993 14:10:06 +0000 (14:10 +0000)]
log for configure change

31 years agoSome versions of make don't like empty variable expansions on lines by
Ken Raeburn [Thu, 25 Mar 1993 14:03:34 +0000 (14:03 +0000)]
Some versions of make don't like empty variable expansions on lines by
themselves (outside of dependency rules).  Fix such Chill stuff to be
comments instead.

31 years agodoc last changes
David D. Zuhn [Thu, 25 Mar 1993 08:32:55 +0000 (08:32 +0000)]
doc last changes

31 years agolook in srcdir for texinfo source, then in objdir
David D. Zuhn [Thu, 25 Mar 1993 08:32:08 +0000 (08:32 +0000)]
look in srcdir for texinfo source, then in objdir

31 years agoDoesn't need links anymore.
Rob Savoye [Thu, 25 Mar 1993 05:07:24 +0000 (05:07 +0000)]
Doesn't need links anymore.

31 years agorename deja-gnu to dejagnu
David D. Zuhn [Thu, 25 Mar 1993 01:25:09 +0000 (01:25 +0000)]
rename deja-gnu to dejagnu

31 years agoadd dvi, fix info & install-info (no recursion)
David D. Zuhn [Wed, 24 Mar 1993 22:45:00 +0000 (22:45 +0000)]
add dvi, fix info & install-info (no recursion)

31 years agoadd dvi target
David D. Zuhn [Wed, 24 Mar 1993 22:07:34 +0000 (22:07 +0000)]
add dvi target

31 years agorecurse through SUBDIRS for dvi target
David D. Zuhn [Wed, 24 Mar 1993 21:53:48 +0000 (21:53 +0000)]
recurse through SUBDIRS for dvi target

31 years agoadd dvi target, define & use TEXI2DVI
David D. Zuhn [Wed, 24 Mar 1993 21:51:47 +0000 (21:51 +0000)]
add dvi target, define & use TEXI2DVI

31 years agoadd dvi target
David D. Zuhn [Wed, 24 Mar 1993 21:51:04 +0000 (21:51 +0000)]
add dvi target

31 years ago * aout-target.h (MY(object_p)): Fail if MACHTYPE_OK is
Per Bothner [Wed, 24 Mar 1993 21:47:14 +0000 (21:47 +0000)]
* aout-target.h (MY(object_p)):  Fail if MACHTYPE_OK is
defined, and yields false.
* aout-mipsbsd.c, i386bsd.c:  Define MACHTYPE_OK appropriately.

* archive.c (snarf_ar_hdr):  Add support for reading (only,
so far) BSD-4.4-style extended headers.
* archive.c:  Some more comments.

31 years agofix setting of target_alias when using config.guess (fixes PR config/2422)
David D. Zuhn [Wed, 24 Mar 1993 21:10:41 +0000 (21:10 +0000)]
fix setting of target_alias when using config.guess (fixes PR config/2422)

31 years ago * gdb.t31/gdbme.ch: Re-enable code that previously caused
Fred Fish [Wed, 24 Mar 1993 17:50:44 +0000 (17:50 +0000)]
* gdb.t31/gdbme.ch:  Re-enable code that previously caused
compiler to coredump.
* gdb.t31/chillvars.exp:  Re-enable tests that depend on that
code.

31 years agoadd installcheck & dvi
David D. Zuhn [Wed, 24 Mar 1993 10:37:27 +0000 (10:37 +0000)]
add installcheck & dvi

31 years agoupdate dvi & info targets
David D. Zuhn [Wed, 24 Mar 1993 10:34:02 +0000 (10:34 +0000)]
update dvi & info targets

31 years agomipsbsd renaming, libbfd optimization fixes
Ken Raeburn [Wed, 24 Mar 1993 08:18:16 +0000 (08:18 +0000)]
mipsbsd renaming, libbfd optimization fixes

31 years agoturn on file-position optimizations again
Ken Raeburn [Wed, 24 Mar 1993 08:01:07 +0000 (08:01 +0000)]
turn on file-position optimizations again

31 years agodisable position-caching code for now
Ken Raeburn [Wed, 24 Mar 1993 05:10:05 +0000 (05:10 +0000)]
disable position-caching code for now

31 years agofix some (not all) bugs in previous changes
Ken Raeburn [Wed, 24 Mar 1993 05:09:18 +0000 (05:09 +0000)]
fix some (not all) bugs in previous changes