binutils-gdb.git
31 years agoAdd section table to objfile struct. Use it for find_pc_section.
K. Richard Pixley [Wed, 7 Apr 1993 07:04:26 +0000 (07:04 +0000)]
Add section table to objfile struct.  Use it for find_pc_section.
* objfiles.c (add_to_objfile_sections,
  build_objfile_section_table, find_pc_section): new functions.
  (allocate_objfile): build section table.
* objfiles.h (struct obj_section): new structure.
  (struct objfile): add section table.
  (find_pc_section): new prototype.
* solib.[ch] (find_pc_section_from_so_list): removed.
* sparc-tdep.c: include objfiles.h for find_pc_section.  include
  symfile.h for objfiles.h.
  (in_solib_trampoline): adjusted for new find_pc_section
  prototype.  Removed BAD_RICH_HACK ifdefs.
* symfile.c (syms_from_objfile): offset objfile sections.
  (find_pc_section): removed.  Also removed BAD_RICH_HACK ifdefs.
* symfile.h (find_pc_section): prototype removed.  Also fixed
  comment typo NUL -> NULL.
* target.[ch] (find_pc_section_from_targets): removed.
* config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.

31 years ago * ser-go32.c: Format. (go32_open): Use proper return value.
Stu Grossman [Wed, 7 Apr 1993 04:43:48 +0000 (04:43 +0000)]
* ser-go32.c:  Format.  (go32_open):  Use proper return value.

* configure.in:  Undo conditional configdirs hack for sparclite.

31 years agoFix for PR 124: make 'rb' correctly handle case where we have multiple
Jim Wilson [Wed, 7 Apr 1993 00:09:11 +0000 (00:09 +0000)]
Fix for PR 124: make 'rb' correctly handle case where we have multiple
functions with the same name in different files.

31 years agoUpdate with latest build dependencies.
Fred Fish [Tue, 6 Apr 1993 23:54:16 +0000 (23:54 +0000)]
Update with latest build dependencies.

31 years ago*** empty log message ***
Stu Grossman [Tue, 6 Apr 1993 23:48:29 +0000 (23:48 +0000)]
*** empty log message ***

31 years agoCouple of more minor tweaks to gdb.tar.Z target.
Fred Fish [Tue, 6 Apr 1993 23:32:16 +0000 (23:32 +0000)]
Couple of more minor tweaks to gdb.tar.Z target.

31 years ago (Changes and new files to make "none" a full fledged configuration)
Fred Fish [Tue, 6 Apr 1993 22:09:33 +0000 (22:09 +0000)]
(Changes and new files to make "none" a full fledged configuration)
* config/none/{nm-none.h, tm-none.h, xm-none.h}:  New files.
Currently only tm-none.h has any meaningful contents.
* config/none/none.mh (NAT_FILE):  Use nm-none.h
* config/none/none.mh (XM_FILE):  Use xm-none.h
* config/none/none.mt (TM_FILE):  Use tm-none.h

31 years ago* values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.
Jim Kingdon [Tue, 6 Apr 1993 21:20:30 +0000 (21:20 +0000)]
* values.c (USE_STRUCT_RETURN): Only use gcc wierdness for gcc1.

31 years ago * build-all.mk: -G 8 no longer required for MIPS targets.
Ian Lance Taylor [Tue, 6 Apr 1993 20:49:55 +0000 (20:49 +0000)]
* build-all.mk: -G 8 no longer required for MIPS targets.
* test-build.mk: Don't pass host argument to configure; make it
guess.

31 years ago * xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
Jim Kingdon [Tue, 6 Apr 1993 20:08:50 +0000 (20:08 +0000)]
* xcoffread.c (read_xcoff_symtab): Deal correctly with symbols of
exactly 8 characters.

31 years ago * configure.in: Sparclite uses sparc config dir. Also has it's
Stu Grossman [Tue, 6 Apr 1993 17:40:55 +0000 (17:40 +0000)]
* configure.in:  Sparclite uses sparc config dir.  Also has it's
own tm- & .mt files now.  Also add sparclite to configdirs.
* go32-xdep.c:  Dummy routines for sigsetmask & strlwr.
* config/i386/go32.mh:  Nullify def of TERMCAP.
* config/i386/xm-go32.h:  Get rid of redef of EIO.
* config/sparc/{sparclite.mh tm-sparclite.h}:  New sparclite
specific configs.  Very similar to sun4os4, but without solib.
* sparclite/{Makefile.in configure.in}:  First cut at making this
dir configgable.

