binutils-gdb.git
31 years agodoc cleanup
David MacKenzie [Fri, 5 Nov 1993 19:51:52 +0000 (19:51 +0000)]
doc cleanup

31 years ago * inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGET
Stu Grossman [Fri, 5 Nov 1993 19:27:49 +0000 (19:27 +0000)]
* inflow.c (terminal_init_inferior): Temporarily use Lynx PIDGET
macro to set process groups.
* infptrace.c (child_resume): Temporarily use Lynx PIDGET to
specify resumption of all threads.
* infrun.c (wait_for_inferior):  Fix handling of thread-specific
breakpoints for systems where DECR_PC_AFTER_BREAK > 0 (ie: backup
PC by the right amount when continuing the thread).
* thread.c (thread_apply_command):  Add the  `thread apply'
command to apply a given GDB command to a list of threads.

31 years agoFirst cut at sanitization, doc files, &c for gas/binutils releases
Ken Raeburn [Fri, 5 Nov 1993 19:21:35 +0000 (19:21 +0000)]
First cut at sanitization, doc files, &c for gas/binutils releases

31 years ago* Makefile.in (taz): Only build "info" in DISTDOCDIRS.
Ken Raeburn [Fri, 5 Nov 1993 18:37:43 +0000 (18:37 +0000)]
* Makefile.in (taz): Only build "info" in DISTDOCDIRS.
(DISTDOCDIRS): Don't assume libg++ and gdb folks necessarily want this now.

31 years ago * configure.in: Add doc to configdirs.
Jim Kingdon [Fri, 5 Nov 1993 18:09:19 +0000 (18:09 +0000)]
* configure.in: Add doc to configdirs.
* Makefile.in (info dvi install-info clean-info): Recurse into doc.

31 years ago* Makefile.in (init.c): Don't call sed if filename is empty.
Jim Kingdon [Fri, 5 Nov 1993 13:59:31 +0000 (13:59 +0000)]
* Makefile.in (init.c): Don't call sed if filename is empty.

31 years agoCheck in version built from changed bfd-in.h.
John Gilmore [Fri, 5 Nov 1993 08:34:09 +0000 (08:34 +0000)]
Check in version built from changed bfd-in.h.

31 years ago * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
Jim Kingdon [Fri, 5 Nov 1993 06:12:59 +0000 (06:12 +0000)]
* gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
"_vb$".

31 years ago * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
Jim Kingdon [Fri, 5 Nov 1993 05:36:03 +0000 (05:36 +0000)]
* gdb.t00/teststrategy.exp: Add xfail for RS/6000.
* gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.

31 years ago * dbxread.c (unknown_symchar_complaint): Make message refer to
Jim Kingdon [Fri, 5 Nov 1993 04:57:29 +0000 (04:57 +0000)]
* dbxread.c (unknown_symchar_complaint): Make message refer to
"symbol descriptor" not "symbol type character" for consistency
with stabs.texinfo terminology.

31 years ago * stabsread.c (read_struct_fields): Accept either '$' or '.' as
Jim Kingdon [Fri, 5 Nov 1993 04:49:06 +0000 (04:49 +0000)]
* stabsread.c (read_struct_fields): Accept either '$' or '.' as
the character which introduces a cpp_abbrev or anonymous type.

31 years ago * c-lang.c (c_printstr): Print "" to stream (like all the other
Jim Kingdon [Fri, 5 Nov 1993 03:01:47 +0000 (03:01 +0000)]
* c-lang.c (c_printstr): Print "" to stream (like all the other
output from this function), not gdb_stdout.

31 years ago* config.sub: Accept hiux* as an OS name.
Jim Kingdon [Fri, 5 Nov 1993 02:29:48 +0000 (02:29 +0000)]
* config.sub: Accept hiux* as an OS name.

31 years ago * gas/hppa/unsorted/fragbug.s: New test.
Jeff Law [Fri, 5 Nov 1993 01:03:25 +0000 (01:03 +0000)]
    * gas/hppa/unsorted/fragbug.s: New test.
        * gas/hppa/unsorted/unsorted.exp: Run it.

31 years agoAdd fragbug.s to things to keep.
Jeff Law [Fri, 5 Nov 1993 01:03:13 +0000 (01:03 +0000)]
Add fragbug.s to things to keep.

31 years ago * Makefile.in: Change RUNTEST_FLAGS back to RUNTESTFLAGS per
Jim Kingdon [Fri, 5 Nov 1993 01:02:31 +0000 (01:02 +0000)]
* Makefile.in: Change RUNTEST_FLAGS back to RUNTESTFLAGS per
etc/make-stds.texi.  The underscore came from gcc, and dje now
agrees that RUNTESTFLAGS is the correct name.

31 years ago * write.c (chain_frchains_together): Update pointer to last
Jeff Law [Fri, 5 Nov 1993 01:01:18 +0000 (01:01 +0000)]
    * write.c (chain_frchains_together): Update pointer to last
        frag for a segment in the seginfo structure.

31 years ago * dbxread.c (process_one_symbol): Do relocate 'S' symbols by
Jim Kingdon [Thu, 4 Nov 1993 23:03:03 +0000 (23:03 +0000)]
* dbxread.c (process_one_symbol): Do relocate 'S' symbols by
the text offset (revert 12 Oct 93 change).

31 years ago* bfd-in.h (bfd_get_cacheable, bfd_set_cacheable): New accessors.
John Gilmore [Thu, 4 Nov 1993 22:49:47 +0000 (22:49 +0000)]
* bfd-in.h (bfd_get_cacheable, bfd_set_cacheable):  New accessors.
* bfd.c, opncls.c:  Improve comments on file descriptor cacheing.

31 years ago * install.sh: Remove 'set -e'. It makes any conditionals
Per Bothner [Thu, 4 Nov 1993 19:13:47 +0000 (19:13 +0000)]
* install.sh:  Remove 'set -e'.  It makes any conditionals
in the script useless.

31 years ago * config.guess: Automatically recognize arm-acorn-riscix
Per Bothner [Thu, 4 Nov 1993 18:50:25 +0000 (18:50 +0000)]
* config.guess: Automatically recognize arm-acorn-riscix
Patch from Richard Earnshaw (rwe11@cl.cam.ac.uk).

31 years agoChanged RUNTESTFLAGS to RUNTEST_FLAGS
Jeffrey Wheat [Thu, 4 Nov 1993 17:36:24 +0000 (17:36 +0000)]
Changed RUNTESTFLAGS to RUNTEST_FLAGS

31 years ago * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
Jim Kingdon [Thu, 4 Nov 1993 16:59:00 +0000 (16:59 +0000)]
* lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.

31 years ago * From Pete Hoogenboom (hoogen@cs.utah.edu)
Jeff Law [Thu, 4 Nov 1993 16:58:27 +0000 (16:58 +0000)]
    * From Pete Hoogenboom (hoogen@cs.utah.edu)
        * elf32-hppa.c (hppa_elf_get_section_contents): Fix logic error
        in last change.  Always rebuild symbol extension section the first
        time though if output sections exist (fixes ld -r problems).

31 years agoChanged RUNTESTFLAGS to RUNTEST_FLAGS
Jeffrey Wheat [Thu, 4 Nov 1993 16:43:25 +0000 (16:43 +0000)]
Changed RUNTESTFLAGS to RUNTEST_FLAGS

31 years agoAdded .PHONY for check and installcheck. both now also echo a message.
Jeffrey Wheat [Thu, 4 Nov 1993 16:37:34 +0000 (16:37 +0000)]
Added .PHONY for check and installcheck. both now also echo a message.

31 years agoRename RUNTESTFLAGS to RUNTEST_FLAGS
Jeffrey Wheat [Thu, 4 Nov 1993 16:08:03 +0000 (16:08 +0000)]
Rename RUNTESTFLAGS to RUNTEST_FLAGS

31 years ago * configure.in: Make hppa*-*-hiux* use hppahpux,
Jim Kingdon [Thu, 4 Nov 1993 14:52:53 +0000 (14:52 +0000)]
* configure.in: Make hppa*-*-hiux* use hppahpux,
not non-existent hppahiux.

31 years ago * configure.in (hppa target): check the source directory for the
David D. Zuhn [Thu, 4 Nov 1993 05:35:21 +0000 (05:35 +0000)]
* configure.in (hppa target): check the source directory for the
  pagas sub-directory

31 years agoLose build-all.mk for net releases
Jason Merrill [Thu, 4 Nov 1993 02:10:36 +0000 (02:10 +0000)]
Lose build-all.mk for net releases

31 years agobuild-all-latest target
David D. Zuhn [Thu, 4 Nov 1993 01:04:16 +0000 (01:04 +0000)]
build-all-latest target

31 years agoModified Files:
Kung Hsu [Thu, 4 Nov 1993 00:49:24 +0000 (00:49 +0000)]
Modified Files:
values.c valops.c ChangeLog

        * values.c (value_fn_field): when physical name not found, do not
        error, but return null.
        * valops.c (value_struct_elt): when name and args match does not
        mean it is the one, some times a typedef class can have the same
        memeber method and args. This probably will not happen with new
        version of g++, but it does happen in old g++ and cause gdb error.

31 years agoFix up dependencies and rules for ld.dvi, ld.info.
Ken Raeburn [Thu, 4 Nov 1993 00:09:39 +0000 (00:09 +0000)]
Fix up dependencies and rules for ld.dvi, ld.info.

31 years ago* Makefile.in (distclean): Don't get rid of dvi or info files.
Ken Raeburn [Wed, 3 Nov 1993 23:09:24 +0000 (23:09 +0000)]
* Makefile.in (distclean): Don't get rid of dvi or info files.

31 years agofix reloc type bits conflict
David MacKenzie [Wed, 3 Nov 1993 21:51:06 +0000 (21:51 +0000)]
fix reloc type bits conflict

31 years ago Merge changes for dos x udi:
Jim Kingdon [Wed, 3 Nov 1993 21:33:13 +0000 (21:33 +0000)]
Merge changes for dos x udi:
* Makefile.in (udi2go32.o): add rule to build this file
* 29k-share/udi/udi2go32.c: new file
* config/a29k/a29k-udi.mt: add udi2go32.o
* 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file
  if __GO32__ is defined.  What a hack.

31 years agomake -o override OUTPUT
David MacKenzie [Wed, 3 Nov 1993 21:19:18 +0000 (21:19 +0000)]
make -o override OUTPUT

31 years ago Merge changes from progressive for dos x udi:
Jim Kingdon [Wed, 3 Nov 1993 21:04:56 +0000 (21:04 +0000)]
Merge changes from progressive for dos x udi:
* Makefile.in (udi2go32.o): add rule to build this file
* 29k-share/udi/udi2go32.c: new file
* config/a29k/a29k-udi.mt: add udi2go32.o
* 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file
  if __GO32__ is defined.  What a hack.

31 years ago * lib/gdb.exp: Comment out code which depends on non-existent
Jim Kingdon [Wed, 3 Nov 1993 19:57:50 +0000 (19:57 +0000)]
* lib/gdb.exp: Comment out code which depends on non-existent
`transform' procedure.

