external/binutils.git
29 years agoChange PAGE_SIZE to TARGET_PAGE_SIZE
Niklas Hallqvist [Sat, 28 Oct 1995 00:26:12 +0000 (00:26 +0000)]
Change PAGE_SIZE to TARGET_PAGE_SIZE

29 years ago * emultempl/aix.em: Include ldctor.h.
Ian Lance Taylor [Fri, 27 Oct 1995 22:21:43 +0000 (22:21 +0000)]
* emultempl/aix.em: Include ldctor.h.
(gld${EMULATION_NAME}_after_open): New static function.
(gld${EMULATION_NAME}_before_allocation): Call find_relocs.
(gld${EMULATION_NAME}_find_relocs): New static function.
(gld${EMULATION_NAME}_find_exp_assignment): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_open function.
* scripttempl/aix.sc: Use CONSTRUCTORS in .data.
* ldctor.c (struct set_info): Move definition into ldctor.h.
(struct set_element): Likewise.
(sets): Make non-static.
(ldctor_add_set_entry): Add name parameter.  Save it in the new
set element.
(ldctor_build_sets): Avoid being called twice.  Pass set element
name to lang_add_reloc.
* ldctor.h (struct set_info): Move definition here from ldctor.c.
(struct set_element): Likewise.  Add new field name.
(sets): Declare.
(ldctor_add_set_entry): Declare new name parameter.
* ldwrite.c (build_link_order): Don't insist that either name or
section be NULL in a lang_reloc_statement.
* ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for
new name parameter.
(constructor_callback): Pass name to ldctor_add_new_set_entry for
new name parameter.

29 years ago * xcofflink.c: More improvements, mostly to fix handling of
Ian Lance Taylor [Fri, 27 Oct 1995 22:20:19 +0000 (22:20 +0000)]
* xcofflink.c: More improvements, mostly to fix handling of
constructors and a few other special cases.
* coff-rs6000.c (rs6000coff_vec): Set symbol_leading_char back to
zero, reverting yesterday's change.
* bfd-in.h (bfd_xcoff_link_record_set): Declare.
(bfd_xcoff_link_count_reloc): Declare.
(bfd_xcoff_record_link_assignment): Declare.
* bfd-in2.h: Rebuild.

29 years ago * config/mips/tm-magic.h config/mips/magic.mt: New files for
Stu Grossman [Fri, 27 Oct 1995 17:53:44 +0000 (17:53 +0000)]
* config/mips/tm-magic.h config/mips/magic.mt:  New files for
magic target support.

29 years ago * breakpoint.c (breakpoint_re_set): #ifdef GET_LONGJMP_TARGET
Stu Grossman [Fri, 27 Oct 1995 17:48:36 +0000 (17:48 +0000)]
* breakpoint.c (breakpoint_re_set):  #ifdef GET_LONGJMP_TARGET
around calls to create_longjmp_breakpoint.  Why install the
breakpoints if we can't find the longjmp target?
* infrun.c (wait_for_inferior):  Cleanup comments near call test.
* remote-mips.c:  Fixed a bunch of prototypes to avoid char/int
complaint from picky compilers.  Add comment to mips_expect.
Replace all instances of sr_get_debug with remote_debug.
* (mips_readchar):  Don't jam init string to monitor.
mips_initialize() handles that.
* (mips_receive_header):  Print better message when we get too
much garbage.
* (mips_request):  Allow caller to pass in buff to allow them to
analyze the returned message.
* (mips_initialize):  Re-do initialization to try sending a BREAK,
a ^C, and then a download escape sequence.  Cleanup protocol
startup.  Eliminate sleeps.  Clear breakpoints (if using monitor
breakpoints).  Re-init frame.
* (mips_detach):  Close down target.
start-sanitize-gm
* (mips_resume):  Pass signal down to target.
* (mips_create_inferior):  Start target with TARGET_SIGNAL_PWR.
end-sanitize-gm
* (mips_wait):  Handle return status with registers, or breakpoint stuff.
* (mips_kill):  Add ^C handling.
* (mips_insert_breakpoint mips_remove_breakpoint):  Call new
breakpoint stuff if enabled.
* (calculate_mask remote_mips_set_watchpoint
remote_mips_remove_watchpoint remote_mips_stopped_by_watchpoint):
Hardware watchpoint/breakpoint stuff.
* (common_breakpoint):  Common code for new monitor breakpoint commands.
* (mips_load):  Don't use `prompt'.  It's a global variable.
* top.c (dont_repeat_command):  New command for use in
user-defined commands to suppress auto-repeat (by hittin return key).
start-sanitize-gm
* utils.c (request_quit):  Call target_kill here.  Good idea.
Needs a better implementation.
end-sanitize-gm
* valops.c:  Add start of auto function-call abandonment capability.