31 years agoForgot changelog...
Fred Fish [Tue, 6 Apr 1993 17:39:03 +0000 (17:39 +0000)]
Forgot changelog...

31 years ago * ser-go32.c: First cut at adapting to new serial interface.
Stu Grossman [Tue, 6 Apr 1993 10:13:03 +0000 (10:13 +0000)]
* ser-go32.c:  First cut at adapting to new serial interface.

31 years ago * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
Stu Grossman [Tue, 6 Apr 1993 05:50:54 +0000 (05:50 +0000)]
* Makefile.in (SFILES OBS):  Add serial.[co] & ser-hardwire.[co].
These implement a new serial line interface for talking to remote
targets.
* configure.in:  Link ser-hardwire.c to ser-unix.c for all hosts,
EXCEPT go32, which gets ser-go32.c.
* remote.c:  Use new serial interface.  More remote-xxx's to be
converted later.
* ser-bsd.c, ser-termios.c:  Removed.
* serial.c:  New.  Implements common operations for all serial
types.
* ser-unix.c:  New.  Unix specific serial operations for various
flavors of Unix (Posix, SysV, BSD).
* serial.h:  Generic serial interface defs.
* config/i386/go32.mh, config/i386/i386bsd.h,
config/m68k/apollo68b.mh, config/sparc/sun4os4.mh:  Remove
ser-bsd.o from XDEPFILES.  All the magic is now handled in
configure.in.

31 years ago * config/h8500/tm-h8500.h: Clean up brain damage found by GCC.
Stu Grossman [Tue, 6 Apr 1993 03:52:31 +0000 (03:52 +0000)]
* config/h8500/tm-h8500.h:  Clean up brain damage found by GCC.

31 years agotm-68k* -> tm-m68k*
Fred Fish [Tue, 6 Apr 1993 02:26:41 +0000 (02:26 +0000)]
tm-68k* -> tm-m68k*

31 years agoam29k* -> a29k*
Fred Fish [Tue, 6 Apr 1993 02:25:51 +0000 (02:25 +0000)]
am29k* -> a29k*

31 years ago * config/tc-mips.c (gp_reference): Certain magic symbols can never
Ian Lance Taylor [Tue, 6 Apr 1993 00:56:53 +0000 (00:56 +0000)]
* config/tc-mips.c (gp_reference): Certain magic symbols can never
be referenced off the GP register.

31 years agoThese changes make shared library support work again on 386 COFF
Ian Lance Taylor [Tue, 6 Apr 1993 00:53:41 +0000 (00:53 +0000)]
These changes make shared library support work again on 386 COFF
systems.

* coffcode.h (styp_to_sec_flags): Set SEC_SHARED_LIBRARY for a
STYP_NOLOAD | STYP_BSS section.  Don't set SEC_NEVER_LOAD for a
STYP_INFO section.
(coff_compute_section_file_positions): Force vma and lma of _LIB
section to be zero.
(coff_set_section_contents): Count number of entries in new lma
field, not in vma.
* coffgen.c (make_a_section_from_file): Force lineno_count of
SEC_SHARED_LIBRARY section to be zero, since it is non-zero on the
SCO 3.2v4 shared library.
* seclet.c (rel): Copy over any section with contents, not just
loadable sections.

* coff-mips.c (ecoff_make_empty_symbol): Zero out newly allocated
symbol.

31 years agoMake "ta" the default trap instruction, "t" the alias.
John Gilmore [Tue, 6 Apr 1993 00:38:25 +0000 (00:38 +0000)]
Make "ta" the default trap instruction, "t" the alias.

31 years agoThis makes ld -r work for i386-coff targets.
Ian Lance Taylor [Mon, 5 Apr 1993 20:09:58 +0000 (20:09 +0000)]
This makes ld -r work for i386-coff targets.

* coff-i386.c (coff_i386_reloc): New function, to generate
relocateable output correctly.
(howto_table): Use coff_i386_reloc for all reloc types.
(CALC_ADDEND): Use a more efficient hack to get the correct addend
for a common symbol.
(i386comm_value): Removed; no longer needed.