31 years agoAdd my ChangeLog entry for gdbserver back in again
Stan Shebs [Wed, 3 Nov 1993 19:47:52 +0000 (19:47 +0000)]
Add my ChangeLog entry for gdbserver back in again

31 years agoconfigure.in: Don't build ld on i386-solaris2, same as for sparc-solaris2.
Ken Raeburn [Wed, 3 Nov 1993 19:10:53 +0000 (19:10 +0000)]
configure.in: Don't build ld on i386-solaris2, same as for sparc-solaris2.

31 years ago* remote.c (putpkt, getpkt): Don't call interrupt_query.
Jim Kingdon [Wed, 3 Nov 1993 18:59:04 +0000 (18:59 +0000)]
* remote.c (putpkt, getpkt): Don't call interrupt_query.

31 years ago * findvar.c (value_of_register): Rename val to reg_val to avoid
Jim Kingdon [Wed, 3 Nov 1993 18:33:10 +0000 (18:33 +0000)]
* findvar.c (value_of_register): Rename val to reg_val to avoid
name conflict with some (e.g. tm-m68k.h) REGISTER_CONVERT_TO_VIRTUAL.

31 years ago * lib/gdb.exp: Transform tool name.
Rob Savoye [Wed, 3 Nov 1993 18:28:22 +0000 (18:28 +0000)]
* lib/gdb.exp: Transform tool name.
* gdb.t*/*.exp: Change error to perror so it works with DejaGnu
1.1's new error handling system.

31 years ago * config/udi.exp,unix.exp: Transform tool name.
Rob Savoye [Wed, 3 Nov 1993 18:15:18 +0000 (18:15 +0000)]
* config/udi.exp,unix.exp: Transform tool name.
* binutils.all/*.exp: Clear errorInfo after exec.

31 years ago * main.c: Add variables source_line_number, source_file_name,
Jim Kingdon [Wed, 3 Nov 1993 16:20:02 +0000 (16:20 +0000)]
* main.c: Add variables source_line_number, source_file_name,
source_error, source_error_allocated, and source_pre_error.
(command_line_input): If source_file_name set, increment
source_line_number and set error_pre_print with them.
(source_command): Set source_* and make a cleanup so they get
set back.

31 years ago gprof.texi: minor fix.
Jeffrey Osier [Wed, 3 Nov 1993 11:44:35 +0000 (11:44 +0000)]
gprof.texi:  minor fix.

31 years ago * tc-hppa.c: Add %dp and %rp as synonyms for %r27 and %r2 in the
Jeff Law [Wed, 3 Nov 1993 06:21:14 +0000 (06:21 +0000)]
* tc-hppa.c: Add %dp and %rp as synonyms for %r27 and %r2 in the
predefined register table.
(pa_parse_number): Handle %rp in common register shortcut code.
Consistently set return value to -1 for an error.  Clean up error
messages and only print them when "print_errors" is true.  Handle
empty string case like the HP assembler -- assume a value of
zero.

31 years ago * gas/hppa/more.parse/{defbug.s, stdreg.s}: New tests.
Jeff Law [Wed, 3 Nov 1993 06:12:15 +0000 (06:12 +0000)]
    * gas/hppa/more.parse/{defbug.s, stdreg.s}: New tests.
        * gas/hppa/more.parse/parse.exp: Run them.

31 years ago* stack.c (down_silently_command): Add comment about PR 1913.
Jim Kingdon [Wed, 3 Nov 1993 02:23:10 +0000 (02:23 +0000)]
* stack.c (down_silently_command): Add comment about PR 1913.

31 years agoFixed minor typo ("host" sb "target" in discussion of GNUTARGET).
Roland Pesch [Wed, 3 Nov 1993 00:09:34 +0000 (00:09 +0000)]
Fixed minor typo ("host" sb "target" in discussion of GNUTARGET).
To my shame, this was reported 28 aug 92 by Jonathan Ryshpan, and lost
in my mail pile til now.

31 years ago * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,
Jeff Law [Tue, 2 Nov 1993 23:59:24 +0000 (23:59 +0000)]
* scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,
edata, _edata, end): Add definitions of these symbols.
(__end):  Remove definition of this symbol.
(__data_start): Move definition of this symbol.

31 years ago * emultempl/hppaosf.em: Various fixes and support for linker stub
Jeff Law [Tue, 2 Nov 1993 23:55:58 +0000 (23:55 +0000)]
    * emultempl/hppaosf.em:  Various fixes and support for linker stub
        generation.
        (hppaosf_finish, hppaosf_search_for_padding_statements,
        hppaosf_create_output_section_statements): New functions in
        support of linker stub generation.
        (ld_hppaosf_emulation):  Redefine to include new
        emulation-specific routines.

31 years ago * breakpoint.c (insert_breakpoints, delete_breakpoint): Call
Jim Kingdon [Tue, 2 Nov 1993 23:55:19 +0000 (23:55 +0000)]
* breakpoint.c (insert_breakpoints, delete_breakpoint): Call
target_terminal_ours_for_output before attempting output.

* fork-child.c (fork_inferior): Fix comment so that it suggests
"set shell" rather than having "set env SHELL" affect GDB's
operation.

31 years ago * emultempl/hppaosf.em: Various fixes and support for linker stub
Jeff Law [Tue, 2 Nov 1993 23:54:04 +0000 (23:54 +0000)]
* emultempl/hppaosf.em:  Various fixes and support for linker stub
generation.
(hppaosf_finish, hppaosf_search_for_padding_statements,
hppaosf_create_output_section_statements): New functions in
support of linker stub generation.
(ld_hppaosf_emulation):  Redefine to include new
emulation-specific routines.

31 years ago * ldlang.c (lang_process): Re-enable last call lang_size_sections.
Jeff Law [Tue, 2 Nov 1993 23:47:41 +0000 (23:47 +0000)]
    * ldlang.c (lang_process): Re-enable last call lang_size_sections.
        Pass abs_output_section rather than NULL to avoid invalidating
        absolute symbols.

31 years agolog my expr.c change
Ken Raeburn [Tue, 2 Nov 1993 23:44:59 +0000 (23:44 +0000)]
log my expr.c change

31 years ago * config/ho-hpux.h: Do not include ho-sysv.h. Instead include
Jeff Law [Tue, 2 Nov 1993 23:39:55 +0000 (23:39 +0000)]
    * config/ho-hpux.h: Do not include ho-sysv.h.  Instead include
        standard hpux include files to pick up various function decls.

31 years ago * config/ho-hpux.h: Do not include ho-sysv.h. Instead include
Jeff Law [Tue, 2 Nov 1993 23:38:41 +0000 (23:38 +0000)]
* config/ho-hpux.h: Do not include ho-sysv.h.  Instead include
standard hpux include files to pick up various function decls.

31 years ago * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
Ian Lance Taylor [Tue, 2 Nov 1993 23:17:36 +0000 (23:17 +0000)]
* config/tc-sparc.c (sparc_ip): Add default case to reloc switch.

31 years ago * read.c (s_lcomm): Put small objects in .sbss for MIPS ELF as
Ian Lance Taylor [Tue, 2 Nov 1993 23:15:58 +0000 (23:15 +0000)]
* read.c (s_lcomm): Put small objects in .sbss for MIPS ELF as
well as MIPS ECOFF.
(get_stab_string_offset): Remove unused variable aligned.

31 years ago * config/ho-hppaosf.h: Delete _IO* macros. They are defined in
Jeff Law [Tue, 2 Nov 1993 23:07:54 +0000 (23:07 +0000)]
    * config/ho-hppaosf.h: Delete _IO* macros.  They are defined in
        stdio.h.  Delete bogus declaration of free.  Get path to
        alloca-conf.h right.

31 years ago * config/ho-hppaosf.h: Delete _IO* macros. They are defined in
Jeff Law [Tue, 2 Nov 1993 23:07:00 +0000 (23:07 +0000)]
* config/ho-hppaosf.h: Delete _IO* macros.  They are defined in
stdio.h.  Delete bogus declaration of free.  Get path to
alloca-conf.h right.

31 years agoDon't let printf_unfiltered functions inherit a fixed-size buffer
Thomas Lord [Tue, 2 Nov 1993 23:03:41 +0000 (23:03 +0000)]
Don't let printf_unfiltered functions inherit a fixed-size buffer
from their _filtered counterparts.

31 years agoHPUX portability change.
Bill Cox [Tue, 2 Nov 1993 22:45:05 +0000 (22:45 +0000)]
HPUX portability change.

31 years ago * findvar.c (value_of_register, value_from_register),
Peter Schauer [Tue, 2 Nov 1993 21:51:10 +0000 (21:51 +0000)]
* findvar.c (value_of_register, value_from_register),
hppa-tdep.c (pa_print_fp_reg), infcmd.c (do_registers_info),
valops.c (value_assign):   Use REGISTER_CONVERT_TO_* only if
REGISTER_CONVERTIBLE is defined, otherwise just copy the content.
Pass desired type to REGISTER_CONVERT_TO_*.

* config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
Pass length of desired type to store/extract_floating.
* config/i386/tm-arm.h, config/i386/tm-i386aix.h,
config/i386/tm-sun386.h, config/i386/tm-symmetry.h,
config/m88k/tm-m88k.h config/rs6000/tm-rs6000.h (REGISTER_CONVERT_*):
Use extract_floating and store_floating with length of desired type.
* config/m68k/tm-news.h (STORE,EXTRACT_RETURN_VALUE):  Add type
parameter to REGISTER_CONVERT_*.

* config/a29k/tm-a29k.h, config/convex/tm-convex.h,
config/gould/tm-np1.h, config/gould/tm-pn.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/i386/tm-i386v.h,
config/mips/tm-mips.h, config/ns32k/tm-merlin.h,
config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/tahoe/tm-tahoe.h,
config/vax/tm-vax.h, config/z8k/tm-z8k.h (REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL):  Remove
versions for which REGISTER_CONVERTIBLE is always false.
* z8k-tdep.c (register_convert_to_virtual, register_convert_to_raw):
Remove, no longer used.

* alpha-tdep.c (alpha_register_convert_to_raw,
alpha_register_convert_to_virtual):  New routines to handle
the different raw formats in alpha floating point registers.
* config/alpha/tm-alpha.h (REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW):  Use them.

31 years ago * configure.in: Configure gdb for alpha.
Peter Schauer [Tue, 2 Nov 1993 21:39:59 +0000 (21:39 +0000)]
* configure.in:  Configure gdb for alpha.

31 years agoobjcopy.c (S_ISLNK): Define as 0 if there is no S_IFLNK.
David MacKenzie [Tue, 2 Nov 1993 21:35:21 +0000 (21:35 +0000)]
objcopy.c (S_ISLNK): Define as 0 if there is no S_IFLNK.

31 years ago * gdbserver/configure.in: Recognize *-*-lynxos* instead of
Stan Shebs [Tue, 2 Nov 1993 20:50:35 +0000 (20:50 +0000)]
* gdbserver/configure.in: Recognize *-*-lynxos* instead of
*-*-lynx*, recognize sparc-*-lynxos*.
* gdbserver/Makefile.in (install, install_only): Add.
* gdbserver/gdbserver.1: New file, man page for gdbserver.

31 years ago * paread.c (pa_symtab_read): Change comments to say ignoring
Jim Kingdon [Tue, 2 Nov 1993 16:47:14 +0000 (16:47 +0000)]
* paread.c (pa_symtab_read): Change comments to say ignoring
labels really should be handled by the assembler/compiler.

31 years agoFix tipo in comment.
Ian Lance Taylor [Tue, 2 Nov 1993 16:21:55 +0000 (16:21 +0000)]
Fix tipo in comment.

31 years ago* config.bfd: Use bigmips for mips*-*-bsd*.
Jim Kingdon [Tue, 2 Nov 1993 15:40:29 +0000 (15:40 +0000)]
* config.bfd: Use bigmips for mips*-*-bsd*.

31 years ago * stabs.texinfo (Enumerations): Talk about large, negative and
Jim Kingdon [Tue, 2 Nov 1993 15:16:31 +0000 (15:16 +0000)]
* stabs.texinfo (Enumerations): Talk about large, negative and
octal values.  Clean up cross reference to type attributes.
(String Field): Say that GDB 4.11 supports size attribute.

31 years ago * config/obj-som.h (obj_attach_unwind_info): Define as a hook
Jeff Law [Tue, 2 Nov 1993 08:06:23 +0000 (08:06 +0000)]
* config/obj-som.h (obj_attach_unwind_info): Define as a hook
so GAS can attach unwind descriptor information to a BFD symbol.
* config/tc-hppa.c (fix_new_hppa): If necessary attach unwind
descriptor information to the BFD symbol.
(md_apply_fix): R_HPPA_ENTRY and R_HPPA_EXIT can never be "applied",
they are simply markers.  Make R_HPPA_UNWIND_* handling OBJ_ELF
dependent.
(pa_build_unwind_subspace): Whole function is OBJ_ELF dependent.
(pa_entry): Build a R_HPPA_ENTRY relocation when configured for SOM.
(pa_exit): Likewise, but built a R_HPPA_EXIT relocation.  Do not
build "end-of-function" symbols for SOM, they are not needed.

31 years ago * gas/hppa/reloc/reloc.exp (reloc_reduce): Correct offsets at
Jeff Law [Tue, 2 Nov 1993 07:40:53 +0000 (07:40 +0000)]
    * gas/hppa/reloc/reloc.exp (reloc_reduce): Correct offsets at
        which specific relocations are expected to be found.

31 years ago * config/tc-hppa.c (process_exit): Create temporary symbols with
Jeff Law [Tue, 2 Nov 1993 06:43:11 +0000 (06:43 +0000)]
* config/tc-hppa.c (process_exit): Create temporary symbols with
correct prefixes so they can be eliminated later.

31 years ago * config/tc-hppa.c (call_info struct): Delete unused "frame" field.
Jeff Law [Tue, 2 Nov 1993 06:38:20 +0000 (06:38 +0000)]
* config/tc-hppa.c (call_info struct): Delete unused "frame" field.
(pa_callinfo): Insert framesize into the unwind information as
soon as it's available.
(pa_build_unwind_subspace): Do not insert framesize into the unwind
information here.

31 years ago * Add support for marker type relocations. These mark areas
Jeff Law [Tue, 2 Nov 1993 06:31:36 +0000 (06:31 +0000)]
* Add support for marker type relocations.  These mark areas
of interest to the linker.  ENTRY/EXIT relocations for SOM are
an example of marker relocations.
* write.c (write_relocs): Instead of assuming size of a relocation
is 4 bytes, pick up the size from relocation itself.
(fixup_segment): Do not complain that a value is too small for
marker relocations.

31 years ago * struc-symbol.h: Add new "sy_used" field to the symbol structure.
Jeff Law [Tue, 2 Nov 1993 06:10:52 +0000 (06:10 +0000)]
* struc-symbol.h: Add new "sy_used" field to the symbol structure.
* expr.c (operand): Set sy_used for any symbol used as an operand.
(expr): Likewise for any symbol used in an expression.
* config/tc-hppa.h (tc_frob_symbol): Define.  Punt imported
symbols which are never used and absolute symbols which local scope.

31 years agoRemove infrun.hacked.c. I just looked at the diff, and don't see any
Jim Kingdon [Tue, 2 Nov 1993 05:52:14 +0000 (05:52 +0000)]
Remove infrun.hacked.c.  I just looked at the diff, and don't see any
interesting ideas there.  It is over two years old....

31 years ago * config/obj-som.h (obj_frob_file): Define.
Jeff Law [Tue, 2 Nov 1993 05:37:58 +0000 (05:37 +0000)]
* config/obj-som.h (obj_frob_file): Define.
* config/obj-som.c (obj_som_init_stab_section): Set alignment
of stab sections.  Make space for the special stab entry.
(adjust_stab_sections): Adjust the special entry in the
stabs section.
(som_frob_file): New function.  Simply calls adjust_stab_sections
for each section.

31 years agoFix a couple typos introduced by recent checkins
Stan Shebs [Tue, 2 Nov 1993 02:07:03 +0000 (02:07 +0000)]
Fix a couple typos introduced by recent checkins

31 years ago * symtab.c, symtab.h, source.c: Change find_line_pc_range to take
Jim Kingdon [Tue, 2 Nov 1993 00:05:34 +0000 (00:05 +0000)]
* symtab.c, symtab.h, source.c: Change find_line_pc_range to take
a struct symtab_and_line argument, rather than a symtab and a line.
Re-write it to be based on the address rather than bogusly adding
one to the line number and hoping that has something to do with the
end of the line.

31 years ago * elfcode.h (elf_slurp_reloca_table, elf_slurp_reloc_table):
Ian Lance Taylor [Mon, 1 Nov 1993 23:36:33 +0000 (23:36 +0000)]
* elfcode.h (elf_slurp_reloca_table, elf_slurp_reloc_table):
Handle symbol number of zero.

31 years ago * elf32-mips.c (mips_elf_hi16_reloc, mips_elf_lo16_reloc):
Ian Lance Taylor [Mon, 1 Nov 1993 23:29:06 +0000 (23:29 +0000)]
* elf32-mips.c (mips_elf_hi16_reloc, mips_elf_lo16_reloc):
Rearrange _gp_disp checks slightly.

31 years ago * config/tc-mips.c (PIC_CALL_REG, SP, FP): Define.
Ian Lance Taylor [Mon, 1 Nov 1993 23:27:05 +0000 (23:27 +0000)]
* config/tc-mips.c (PIC_CALL_REG, SP, FP): Define.
(mips_pic, mips_cprestore_offset): New static variables.
(md_pseudo_table): Handle .abicalls, .cpload, and .cprestore.
Ignore .bgnb and .endb.
(gp_reference): _gp_disp is never addressed off GP.
(macro_build): Ignore macros while searching for insn.  For cases
i, j, and o, accept the reloc type as an argument rather than
assuming BFD_RELOC_LO16.  Don't try to convert BFD_RELOC_LO16 to
BFD_RELOC_MIPS_GPREL.  Added new case a.
(set_at, load_register, macro): Changed calls to macro_build to
pass new argument for i, j and o cases.
(macro): Handle M_JAL_1, M_JAL_2 and M_JAL_A.  These require
special handling when generating SVR4 PIC code.
(mips_ip, tc_get_register, s_frame): Use macros FP, SP, GP and AT
rather than hard coded constants.
(md_apply_fix): Handle BFD_RELOC_MIPS_LITERAL and
BFD_RELOC_MIPS_CALL16.
(s_option): Set mips_pic based on .option picN.
(s_abicalls): New function; set mips_pic to 2.
(s_cpload): New function; handle .cpload.
(s_cprestore): New function; handle .cprestore.

* config/obj-ecoff.c (obj_pseudo_table): Add entries for .bgnb,
.endb and .verstamp, setting them to s_ignore.

31 years ago * mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added.
Ian Lance Taylor [Mon, 1 Nov 1993 23:14:23 +0000 (23:14 +0000)]
* mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added.

31 years agoChange the stream argument to _filtered to GDB_FILE *.
Thomas Lord [Mon, 1 Nov 1993 22:25:23 +0000 (22:25 +0000)]
Change the stream argument to _filtered to GDB_FILE *.

Change all references to stdout/stderr to gdb_stdout/gdb_stderr.

Replace all calls to stdio output functions with calls to
corresponding _unfiltered functions (`fprintf_unfiltered')

Replaced calls to fopen for output to gdb_fopen.

Added sufficient goo to utils.c and defs.h to make the above work.

The net effect is that stdio output functions are only directly used
in utils.c.  Elsewhere, the _unfiltered and _filtered functions and
GDB_FILE type are used.

In the near future, GDB_FILE will stop being equivalant to FILE.

The semantics of some commands has changed in a very subtle way:
called in the right context, they may cause new occurences of
prompt_for_continue() behavior.  The testsuite doesn't notice anything
like this, though.

Please respect this change by not reintroducing stdio output
dependencies in the main body of gdb code.  All output from commands
should go to a GDB_FILE.

Target-specific code can still use stdio directly to communicate with
targets.

31 years ago * reloc.c (enum bfd_reloc_code_real): Added
Ian Lance Taylor [Mon, 1 Nov 1993 21:17:31 +0000 (21:17 +0000)]
* reloc.c (enum bfd_reloc_code_real): Added
BFD_RELOC_MIPS_LITERAL, BFD_RELOC_MIPS_GOT16,
BFD_RELOC_MIPS_CALL16, BFD_RELOC_MIPS_GPREL32.
* bfd-in2.h: Rebuilt.
* coff-mips.c (mips_bfd_reloc_type_lookup): Handle
BFD_RELOC_MIPS_LITERAL.
* elf32-mips.c (mips_reloc_map): Handle new relocs.

31 years ago* config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.
Jim Kingdon [Mon, 1 Nov 1993 21:11:12 +0000 (21:11 +0000)]
* config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.

31 years ago* Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
Jim Kingdon [Mon, 1 Nov 1993 20:49:03 +0000 (20:49 +0000)]
* Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.

31 years ago * paread.c (pa_symtab_read): Change comments to say ignoring
Jim Kingdon [Mon, 1 Nov 1993 20:41:35 +0000 (20:41 +0000)]
* paread.c (pa_symtab_read): Change comments to say ignoring
labels really should be handled by the assembler/compiler.

* Makefile.in: Add -O to CXXFLAGS.

* TODO: Expand comments on fast watchpoints.

31 years ago * mmalloc.texi: Fix typo ("for for" -> "for").
Jim Kingdon [Mon, 1 Nov 1993 20:28:46 +0000 (20:28 +0000)]
* mmalloc.texi: Fix typo ("for for" -> "for").

31 years ago* Makefile.in (CXXFLAGS): Add -O.
Jim Kingdon [Mon, 1 Nov 1993 20:18:22 +0000 (20:18 +0000)]
* Makefile.in (CXXFLAGS): Add -O.

31 years agoRemove v9-specific entry
Jim Kingdon [Mon, 1 Nov 1993 20:08:35 +0000 (20:08 +0000)]
Remove v9-specific entry

31 years ago * aout-target.h (MY_bfd_debug_info_start, MY_bfd_debug_info_end,
Ian Lance Taylor [Mon, 1 Nov 1993 19:43:39 +0000 (19:43 +0000)]
* aout-target.h (MY_bfd_debug_info_start, MY_bfd_debug_info_end,
MY_bfd_debug_info_accumulat [sic]): Remove unused definitions.
(MY_bfd_get_relocated_section_contents, MY_bfd_relax_section,
MY_bfd_seclet_link): Define.
(MY_bfd_reloc_type_lookup): Rename from
MY_reloc_howto_type_lookup.
(MY_bfd_make_debug_symbol): Rename from MY_make_debug_symbol.
(MY(vec)): Use JUMP_TABLE rather than listing functions.
* hp300hpux.c (MY_get_symtab, MY_get_symtab_upper_bound,
MY_canonicalize_reloc, MY_write_object_contents): Don't define in
terms of MY, because that causes a recusive invocation of CAT when
expanded within JUMP_TABLE, and ANSI compilers don't expand
recursive macros.
* mipsbsd.c (MY_bfd_reloc_type_lookup): Rename from
MY_reloc_howto_type_lookup, and don't define in terms of MY.
(MY_canonicalize_reloc): Don't define in terms of MY.
(aout_mips_little_vec, aout_mips_big_vec): Use JUMP_TABLE rather
than listing functions.

31 years agoKeep Lynx file
Stan Shebs [Mon, 1 Nov 1993 19:27:15 +0000 (19:27 +0000)]
Keep Lynx file

31 years agoKeep Sparc file
Stan Shebs [Mon, 1 Nov 1993 19:25:39 +0000 (19:25 +0000)]
Keep Sparc file

31 years agoKeep Sparc file
Stan Shebs [Mon, 1 Nov 1993 19:18:08 +0000 (19:18 +0000)]
Keep Sparc file

31 years agoKeep Lynx files
Stan Shebs [Mon, 1 Nov 1993 19:15:17 +0000 (19:15 +0000)]
Keep Lynx files