start-sanitize-gm
* c-exp.y:  Add code (currently disabled) to handle GM dynamic
structures (it conflicts with @!).
* eval.c (evaluate_subexp_standard):  ditto.
* expprint.c (print_subexp dump_expression):  ditto.
* expression.h (enum exp_opcode):  ditto.
* parse.c (length_of_subexp):  ditto.
* configure, configure.in:  Add mip*-*-magic* target.
* magic.c magic.h:  Special routines to handle GM stuff (like
stepping through dispatcher).
end-sanitize-gm

29 years ago * config.bfd: Add config stuff for mips*-*-magic* to set
Stu Grossman [Fri, 27 Oct 1995 16:45:28 +0000 (16:45 +0000)]
* config.bfd:  Add config stuff for mips*-*-magic* to set
targ_defvec to ecoff_big_vec.

29 years ago * configure.in: Make sure that CC is undefined (as opposed to
Stu Grossman [Fri, 27 Oct 1995 16:39:10 +0000 (16:39 +0000)]
* configure.in:  Make sure that CC is undefined (as opposed to
null) if toplevel/config/mh-{host} doesn't define it.  Fixes a
problem with autoconf trying to configure on a host without GCC.

* config.sub:  Add `magic' as an OS target for General Magic.

29 years ago * mpw-configure: Set host alias from choice of host compiler,
Stan Shebs [Fri, 27 Oct 1995 05:39:36 +0000 (05:39 +0000)]
* mpw-configure: Set host alias from choice of host compiler,
only use generic MPW Makefile sed if present, edit a file
named "hacked_Makefile.in" instead of "Makefile.in" if present.
* mpw-README: Add problem notes about CW6 and CW7.

29 years agoNew file
Stan Shebs [Fri, 27 Oct 1995 05:32:46 +0000 (05:32 +0000)]
New file

29 years agoReflect updates to Mac support
Stan Shebs [Fri, 27 Oct 1995 05:30:14 +0000 (05:30 +0000)]
Reflect updates to Mac support

29 years ago * mpw-config.in: Add PowerMac target support, generate config.h.
Stan Shebs [Fri, 27 Oct 1995 05:28:17 +0000 (05:28 +0000)]
* mpw-config.in: Add PowerMac target support, generate config.h.
* mac-ld.r: New file, Mac resources.
* mpw-make.sed: New file, edits Makefile.in into MPW syntax.
* mpw-make.in: Remove.
* mpw-eppcmacos.c: Prebuilt version of PowerMac linking script.

29 years ago * config/xm-mpw.h: New file, all-Mac host support.
Stan Shebs [Fri, 27 Oct 1995 05:19:11 +0000 (05:19 +0000)]
* config/xm-mpw.h: New file, all-Mac host support.
* config/m68k/xm-mpw.h: Move most definitions into generic Mac
support.
* config/powerpc/xm-mpw.h: New file, PowerMac host support.

29 years ago * mpw-config.in: Add support for PowerMac host, add beginnings
Stan Shebs [Fri, 27 Oct 1995 05:04:44 +0000 (05:04 +0000)]
* mpw-config.in: Add support for PowerMac host, add beginnings
of native support.
* mpw-make.sed: Disable subdir recursion, edit out useless rule.
* mac-xdep.c (Values.h): Don't include.
(GestaltEqu.h): Include Gestalt.h instead.
(do_mouse_down): Comment out control tracking, needs to be
updated to use UPP before will work on PowerMac.

29 years agoRemove unnecessary CYGNUS LOCAL
Stan Shebs [Fri, 27 Oct 1995 04:59:01 +0000 (04:59 +0000)]
Remove unnecessary CYGNUS LOCAL

29 years agomore XCOFF linker tweaks
Ian Lance Taylor [Fri, 27 Oct 1995 03:36:17 +0000 (03:36 +0000)]
more XCOFF linker tweaks

29 years ago * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
Ian Lance Taylor [Fri, 27 Oct 1995 03:30:15 +0000 (03:30 +0000)]
* ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
along with --static.

29 years ago * ld-scripts/script.s: Make symbols global.
Ian Lance Taylor [Fri, 27 Oct 1995 02:53:47 +0000 (02:53 +0000)]
* ld-scripts/script.s: Make symbols global.

29 years ago * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat
Ian Lance Taylor [Fri, 27 Oct 1995 01:59:30 +0000 (01:59 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat
-static as a synonym for -bnso.

29 years agofix output location of common symbols
Ian Lance Taylor [Fri, 27 Oct 1995 00:10:05 +0000 (00:10 +0000)]
fix output location of common symbols

29 years ago * regex.h: Renamed to gnu-regex.h.
Brendan Kehoe [Thu, 26 Oct 1995 23:54:44 +0000 (23:54 +0000)]
* regex.h: Renamed to gnu-regex.h.
* regex.c: Renamed to gnu-regex.c.
* Makefile.in (POSSLIBS): Refer to gnu-regex.h and gnu-regex.c.
(REGEX, REGEX1): Change to gnu-regex.o instead of regex.o.
(regex.o): Renamed to gnu-regex.o; refer to gnu-regex.c.
(irix5-nat.o, osfsolib.o, gnu-regex.o, solib.o, source.o, symtab.o):
Likewise.
* irix5-nat.c, osfsolib.c, gnu-regex.c, solib.c, source.c, symtab.c):
Include "gnu-regex.h" instead of "regex.h".
* alpha-tdep.c (in_prologue): Rename to alpha_in_prologue, to
avoid conflicts with symtab.h.

fixes building gdb under OSF/1 4.0

29 years agodoc fixes from Roland
Ken Raeburn [Thu, 26 Oct 1995 23:48:41 +0000 (23:48 +0000)]
doc fixes from Roland

29 years agodo not output symbols which need relocs until the end
Ian Lance Taylor [Thu, 26 Oct 1995 23:39:19 +0000 (23:39 +0000)]
do not output symbols which need relocs until the end

29 years agoget symndx right for TOC relative relocs
Ian Lance Taylor [Thu, 26 Oct 1995 23:03:34 +0000 (23:03 +0000)]
get symndx right for TOC relative relocs

29 years agoCosmetic improvements
Stan Shebs [Thu, 26 Oct 1995 21:29:50 +0000 (21:29 +0000)]
Cosmetic improvements

29 years ago * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
David Edelsohn [Thu, 26 Oct 1995 18:46:28 +0000 (18:46 +0000)]
* tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
instruction.

29 years agotweak .loader reloc counting
Ian Lance Taylor [Thu, 26 Oct 1995 18:42:46 +0000 (18:42 +0000)]
tweak .loader reloc counting

29 years ago * xcofflink.c: Numerous changes to get closer to a working XCOFF
Ian Lance Taylor [Thu, 26 Oct 1995 18:25:13 +0000 (18:25 +0000)]
* xcofflink.c: Numerous changes to get closer to a working XCOFF
linker.
* libcoff-in.h (struct xcoff_tdata): Add full_aouthdr,
toc_section, and entry_section fields.
(struct xcoff_section_tdata): Remove ldrel_count field.
* libcoff.h: Rebuild.
* coffcode.h (coff_mkobject_hook): Initialize new xcoff_data
fields.
(coff_compute_section_file_positions): If RS6000COFF_C, generate
full a.out header if full_aouthdr is set in xcoff_data.
(coff_write_object_contents): Likewise.  Set o_snentry and o_sntoc
based on sections stored in xcoff_data.
* coff-rs6000.c (xcoff_copy_private_bfd_data): Copy new xcoff_data
fields.
* coffgen.c (coff_get_symbol_info): If fix_value is set, fix the
value stored in ret rather than returning a pointer value.

29 years ago * scripttempl/aix.sc: Move special symbols inside sections.
Ian Lance Taylor [Thu, 26 Oct 1995 18:12:41 +0000 (18:12 +0000)]
* scripttempl/aix.sc: Move special symbols inside sections.
Always start .data at 0.

29 years agoDelete *.i and *.out files for clean
Michael Meissner [Thu, 26 Oct 1995 18:10:13 +0000 (18:10 +0000)]
Delete *.i and *.out files for clean

29 years agoFix SWAP_8 and optimize it; print out the failing address if a signal is issued for...
Michael Meissner [Thu, 26 Oct 1995 16:43:00 +0000 (16:43 +0000)]
Fix SWAP_8 and optimize it; print out the failing address if a signal is issued for non-gdb runs

29 years agoMakefile.in (taz): Use ";" not ";;".
Ken Raeburn [Thu, 26 Oct 1995 09:47:14 +0000 (09:47 +0000)]
Makefile.in (taz): Use ";" not ";;".

29 years agoRemove MAC object format support from powerpc-eabi for now
Michael Meissner [Thu, 26 Oct 1995 03:12:19 +0000 (03:12 +0000)]
Remove MAC object format support from powerpc-eabi for now

29 years agotrying to nuke for crash... files no longer needed
Angela Marie Thomas [Thu, 26 Oct 1995 00:11:31 +0000 (00:11 +0000)]
trying to nuke for crash... files no longer needed

29 years agodon't keep mh-aix mh-sun.
Jason Molenda [Wed, 25 Oct 1995 23:53:11 +0000 (23:53 +0000)]
don't keep mh-aix mh-sun.

29 years ago * Makefile.in (taz): Grep for '^diststuff:' or '^info:' in
Per Bothner [Wed, 25 Oct 1995 22:23:40 +0000 (22:23 +0000)]
* Makefile.in (taz):  Grep for '^diststuff:' or '^info:' in
sub-directory Makefiles, instead of using DISTSTUFFDIRS and
DISTDOCDIRS.
(DISTSTUFFDIRS, DISTDOCDIRS):  Removed - no longer used.
(newlib.tar.gz):  Don't pass DISTDOCDIRS to recursive make.

29 years ago * som.c (som_slurp_string_table): Allocate the strings with malloc
Jeff Law [Wed, 25 Oct 1995 22:23:33 +0000 (22:23 +0000)]
    * som.c (som_slurp_string_table): Allocate the strings with malloc
        since they're free'd by free_cached_info.
        (som_slurp_symbol_table): Similarly for the symbol table.
Fixes crash (nm /lib/libc.a on hpux10).

29 years agoupdated for jsmith's file renaming
Ken Raeburn [Wed, 25 Oct 1995 22:07:38 +0000 (22:07 +0000)]
updated for jsmith's file renaming

29 years ago * Makefile.in (diststuff): Don't make headers.
Per Bothner [Wed, 25 Oct 1995 21:59:47 +0000 (21:59 +0000)]
* Makefile.in (diststuff):  Don't make headers.

29 years ago * Makefile.in (DISTDOCDIRS): Remove ld gprof bnutils gas libg++ gdb
Per Bothner [Wed, 25 Oct 1995 21:54:55 +0000 (21:54 +0000)]
* Makefile.in (DISTDOCDIRS):  Remove ld gprof bnutils gas libg++ gdb
and gnats, because they are now subsumed by DISTSTUFFDIRS.
Move bfd to DISTSTUFFDIRS.

29 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Wed, 25 Oct 1995 20:42:36 +0000 (20:42 +0000)]
* Makefile.in: Rebuild dependencies.

29 years agofix XCOFF line number handling
Ian Lance Taylor [Wed, 25 Oct 1995 20:33:38 +0000 (20:33 +0000)]
fix XCOFF line number handling

29 years ago * Makefile.in (diststuff): Also make info.
Per Bothner [Wed, 25 Oct 1995 20:24:00 +0000 (20:24 +0000)]
* Makefile.in (diststuff):  Also make info.
(mostlyclean):  Don't remove gprof.info*.
(maintainer-clean realclean):  Also remove *.info*.

29 years ago * mpw-make.sed: Edit paths to generated y.tab.[ch] files.
Stan Shebs [Wed, 25 Oct 1995 19:12:25 +0000 (19:12 +0000)]
* mpw-make.sed: Edit paths to generated y.tab.[ch] files.

29 years ago * Makefile.in (diststuff): Also make info.
Per Bothner [Wed, 25 Oct 1995 18:59:59 +0000 (18:59 +0000)]
* Makefile.in (diststuff):  Also make info.
(maintainer-clean realclean):  Also make clean-info.

29 years ago * Makefile.in (diststuff): Also make info.
Per Bothner [Wed, 25 Oct 1995 18:51:37 +0000 (18:51 +0000)]
* Makefile.in (diststuff):  Also make info.
(maintainer-clean realclean):  Also delete *.info*.

29 years agoset l_stoff to 0 if there are no strings
Ian Lance Taylor [Wed, 25 Oct 1995 18:31:27 +0000 (18:31 +0000)]
set l_stoff to 0 if there are no strings

29 years agoonly read the section relocs if there are some
Ian Lance Taylor [Wed, 25 Oct 1995 17:58:30 +0000 (17:58 +0000)]
only read the section relocs if there are some

29 years agoadd OUTPUT_FORMAT and LIB_SEARCH_DIRS
Ian Lance Taylor [Wed, 25 Oct 1995 17:51:13 +0000 (17:51 +0000)]
add OUTPUT_FORMAT and LIB_SEARCH_DIRS

29 years agotweak line number and gc handling
Ian Lance Taylor [Wed, 25 Oct 1995 17:45:33 +0000 (17:45 +0000)]
tweak line number and gc handling

29 years agotweak option handling
Ian Lance Taylor [Wed, 25 Oct 1995 17:37:35 +0000 (17:37 +0000)]
tweak option handling

29 years ago * sunos.c (bfd_sunos_record_link_assignment): Don't do anything if
Ian Lance Taylor [Wed, 25 Oct 1995 16:33:02 +0000 (16:33 +0000)]
* sunos.c (bfd_sunos_record_link_assignment): Don't do anything if
output_bfd is not SunOS.
(bfd_sunos_size_dynamic_sections): Likewise.  Don't scan relocs of
non-SunOS input files.
PR 8270.

29 years ago * emultempl/aix.em: Add support for various AIX linker options,
Ian Lance Taylor [Wed, 25 Oct 1995 15:49:27 +0000 (15:49 +0000)]
* emultempl/aix.em: Add support for various AIX linker options,
for AIX import and export files, and for AIX shared objects.
* scripttempl/aix.sc: Add .pad.  Put .ds just before the TOC.

29 years ago * ldmain.c (main): Initialize new field link_info.static_link.
Ian Lance Taylor [Wed, 25 Oct 1995 15:48:53 +0000 (15:48 +0000)]
* ldmain.c (main): Initialize new field link_info.static_link.

* ldmain.c (add_keepsyms_file): Add \n at end of einfo calls.
(constructor_callback): Likewise.
* ldmisc.c (vfinfo): Likewise.
* ldwrite.c (build_link_order): Likewise.

29 years ago * xcofflink.c: Extensive changes to support linking shared objects
Ian Lance Taylor [Wed, 25 Oct 1995 15:37:47 +0000 (15:37 +0000)]
* xcofflink.c: Extensive changes to support linking shared objects
and generating a .loader section.
* libcoff-in.h (struct xcoff_tdata): Add import_file_id field.
(struct xcoff_section_tdata): Add first_symndx, last_symndx,
and ldrel_count fields.
* libcoff.h: Rebuild.
* coff-rs6000.c (xcoff_howto_table): Correct reloc names.
* coffcode.h (styp_to_sec_flags): Don't set any flags if STYP_PAD
is set.
* bfd-in.h (bfd_xcoff_import_symbol): Declare.
(bfd_xcoff_export_symbol): Declare.
(bfd_xcoff_size_dynamic_sections): Declare.
* bfd-in2.h: Rebuild.

29 years ago * ld.texinfo: The MRI ALIGN directive is supported.
Ian Lance Taylor [Wed, 25 Oct 1995 15:28:28 +0000 (15:28 +0000)]
* ld.texinfo: The MRI ALIGN directive is supported.

29 years agoforgot to check this in.
Jason Molenda [Wed, 25 Oct 1995 02:17:02 +0000 (02:17 +0000)]
forgot to check this in.

29 years ago * bfdlink.h (struct bfd_link_info): Add static_link field.
Ian Lance Taylor [Wed, 25 Oct 1995 01:46:09 +0000 (01:46 +0000)]
* bfdlink.h (struct bfd_link_info): Add static_link field.

29 years agoTue Oct 24 18:30:18 1995 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 25 Oct 1995 01:33:26 +0000 (01:33 +0000)]
Tue Oct 24 18:30:18 1995  Jason Molenda  (crash@phydeaux.cygnus.com)

        * config/pa/hppahpux.mh: Remove hardcoding of X locations.
        * Makefile.in: Use X11_CFLAGS, X11_LDFLAGS and X11_LIBS.
        * configure.in: Link X statically on Solaris, SunOS and HPUX.

29 years agoFri Oct 13 14:44:25 1995 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 25 Oct 1995 01:24:21 +0000 (01:24 +0000)]
Fri Oct 13 14:44:25 1995  Jason Molenda  (crash@phydeaux.cygnus.com)

        * mh-aix, mh-sun:  Removed.

        * mh-decstation (X11_EXTRA_CFLAGS): Define.

        * mh-sco, mh-solaris, mh-sysv4 (X11_EXTRA_LIBS): Define.

        * mh-hp300, mh-hpux, mh-hpux8, mh-solaris, mh-sun3, mh-sysv4: Don't
        hardcode location of X stuff here.

29 years agoTue Oct 24 18:19:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 25 Oct 1995 01:21:08 +0000 (01:21 +0000)]
Tue Oct 24 18:19:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)

        * Makefile.in (X11_LIB): Removed.
        (X11_FLAGS_TO_PASS): pass only X11_EXTRA_CFLAGS and X11_EXTRA_LIBS.

        * configure.in (host_makefile_frag): mh-aix & mh-sun removed.

29 years ago * configure.in: Add xcofflink.o to pmac_xcoff_vec.
Stan Shebs [Wed, 25 Oct 1995 00:54:55 +0000 (00:54 +0000)]
* configure.in: Add xcofflink.o to pmac_xcoff_vec.
* configure: Rebuild.
* mpw-config.in: Add xcofflink.c.o to powerpc-apple-macos.
* coff-pmac.c: Include coff-rs6000.c instead of duplicating its
contents.
(pmac_xcoff_vec): Update to use new xcoff support.
* coff-rs6000.c (xcoff_generic_stat_arch_elt): Make static.
(xcoff_write_armap): Declare buf as unsigned char.
* xcofflink.c (xcoff_link_add_symbols): Declare a local as PTR.

* mpw-make.sed: Generalize subdir_do edit.

29 years ago * monitor.h (struct memrw_cmd->resp_delim): Document this as a regexp.
Stu Grossman [Tue, 24 Oct 1995 21:35:23 +0000 (21:35 +0000)]
* monitor.h (struct memrw_cmd->resp_delim):  Document this as a regexp.

29 years ago * monitor.c (monitor_expect_regexp): Same as monitor_expect, but
Stu Grossman [Tue, 24 Oct 1995 21:31:07 +0000 (21:31 +0000)]
* monitor.c (monitor_expect_regexp):  Same as monitor_expect, but
with the obvious extension.  (monitor_read_memory_single):  Use
regexp for getmem.resp_delim because of parsing ambiguities caused
by certain monitors.  (monitor_read_memory):  Use new regexp stuff
to parse getmem.resp_delim.
* sh3-rom.c:  Finish off table.  Use new regexp capability for
getmem commands.

29 years agoDocument .nsubspa.
Jeff Law [Tue, 24 Oct 1995 21:27:44 +0000 (21:27 +0000)]
Document .nsubspa.

29 years ago * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
Jeff Law [Tue, 24 Oct 1995 21:26:51 +0000 (21:26 +0000)]
    * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
        (pa_subspace): For ".nsubspa", always create a new subspace
        with the given attributes, even if one already exists with the
        same name.

So we can put every function into its own $CODE$ subspace.

29 years ago * infrun.c (wait_for_inferior): Disable questionable code near
Stu Grossman [Tue, 24 Oct 1995 21:22:56 +0000 (21:22 +0000)]
* infrun.c (wait_for_inferior):  Disable questionable code near
the step range test.  Replace call detection test with much
simpler (and more efficient) test that doesn't require prologue
examination (as often).
* symtab.c symtab.h (in_prologue):  New function that indicates
whether or not we are in a function prologue.  This uses the
symbol table, and then falls back to prologue examination if that
fails.  It's much more efficient for remote debugging because it
avoids examining memory, which is very slow.  This is used in
wait_for_inferior to determine if we've made a function call that
needs to be skipped over (for next/nexti).
* mips-tdep.c (after_prologue):  New function, returns the PC
after the prologue.  Uses PDRs and the symbol table.
(mips_find_saved_regs):  Use in_prologue() to avoid costly
prologue examination if possible.
(mips_skip_prologue):  Use after_prologue() if possible to avoid
costly prologue examination.

29 years ago * mmprivate.h: Remove declarations (PTR, etc) that are already
Stan Shebs [Tue, 24 Oct 1995 20:21:58 +0000 (20:21 +0000)]
* mmprivate.h: Remove declarations (PTR, etc) that are already
provided by ansidecl.h, include mmalloc.h earlier in file.

29 years agoFix PR 8255
Michael Meissner [Tue, 24 Oct 1995 18:59:05 +0000 (18:59 +0000)]
Fix PR 8255

29 years ago * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
Jeff Law [Tue, 24 Oct 1995 17:14:13 +0000 (17:14 +0000)]
    * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
        * gdb.disasm/hppa.s: Corresponding changes.

29 years ago * gas/hppa/basic/basic.exp: Test lci and syncdma instructions.
Jeff Law [Tue, 24 Oct 1995 17:00:11 +0000 (17:00 +0000)]
    * gas/hppa/basic/basic.exp: Test lci and syncdma instructions.
        * gas/hppa/basic/system.s: Corresponding changes.

29 years ago * hppa.h: Add lci and syncdma instructions.
Jeff Law [Tue, 24 Oct 1995 16:50:16 +0000 (16:50 +0000)]
    * hppa.h: Add lci and syncdma instructions.
From the PA1.1 third edition manual.

29 years ago * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos
Jeff Law [Tue, 24 Oct 1995 16:27:25 +0000 (16:27 +0000)]
    * hppabsd-core.c (make_bfd_asection): Initialize asect->filepos
        correctly.  Don't initialize asect->vma.

29 years agochanges for input file open error, not printing filename when not available
Ken Raeburn [Mon, 23 Oct 1995 20:40:09 +0000 (20:40 +0000)]
changes for input file open error, not printing filename when not available

29 years agoIf no filename is available (because we haven't opened the input file yet),
Ken Raeburn [Mon, 23 Oct 1995 20:39:44 +0000 (20:39 +0000)]
If no filename is available (because we haven't opened the input file yet),
don't try to print one.

29 years agoThe revision 2.48 change (grossman 1995/10/16) had unfortunately
Jackie Smith Cashion [Mon, 23 Oct 1995 16:09:58 +0000 (16:09 +0000)]
The revision 2.48 change (grossman 1995/10/16) had unfortunately
broken the prompt spotting for the <RISQ> variant of the IDT
monitor. Also took this opportunity to add the vr4300 configure.in
options.

29 years agoRenamed the VR4300 specific emulparams files to 8.3 unique names,
Jackie Smith Cashion [Mon, 23 Oct 1995 11:56:50 +0000 (11:56 +0000)]
Renamed the VR4300 specific emulparams files to 8.3 unique names,
since the old names could cause problems when hosting the source tree
on non-Un*x systems.

29 years agoAdded command-line support for NEC VR4100, to allow support for
Jackie Smith Cashion [Mon, 23 Oct 1995 11:20:02 +0000 (11:20 +0000)]
Added command-line support for NEC VR4100, to allow support for
4100-specific instructions.

29 years agomips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added the
Jackie Smith Cashion [Mon, 23 Oct 1995 11:14:17 +0000 (11:14 +0000)]
mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added the
VR4100 specific instructions to the mips_opcodes structure.

29 years agomips.h: Added INSN_4100 flag to mark NEC VR4100 specific instructions.
Jackie Smith Cashion [Mon, 23 Oct 1995 11:11:20 +0000 (11:11 +0000)]
mips.h: Added INSN_4100 flag to mark NEC VR4100 specific instructions.

29 years ago(keep_these_too): Add Guile sub-directories.
Per Bothner [Sun, 22 Oct 1995 21:37:29 +0000 (21:37 +0000)]
(keep_these_too): Add Guile sub-directories.

29 years agoFix SH simulator to handle program exit correctly.
Jim Wilson [Sun, 22 Oct 1995 20:22:02 +0000 (20:22 +0000)]
Fix SH simulator to handle program exit correctly.

29 years agoshorten some multi directory names.
Michael Meissner [Sun, 22 Oct 1995 17:31:02 +0000 (17:31 +0000)]
shorten some multi directory names.

29 years agoshorten some multi directory names.
Michael Meissner [Sun, 22 Oct 1995 17:06:26 +0000 (17:06 +0000)]
shorten some multi directory names.

29 years agoIndicate SIGILL instead of calling abort for default case.
Jim Wilson [Sat, 21 Oct 1995 21:38:40 +0000 (21:38 +0000)]
Indicate SIGILL instead of calling abort for default case.

29 years ago * alpha-tdep.c, mips-tdep.c (init_extra_frame_info):
Peter Schauer [Sat, 21 Oct 1995 13:14:53 +0000 (13:14 +0000)]
* alpha-tdep.c, mips-tdep.c (init_extra_frame_info):
Do not set saved registers from heuristics for a sigtramp frame.

* dwarfread.c (enum_type):  Determine signedness of enum type
from enumerators.

* mips-tdep.c:  Include gdb_string.h, gcc -Wall lint.

* rs6000-nat.c (xcoff_relocate_core):  Fix typo.

* valops.c (value_repeat):  Fix length of memory transfer to
match recent allocate_repeat_value change.

29 years ago * binutils.texi: Change --with-targets to --enable-targets.
Ian Lance Taylor [Fri, 20 Oct 1995 22:42:21 +0000 (22:42 +0000)]
* binutils.texi: Change --with-targets to --enable-targets.

29 years agoupdate copyrights
Ken Raeburn [Fri, 20 Oct 1995 22:22:07 +0000 (22:22 +0000)]
update copyrights

29 years agoAdd -mcall-aixdesc variants
Michael Meissner [Fri, 20 Oct 1995 22:03:21 +0000 (22:03 +0000)]
Add -mcall-aixdesc variants

29 years ago * Makefile.in: Remove extraneous tab on otherwise empty line,
Fred Fish [Fri, 20 Oct 1995 20:58:45 +0000 (20:58 +0000)]
* Makefile.in:  Remove extraneous tab on otherwise empty line,
which confuses many non-GNU versions of "make".

29 years ago* opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use something a
Ken Raeburn [Fri, 20 Oct 1995 17:25:27 +0000 (17:25 +0000)]
* opncls.c (_bfd_new_bfd): If _bfd_chunksize wasn't preset, use something a
little less than the page size.

29 years ago*** empty log message ***
Fred Fish [Fri, 20 Oct 1995 16:16:18 +0000 (16:16 +0000)]
*** empty log message ***

29 years ago * gdbtypes.c (get_discrete_bounds): Fix typo.
Per Bothner [Fri, 20 Oct 1995 02:05:29 +0000 (02:05 +0000)]
* gdbtypes.c (get_discrete_bounds):  Fix typo.

29 years ago * defs.h (SEEK_SET, SEEK_CUR): Add default definitions.
Stan Shebs [Fri, 20 Oct 1995 01:43:31 +0000 (01:43 +0000)]
* defs.h (SEEK_SET, SEEK_CUR): Add default definitions.
* dbxread.c, mdebugread.c, os9kread.c (SEEK_SET, SEEK_CUR):
Remove default definitions.

29 years agoHitachi SH3e, patch to make FP registers debuggable.
Jim Wilson [Thu, 19 Oct 1995 23:29:59 +0000 (23:29 +0000)]
Hitachi SH3e, patch to make FP registers debuggable.

29 years ago * configure.in (i[345]86-*-win32): Always build newlib.
Steve Chamberlain [Thu, 19 Oct 1995 23:14:56 +0000 (23:14 +0000)]
* configure.in (i[345]86-*-win32): Always build newlib.
Don't configure cvs, autoconf or texinfo.
(really this time)

29 years ago * ldlex.l: Treat PROVIDE as a keyword in expression state.
Ian Lance Taylor [Thu, 19 Oct 1995 21:42:41 +0000 (21:42 +0000)]
* ldlex.l: Treat PROVIDE as a keyword in expression state.

29 years ago * Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
Stan Shebs [Thu, 19 Oct 1995 19:54:44 +0000 (19:54 +0000)]
* Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.
(MMALLOC_SRC): Define.
(MMALLOC_CFLAGS): Use.
(ser-mac.o): Add rule.
* dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET
  with SEEK_SET in all calls to bfd_seek.
* scm-tags.h (scm_tags): Remove excess comma.

29 years agoComings and goings of Mac-related files
Stan Shebs [Thu, 19 Oct 1995 19:31:18 +0000 (19:31 +0000)]
Comings and goings of Mac-related files

29 years ago * mpw-config.in: Adapt to work with autoconf'ed configury;
Stan Shebs [Thu, 19 Oct 1995 19:29:52 +0000 (19:29 +0000)]
* mpw-config.in: Adapt to work with autoconf'ed configury;
build config.h, add empty definitions to mk.tmp.
(powerpc-apple-macos): Make it work.
* mpw-make.sed: New file, sed commands to translate Unix makefile
into MPW syntax.
* mpw-make.in: Remove.
* mac-gdb.r: New file, was macgdb.r, renamed for consistency
with other tools, now includes cfrg resource.
* macgdb.r: Remove.
* config/m68k/xm-mpw.h: Remove most of contents, replace with
include of include/mpw/mpw.h.

29 years ago * mpw-config.in, mpw-make.sed: Remove ugly workaround for
Stan Shebs [Thu, 19 Oct 1995 18:11:54 +0000 (18:11 +0000)]
* mpw-config.in, mpw-make.sed: Remove ugly workaround for
ugly Metrowerks bug in CW6, is fixed in CW7.