31 years ago * app.c (do_scrub_next_char): Handle states 9 and 10 correctly
Ian Lance Taylor [Mon, 5 Apr 1993 19:02:20 +0000 (19:02 +0000)]
* app.c (do_scrub_next_char): Handle states 9 and 10 correctly
when dealing with characters of type LEX_IS_TWOCHAR_COMMENT_1ST,
LEX_IS_STRINGQUOTE, and LEX_IS_ONECHAR_QUOTE.

31 years agoinclude string.h
Ken Raeburn [Mon, 5 Apr 1993 18:00:40 +0000 (18:00 +0000)]
include string.h

31 years agoNew script. Simply evaluates and exec's its arguments. Needed until I
Ken Raeburn [Mon, 5 Apr 1993 17:32:38 +0000 (17:32 +0000)]
New script.  Simply evaluates and exec's its arguments.  Needed until I
can figure out how to handle redirection easily in tcl/expect.

31 years agoadd some new tests, and new testing procs
Ken Raeburn [Mon, 5 Apr 1993 17:26:51 +0000 (17:26 +0000)]
add some new tests, and new testing procs

31 years agofrom gas/testscripts -- may be useful someday
Ken Raeburn [Mon, 5 Apr 1993 17:25:37 +0000 (17:25 +0000)]
from gas/testscripts -- may be useful someday

31 years ago * config/te-irix.h: New file; irix needs a different LOCAL_LABEL
Ian Lance Taylor [Mon, 5 Apr 1993 16:44:21 +0000 (16:44 +0000)]
* config/te-irix.h: New file; irix needs a different LOCAL_LABEL
definition from other MIPS targets.
* configure.in (mips-*-irix): Use emulation irix.

31 years ago * Makefile.in (SFILES_INCLUDED): gdb-config.texi is no longer in
Ian Lance Taylor [Mon, 5 Apr 1993 16:07:40 +0000 (16:07 +0000)]
* Makefile.in (SFILES_INCLUDED): gdb-config.texi is no longer in
$(srcdir).
(gdb-config.texi): Depend on file in $(srcdir).

31 years ago * config/tc-h8500.c: Get relax size of branch instructions right,
Steve Chamberlain [Sun, 4 Apr 1993 22:23:24 +0000 (22:23 +0000)]
* config/tc-h8500.c: Get relax size of branch instructions right,
(get_operand): Parse @sp+ correctly.

31 years ago*** empty log message ***
Steve Chamberlain [Sun, 4 Apr 1993 22:23:12 +0000 (22:23 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Steve Chamberlain [Sun, 4 Apr 1993 22:12:22 +0000 (22:12 +0000)]
*** empty log message ***

31 years ago * coffcode.h (coff_set_section_contents): Don't write out
Steve Chamberlain [Sun, 4 Apr 1993 22:12:06 +0000 (22:12 +0000)]
* coffcode.h (coff_set_section_contents): Don't write out
> >>  * coffcode.h (coff_set_section_contents): Don't write out sections without a filepos.

31 years ago* xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.
Jim Kingdon [Sat, 3 Apr 1993 01:19:16 +0000 (01:19 +0000)]
* xcoffread.c (xcoff_symfile_offsets): Use 0 not addr for offsets.

31 years agoN_SO fixes
Jim Kingdon [Sat, 3 Apr 1993 01:04:39 +0000 (01:04 +0000)]
N_SO fixes

31 years ago * seclet.c (seclet_dump_seclet): Correct SEC_HAS_CONTENTS test.
Ian Lance Taylor [Fri, 2 Apr 1993 22:36:04 +0000 (22:36 +0000)]
* seclet.c (seclet_dump_seclet): Correct SEC_HAS_CONTENTS test.

31 years ago * ldlang.c (lang_output_section_statement_lookup): Initialize all
Ian Lance Taylor [Fri, 2 Apr 1993 22:34:38 +0000 (22:34 +0000)]
* ldlang.c (lang_output_section_statement_lookup): Initialize all
fields of newly created structure.

31 years ago * config/tc-mips.h (LOCAL_LABEL): Treat any label starting with
Ian Lance Taylor [Fri, 2 Apr 1993 21:34:56 +0000 (21:34 +0000)]
* config/tc-mips.h (LOCAL_LABEL): Treat any label starting with
'$' as local, for any object file format.

31 years ago * config/tc-mips.c (macro): Optimizations to branching code and a
Ian Lance Taylor [Fri, 2 Apr 1993 21:25:20 +0000 (21:25 +0000)]
* config/tc-mips.c (macro): Optimizations to branching code and a
couple of bug fixes from ralphc@pyrps5.eng.pyramid.com (Ralph
Campbell).

31 years ago * rs6000-tdep.c (frameless_function_invocation): Don't even think
Jim Kingdon [Fri, 2 Apr 1993 20:28:52 +0000 (20:28 +0000)]
* rs6000-tdep.c (frameless_function_invocation): Don't even think
about framlessness except on the innermost frame.

31 years ago * stabsread.c (patch_block_stabs): If stab & no symbol, make
Jim Kingdon [Fri, 2 Apr 1993 19:35:30 +0000 (19:35 +0000)]
* stabsread.c (patch_block_stabs): If stab & no symbol, make
a LOC_OPTIMIZED_OUT symbol.
symtab.h (enum address_class): Add LOC_OPTIMIZED_OUT.
findvar.c (read_var_value), printcmd.c (address_info),
symmisc.c (print_{,partial_}symbol), c-exp.y (variable),
m2-exp.y (yylex): Deal with it.

31 years agoInclude ho-generic.h.
Ian Lance Taylor [Fri, 2 Apr 1993 18:42:37 +0000 (18:42 +0000)]
Include ho-generic.h.

31 years ago * build-all.mk: Set GCC to gcc -O -G 8 for MIPS targets, since gcc
Ian Lance Taylor [Fri, 2 Apr 1993 17:03:23 +0000 (17:03 +0000)]
* build-all.mk: Set GCC to gcc -O -G 8 for MIPS targets, since gcc
with gas currently defaults to -G 0.

31 years ago * config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.
Ian Lance Taylor [Fri, 2 Apr 1993 16:57:17 +0000 (16:57 +0000)]
* config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.
* configure.in (mips-sgi-irix*): Set gas_host to irix.

31 years agoMaybe we should change ansidecl.h to define const as well as CONST?
Ian Lance Taylor [Fri, 2 Apr 1993 15:27:17 +0000 (15:27 +0000)]
Maybe we should change ansidecl.h to define const as well as CONST?

* a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
const.

31 years ago * findvar.c (value_from_register): H8500 specific, check to see
Stu Grossman [Fri, 2 Apr 1993 02:47:05 +0000 (02:47 +0000)]
* findvar.c (value_from_register):  H8500 specific, check to see
if we are looking at short pointer.  If so, skip crock.
* h8500-tdep.c (h8500_frame_chain):  Mask down value from
read_memory_integer() to avoid getting messed up by sign extension.

31 years ago * sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
K. Richard Pixley [Fri, 2 Apr 1993 00:50:30 +0000 (00:50 +0000)]
* sparc-tdep.c (in_solib_trampoline), symfile.c (find_pc_section):
  ifdef protect using BAD_RICH_HACK.  This should be removed soon.
* config/sparc/tm-sun4sol2.h (BAD_RICH_HACK): define.

31 years agoNew print_address for disassemblers, merge a29k and i960 disassemblers
Jim Kingdon [Fri, 2 Apr 1993 00:18:47 +0000 (00:18 +0000)]
New print_address for disassemblers, merge a29k and i960 disassemblers

31 years ago* sparc-dis.c: Use fprintf_func a few places where I forgot,
Jim Kingdon [Thu, 1 Apr 1993 23:24:57 +0000 (23:24 +0000)]
* sparc-dis.c: Use fprintf_func a few places where I forgot,
and double percent signs a few places.

31 years ago * Makefile.in (all-flex): flex depends on byacc.
Ian Lance Taylor [Thu, 1 Apr 1993 23:14:10 +0000 (23:14 +0000)]
* Makefile.in (all-flex): flex depends on byacc.

31 years ago * build-all.mk: If host not specified, use config.guess. Pass TAG
Ian Lance Taylor [Thu, 1 Apr 1993 19:56:32 +0000 (19:56 +0000)]
* build-all.mk: If host not specified, use config.guess.  Pass TAG
to test-build.mk as RELEASE_TAG.
* test-build.mk (configargs): New variable containing arguments to
pass to configure.  Set to -with-gnu-as on mips-dec-ultrix.
(FLAGS_TO_PASS): Pass down RELEASE_TAG.

* config.guess: Use /bin/uname when checking -X argument on SCO,
to avoid invoking GNU uname which doesn't understand -X.

31 years agoMake circumvention of sun make VPATH bug include all relevant files
Jim Kingdon [Thu, 1 Apr 1993 18:56:02 +0000 (18:56 +0000)]
Make circumvention of sun make VPATH bug include all relevant files

31 years ago * test-build.mk: Don't use /usr/unsupported/bin/as on AIX.
Ian Lance Taylor [Thu, 1 Apr 1993 18:50:31 +0000 (18:50 +0000)]
* test-build.mk: Don't use /usr/unsupported/bin/as on AIX.

31 years agoRevert automatic setting of -with-gnu-ld and -with-gnu-as.
Ian Lance Taylor [Thu, 1 Apr 1993 18:49:02 +0000 (18:49 +0000)]
Revert automatic setting of -with-gnu-ld and -with-gnu-as.

31 years agomake it work with recent sparc changes
Jim Kingdon [Thu, 1 Apr 1993 18:42:39 +0000 (18:42 +0000)]
make it work with recent sparc changes

31 years agoremove another reference to sparc-pinsn.c
Jim Kingdon [Thu, 1 Apr 1993 18:36:14 +0000 (18:36 +0000)]
remove another reference to sparc-pinsn.c

31 years ago * configure.in: Build gas for mips-*-*. If configuring gas and/or
Ian Lance Taylor [Thu, 1 Apr 1993 18:34:14 +0000 (18:34 +0000)]
* configure.in: Build gas for mips-*-*.  If configuring gas and/or
ld, and the source directories exist, assume -with-gnu-as and/or
-with-gnu-ld.

31 years agoFix prototype problems related to recent disassembler changes
Jim Kingdon [Thu, 1 Apr 1993 18:04:51 +0000 (18:04 +0000)]
Fix prototype problems related to recent disassembler changes

31 years ago * breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
Peter Schauer [Thu, 1 Apr 1993 17:43:42 +0000 (17:43 +0000)]
* breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
entire breakpoint chain and print only the first entry that needs to
be printed and needs to be stopped for. Fixes problems with printing
of multiple breakpoints with different conditions.
* breakpoint.c (print_it_done): Renamed from print_it_noop as it
effectively stops printing of the breakpoint chain.
* breakpoint.c (print_it_noop): New routine to print nothing
for this breakpoint entry and dont stop printing.
* breakpoint.c (breakpoint_re_set_one): mention the reevaluated
watchpoint only if it is enabled.
* mipsread.c (parse_procedure): Correct incorrect setjmp procedure
descriptor from the library to make backtraces through setjmp work.
* mipsread.c (fixup_sigtramp): Correct pcreg and fregoffset for
sigtramp.
* mips-tdep.c (read_next_frame_reg): Provide correct values for
all registers saved within sigtramp, cleanup.

31 years agothis is part of the binutils/gdb sparc disassembler merge
Jim Kingdon [Thu, 1 Apr 1993 16:58:41 +0000 (16:58 +0000)]
this is part of the binutils/gdb sparc disassembler merge

31 years agomerge binutils and gdb sparc disassemblers
Jim Kingdon [Thu, 1 Apr 1993 16:56:06 +0000 (16:56 +0000)]
merge binutils and gdb sparc disassemblers

31 years agomerging this directory into testsuite
Ken Raeburn [Thu, 1 Apr 1993 13:18:55 +0000 (13:18 +0000)]
merging this directory into testsuite

31 years ago* core.c (dis_asm_read_memory): drop fourth arg which conflicts with
K. Richard Pixley [Thu, 1 Apr 1993 05:27:06 +0000 (05:27 +0000)]
* core.c (dis_asm_read_memory): drop fourth arg which conflicts with
  prototype in ../include/dis-asm.h.

31 years agoInsert a missing backslash.
K. Richard Pixley [Thu, 1 Apr 1993 05:22:08 +0000 (05:22 +0000)]
Insert a missing backslash.

31 years ago* h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
K. Richard Pixley [Thu, 1 Apr 1993 04:52:59 +0000 (04:52 +0000)]
* h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
  deliberately return non-zero to setjmp from longjmp.  Otherwise
  this code fails to compile.

31 years ago * build-all.mk, config/mh-irix4: Bump -XNh value to 1500 to match
Ian Lance Taylor [Thu, 1 Apr 1993 02:30:09 +0000 (02:30 +0000)]
* build-all.mk, config/mh-irix4: Bump -XNh value to 1500 to match
gcc requirements.

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