binutils-gdb.git
31 years agodoc/Makefile.in, write.c, config/tc-sparc.* changes
Ken Raeburn [Mon, 25 Oct 1993 17:51:05 +0000 (17:51 +0000)]
doc/Makefile.in, write.c, config/tc-sparc.* changes

31 years ago * write.c (write_relocs): For relocs that are pc_relative and
Ken Raeburn [Mon, 25 Oct 1993 17:49:24 +0000 (17:49 +0000)]
* write.c (write_relocs): For relocs that are pc_relative and
pcrel_offset and not partial_inplace, adjust reloc->addend to
compensate for a bfd_perform_relocation bug.

31 years ago* config/tc-sparc.h: Removed remaining non-BFD_ASSEMBLER code.
Ken Raeburn [Mon, 25 Oct 1993 17:45:17 +0000 (17:45 +0000)]
* config/tc-sparc.h: Removed remaining non-BFD_ASSEMBLER code.
* config/tc-sparc.c: Ditto.
(tc_gen_reloc): Include fx_offset for pcrel fixups.

31 years ago* Makefile.in (install-info): Rewrite to take advantage of VPATH, so FSF
Ken Raeburn [Mon, 25 Oct 1993 17:38:20 +0000 (17:38 +0000)]
* Makefile.in (install-info): Rewrite to take advantage of VPATH, so FSF
distributions (with info files in $(srcdir)) install properly.
(DISTSTUFF): Build nlmheader.c too.

31 years agoaoutx.h (reloc_type_lookup): Handle BFD_RELOC_SPARC_WDISP22.
Ken Raeburn [Mon, 25 Oct 1993 17:01:57 +0000 (17:01 +0000)]
aoutx.h (reloc_type_lookup): Handle BFD_RELOC_SPARC_WDISP22.

31 years agobunch of changes...
Ken Raeburn [Mon, 25 Oct 1993 16:48:51 +0000 (16:48 +0000)]
bunch of changes...

31 years agokeep diff1.s
Ken Raeburn [Mon, 25 Oct 1993 16:48:30 +0000 (16:48 +0000)]
keep diff1.s

31 years agonew test case for relocations with addends
Ken Raeburn [Mon, 25 Oct 1993 16:46:55 +0000 (16:46 +0000)]
new test case for relocations with addends

31 years agokeep pic1.s
Ken Raeburn [Mon, 25 Oct 1993 16:45:26 +0000 (16:45 +0000)]
keep pic1.s

31 years agotest case for relocations with addends
Ken Raeburn [Mon, 25 Oct 1993 16:40:44 +0000 (16:40 +0000)]
test case for relocations with addends

31 years agokeep new sun4 dir
Ken Raeburn [Mon, 25 Oct 1993 16:39:21 +0000 (16:39 +0000)]
keep new sun4 dir

31 years ago* ldlang.c (delete_output_file_on_failure): New variable.
Ken Raeburn [Mon, 25 Oct 1993 16:35:23 +0000 (16:35 +0000)]
* ldlang.c (delete_output_file_on_failure): New variable.
(open_output): Set it after bfd open succeeds.
* ldmisc.c (vfinfo): Test it.

Changes from Peter Hoogenboom, hoogen@cs.utah.edu:

* ldsym.c (write_file_locals): Set the BSF_FILE flag for object symbols.

* ldemul.c: Support was added to allow emulation-specific processing to occur.
This support was added primarily for linker stub generation in the elf32-hppa
gld.
(ldemul_finish, ldemul_create_output_section_statements):  New functions.
* ldemul.h: Support was added to allow emulation-specific processing to occur.
(As described above.)  Added finish and create_output_section_statements fields
to ld_emulation_xfer_struct structure.
* ldlang.c: Add calls to emulation-specific routines.
(lang_process):  Add call to ldemul_create_output_section_statements function.
(lang_process):  Add call to a emulation-specific routine (and
some processing after the call).

31 years agoRemove incorrect comment about SEC_HAS_CONTENTS not getting set.
Fred Fish [Mon, 25 Oct 1993 14:38:38 +0000 (14:38 +0000)]
Remove incorrect comment about SEC_HAS_CONTENTS not getting set.

31 years ago * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
Jim Kingdon [Mon, 25 Oct 1993 00:01:16 +0000 (00:01 +0000)]
* gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
just started failing because they depended on the order the
subcommands are presented, or exact docstring text.  This kind of
test is a pain and has minimal benefit.

31 years agoAdd support for .dword pseudo op to mips port.
Jim Wilson [Sun, 24 Oct 1993 23:52:09 +0000 (23:52 +0000)]
Add support for .dword pseudo op to mips port.

31 years agoSun Oct 24 20:16:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jim Kingdon [Sun, 24 Oct 1993 23:42:02 +0000 (23:42 +0000)]
Sun Oct 24 20:16:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* parse.c, parser-defs.h (write_exp_msymbol):  New function to write
the appropriate expression for a minimal symbol.
* c-exp.y, m2-exp.y:  Use it.

31 years ago * remote-vx.c (vx_wait): Rename pid parameter to pid_to_wait_for.
Jim Kingdon [Sun, 24 Oct 1993 18:05:39 +0000 (18:05 +0000)]
* remote-vx.c (vx_wait): Rename pid parameter to pid_to_wait_for.
Some compilers (legitimately) don't like variables in the
function's outermost block whose name is the name as a parameter.

31 years ago * elfread.c (elf_symtab_read): Use bfd convention that both
Fred Fish [Sun, 24 Oct 1993 16:41:11 +0000 (16:41 +0000)]
* elfread.c (elf_symtab_read):  Use bfd convention that both
initialized and uninitialized data sections have the SEC_ALLOC
flag bit set, but only initialized sections have SEC_LOAD set.
SEC_DATA is ignored since it only gets set for initialized
data.  Likewise, SEC_HAS_CONTENTS is ignored now because it
never gets set.

31 years agouse lowercase "format" instead of Format/format
David D. Zuhn [Sun, 24 Oct 1993 05:25:35 +0000 (05:25 +0000)]
use lowercase "format" instead of Format/format

31 years agoremove debugging output accidentally checked in
David D. Zuhn [Sun, 24 Oct 1993 04:45:51 +0000 (04:45 +0000)]
remove debugging output accidentally checked in

31 years ago(sim_stop_signal): Result is now enum sim_stop.
David Edelsohn [Sat, 23 Oct 1993 22:10:28 +0000 (22:10 +0000)]
(sim_stop_signal): Result is now enum sim_stop.

31 years ago(sim_stop_signal): Result is now enum sim_stop.
David Edelsohn [Sat, 23 Oct 1993 22:03:52 +0000 (22:03 +0000)]
(sim_stop_signal): Result is now enum sim_stop.

31 years ago* remote-sim.h (sim_stop): New enum.
David Edelsohn [Sat, 23 Oct 1993 21:56:47 +0000 (21:56 +0000)]
* remote-sim.h (sim_stop): New enum.
(sim_stop_signal): Change prototype, result is enum sim_stop.
* remote-sim.c (gdbsim_wait): Update call to sim_stop_signal.

31 years ago * stabsread.c (define_symbol): Skip the whole thing about "pcc
Jim Kingdon [Sat, 23 Oct 1993 01:56:18 +0000 (01:56 +0000)]
* stabsread.c (define_symbol): Skip the whole thing about "pcc
promotion" on little-endian machines.

31 years ago * remote-vx.c: Rename pid parameter to pid_to_wait_for. Some
Jim Kingdon [Sat, 23 Oct 1993 01:14:47 +0000 (01:14 +0000)]
* remote-vx.c: Rename pid parameter to pid_to_wait_for.  Some
compilers (legitimately) don't like variables in the function's
outermost block whose name is the name as a parameter.

31 years ago Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
Jim Kingdon [Fri, 22 Oct 1993 20:25:43 +0000 (20:25 +0000)]
Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
* dst.h, dstread.c, config/m68k/{apollo68b.mt,tm-apollo68b.h}:
New files.
* config/m68k/nm-apollo68b.h: Add more defines.
* configure.in: Recognize apollo target, not just host.

31 years ago * input-scrub.c (physical_input_file, logical_input_file,
Ian Lance Taylor [Fri, 22 Oct 1993 19:15:20 +0000 (19:15 +0000)]
* input-scrub.c (physical_input_file, logical_input_file,
physical_input_line, logical_input_line): Made static.
(as_where): Return current file name and line number, don't print
them out.
* messages.c (as_show_where): New static function.  Other
functions use it instead of as_where.
(as_bad_internal): New static function.
(as_bad): Use as_bad_internal.
(as_bad_where): New function, like as_bad but taking a file name
and line number.
* as.h (as_bad_where): Declare.
(as_where): Change prototype for new arguments.
* write.h (fixS): Added fields fx_file and fx_line.
* write.c (fix_new_internal): Save file and line number in fix.
(fixup_segment): Use as_bad_where, not as_bad.
* input-file.c (f_in, file_name): Made static.
* cond.c (struct file_line): Just use file and line fields.
(s_else): Use as_where and as_bad_where, not get_file_line and
set_file_line.
(get_file_line, set_file_line): Removed.
* listing.c (listing_newline): Use as_where.
* config/obj-coffbfd.c (obj_coff_init_stab_section): Use as_where.
* config/obj-ecoff.c (add_file): Use as_where.
* config/obj-elf.c (obj_elf_init_stab_section): Use as_where.
* config/tc-m68k.c (md_apply_fix_2): Use as_bad_where.
* config/tc-mips.c (tc_gen_reloc): Use as_bad_where, not assert.

31 years agonote change to fprintf declaration
Mark Eichin [Fri, 22 Oct 1993 18:15:53 +0000 (18:15 +0000)]
note change to fprintf declaration

31 years agonote TDEFINES setting of FPRINTF_ALREADY_DECLARED.
Mark Eichin [Fri, 22 Oct 1993 18:14:21 +0000 (18:14 +0000)]
note TDEFINES setting of FPRINTF_ALREADY_DECLARED.

31 years agohide declaration of fprintf inside FPRINTF_ALREADY_DECLARED, because
Mark Eichin [Fri, 22 Oct 1993 18:04:09 +0000 (18:04 +0000)]
hide declaration of fprintf inside FPRINTF_ALREADY_DECLARED, because
this declaration can be wrong but there must *be* a declaration for
include/dis-asm.h to work.

31 years ago Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
Jim Kingdon [Fri, 22 Oct 1993 16:03:08 +0000 (16:03 +0000)]
Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):
* dst.h, dstread.c, config/m68k/{apollo68b.mt,tm-apollo68b.h}:
New files.
* config/m68k/nm-apollo68b.h: Add more defines.
* configure.in: Recognize apollo target, not just host.

31 years ago * targets.c (target_vector): Enable MIPS ELF vectors.
Ian Lance Taylor [Fri, 22 Oct 1993 15:56:08 +0000 (15:56 +0000)]
* targets.c (target_vector): Enable MIPS ELF vectors.

31 years agonew for apollo
Jim Kingdon [Fri, 22 Oct 1993 15:24:31 +0000 (15:24 +0000)]
new for apollo

31 years agonew for apollo
Jim Kingdon [Fri, 22 Oct 1993 15:14:45 +0000 (15:14 +0000)]
new for apollo

31 years ago* config.bfd: Use bigmips for mips-sony-bsd*.
Jim Kingdon [Fri, 22 Oct 1993 14:58:28 +0000 (14:58 +0000)]
* config.bfd: Use bigmips for mips-sony-bsd*.

31 years ago* configure.in: Add * to end of all OS names.
Jim Kingdon [Fri, 22 Oct 1993 13:49:08 +0000 (13:49 +0000)]
* configure.in: Add * to end of all OS names.

31 years ago* configure.host, config.bfd: Add * to end of all OS names.
Jim Kingdon [Fri, 22 Oct 1993 13:36:28 +0000 (13:36 +0000)]
* configure.host, config.bfd: Add * to end of all OS names.

31 years ago* configure.in: Add * to end of all OS names.
Jim Kingdon [Fri, 22 Oct 1993 13:32:12 +0000 (13:32 +0000)]
* configure.in: Add * to end of all OS names.

31 years ago * Makefile.in (ALLPARAM): Add config/m88k/xm-delta88v4.h
Fred Fish [Fri, 22 Oct 1993 13:24:55 +0000 (13:24 +0000)]
* Makefile.in (ALLPARAM):  Add config/m88k/xm-delta88v4.h

31 years ago* munch: Removed.
Jim Kingdon [Fri, 22 Oct 1993 06:08:04 +0000 (06:08 +0000)]
* munch: Removed.

31 years ago * Makefile.in (init.c): Generate using the source, not munch. This
Jim Kingdon [Fri, 22 Oct 1993 06:03:50 +0000 (06:03 +0000)]
* Makefile.in (init.c): Generate using the source, not munch.  This
cleans up all kinds of hassles (which nm to use in munch, etc).  The
new formatting conventions (mostly already followed) are that
the name of the _initialize_* routines must start in column zero,
and must not be inside #if.
* munch: Removed.
* Makefile.in: Remove references to munch.
* serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
z8k-tdep.c: Make sure the above conventions are followed.  Make
sure they are all declared as returning void.  Clean up
miscellaneous comments and such.

31 years ago * Makefile.in (init.c): Generate using the source, not munch. This
Jim Kingdon [Fri, 22 Oct 1993 05:55:58 +0000 (05:55 +0000)]
* Makefile.in (init.c): Generate using the source, not munch.  This
cleans up all kinds of hassles (which nm to use in munch, etc).  The
new formatting conventions (mostly already followed) are that
the name of the _initialize_* routines must start in column zero,
and must not be inside #if.
* munch: Removed.
* Makefile.in: Remove references to munch.
* serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
z8k-tdep.c: Make sure the above conventions are followed.  Make
sure they are all declared as returning void.  Clean up
miscellaneous comments and such.

31 years agoMan page for "run" simulator, and install-man target for it.
Roland Pesch [Fri, 22 Oct 1993 04:58:26 +0000 (04:58 +0000)]
Man page for "run" simulator, and install-man target for it.

31 years ago* Makefile.in: Update dependencies to reflect all these new includes.
Jim Kingdon [Fri, 22 Oct 1993 01:49:27 +0000 (01:49 +0000)]
* Makefile.in: Update dependencies to reflect all these new includes.

31 years ago* sh-tdep.c (sim_load): Add function.
Jim Kingdon [Fri, 22 Oct 1993 00:53:32 +0000 (00:53 +0000)]
* sh-tdep.c (sim_load): Add function.

31 years agoadd pid argument to mips_wait
David D. Zuhn [Thu, 21 Oct 1993 23:02:40 +0000 (23:02 +0000)]
add pid argument to mips_wait

31 years ago * Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
Jim Kingdon [Thu, 21 Oct 1993 20:41:50 +0000 (20:41 +0000)]
* Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
which no longer occur.

gcc -Wall lint:
* findvar.c (symbol_read_needs_frame), corelow.c (ignore),
inflow.c (gdb_has_a_terminal): Make sure to return a value.
* regex.h: Declare re_set_syntax.
* printcmd.c: Include valprint.h.
* infcmd.c, exec.c, maint.c, core.c: Include language.h.
* maint.c: Include expression.h.
* infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
* inftarg.c: Include command.h.
* coredep.c: Include value.h.
* c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
* ch-typeprint.c: Include typeprint.h.
* ch-valprint.c: Include c-lang.h.
* nlmread.c: Include buildsym.h.
* environ.c: Include gdbcore.h.  Only include defs.h once.
(set_in_environ): Cast const char * to char * when passing to
set_gnutarget.
Remove unused variables:
* printcmd.c (printf_command): args_to_vprintf.
* coffread.c (coff_symfile_init): strsection.
Move variables to within the #ifdefs where they are used:
* symtab.c (gdb_mangle_name): opname.
* inftarg.c (child_attach): pid and exec_file.
* inftarg.c (child_detach): siggnal.
* objfiles.c (allocate_objfile): mapto, md, and fd.
* objfiles.c (free_objfile): mmfd.
* infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
* infrun.c (wait_for_inferior): Remove unused same_pid label.
* inferior.h: Declare set_sigint_trap and clear_sigint_trap.
* parser-defs.h: Declare write_exp_elt_block.
* stabsread.h: Declare elfstab_offset_sections and
coffstab_build_psymtabs.

31 years agoVarious arious PA changes from Utah.
Ken Raeburn [Thu, 21 Oct 1993 20:03:19 +0000 (20:03 +0000)]
Various arious PA changes from Utah.
V9 bugfix.
See changelog...

31 years agodelete some code in "#if 0"
Ken Raeburn [Thu, 21 Oct 1993 19:55:01 +0000 (19:55 +0000)]
delete some code in "#if 0"

31 years ago * config/tc-sparc.c (md_parse_option): Accept and ignore -sparc
Ian Lance Taylor [Thu, 21 Oct 1993 19:50:57 +0000 (19:50 +0000)]
* config/tc-sparc.c (md_parse_option): Accept and ignore -sparc
option, which is used by the SunOS make default .s.o rule.

31 years agoSet bfd_gas for all sparc targets. Added facility for keeping or rejecting
Ken Raeburn [Thu, 21 Oct 1993 19:50:06 +0000 (19:50 +0000)]
Set bfd_gas for all sparc targets.  Added facility for keeping or rejecting
configurations still under development; default is to assume production
environment, and reject configs still being worked on.  Mark Elf configurations
(except sparc and i386) as developmental.  Deleted cases matching some generic
names in favor of more specific names.  (E.g., when we get Alpha
support, we'll still only support VMS for Vax.)

31 years agoPatch from Jeff Law:
Ken Raeburn [Thu, 21 Oct 1993 19:28:54 +0000 (19:28 +0000)]
Patch from Jeff Law:
* paread.c: Fix references to "hppa" that should now be "som".

31 years agoelfcode.h (FILE_ALIGN_: Renamed from EALIGN, to avoid conflict with Ultrix
Ken Raeburn [Thu, 21 Oct 1993 19:22:42 +0000 (19:22 +0000)]
elfcode.h (FILE_ALIGN_: Renamed from EALIGN, to avoid conflict with Ultrix
header files.

Also, lots of changes for PA elf and som support from Utah; see ChangeLog
for details.

31 years ago gcc -Wall lint:
Jim Kingdon [Thu, 21 Oct 1993 19:11:15 +0000 (19:11 +0000)]
gcc -Wall lint:
* coff-h8300.c, coffcode.h: Change shrink parameter
in *_reloc16_estimate to unsigned to match prototype.
* archive.c: Avoid "/*" in comment.

31 years agoAlways build newlib for native Lynx.
Stan Shebs [Thu, 21 Oct 1993 18:40:48 +0000 (18:40 +0000)]
Always build newlib for native Lynx.

31 years ago * dep-in.sed: Create our own line breaks for a more aesthetic
Ian Lance Taylor [Thu, 21 Oct 1993 18:30:12 +0000 (18:30 +0000)]
* dep-in.sed: Create our own line breaks for a more aesthetic
Makefile.
* Makefile.in: Rebuilt dependencies.

31 years ago* symtab.c (decode_line_1): Don't use SYMBOL_LINE for functions.
Jim Kingdon [Thu, 21 Oct 1993 17:32:52 +0000 (17:32 +0000)]
* symtab.c (decode_line_1): Don't use SYMBOL_LINE for functions.

31 years ago * elf32-mips.c: Include "seclet.h".
Ian Lance Taylor [Thu, 21 Oct 1993 17:13:38 +0000 (17:13 +0000)]
* elf32-mips.c: Include "seclet.h".
(mips_elf_fake_sections): Force size of .reginfo section to sizeof
Elf32_External_RegInfo.
(mips_elf_seclet_link): New function.  Link the .reginfo section
specially, and pass everything else to the generic routine.
(bfd_elf32_bfd_seclet_link): Define macro.
* elf32-target.h: If bfd_elf32_bfd_seclet_link is already defined,
don't override it.

31 years ago * stabs.texinfo (Local Variable Parameters): Re-write paragraph on
Jim Kingdon [Thu, 21 Oct 1993 14:20:50 +0000 (14:20 +0000)]
* stabs.texinfo (Local Variable Parameters): Re-write paragraph on
floats passed as doubles (to improve clarity).

31 years ago * gdb.t09/corefile.exp: At end of test, use "core" command with
Jim Kingdon [Thu, 21 Oct 1993 13:32:51 +0000 (13:32 +0000)]
* gdb.t09/corefile.exp: At end of test, use "core" command with
no arguments.

31 years ago * remote-udi.c (udi_store_registers, store_register): Use
Stu Grossman [Thu, 21 Oct 1993 10:10:21 +0000 (10:10 +0000)]
* remote-udi.c (udi_store_registers, store_register):  Use
UDI29KPC address space when modifying PC.  It seems that you can't
modify the PC directly (at least in the isstip simulator).

31 years ago * Move "set remotebaud" from remote-utils.c to main.c to it applies
Jim Kingdon [Thu, 21 Oct 1993 05:30:47 +0000 (05:30 +0000)]
* Move "set remotebaud" from remote-utils.c to main.c to it applies
to remote.c as well.

31 years ago * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Jim Kingdon [Thu, 21 Oct 1993 05:24:18 +0000 (05:24 +0000)]
* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.

31 years ago * target.h: Put remote_debug declaration back here. Add baud_rate.
Jim Kingdon [Thu, 21 Oct 1993 05:22:34 +0000 (05:22 +0000)]
* target.h: Put remote_debug declaration back here.  Add baud_rate.
* remote.c, remote-udi.c, remote-utils.h: Let target.h take care of
declaring these.  Those random externs all over are error prone.
* Move "set remotebaud" from remote-utils.c to main.c to it applies
to remote.c as well.

* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.
* symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.

31 years ago * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Jim Kingdon [Thu, 21 Oct 1993 04:41:56 +0000 (04:41 +0000)]
* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.
* symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.

31 years ago* mh-hp300: Revert yesterday's change, but add comment explaining.
Jim Kingdon [Thu, 21 Oct 1993 01:37:55 +0000 (01:37 +0000)]
* mh-hp300: Revert yesterday's change, but add comment explaining.

31 years ago * mipsread.c (parse_symbol): In third-eye, a function has a block
Jim Kingdon [Thu, 21 Oct 1993 01:32:05 +0000 (01:32 +0000)]
* mipsread.c (parse_symbol): In third-eye, a function has a block
within it which represents the whole function.  Create only one
GDB block for both.

31 years ago * config/a29k/a29k-udi.mt: Define REMOTE_O as null so that we don't
Stu Grossman [Thu, 21 Oct 1993 00:58:19 +0000 (00:58 +0000)]
* config/a29k/a29k-udi.mt:  Define REMOTE_O as null so that we don't
get the default remote* modules.

31 years ago * main.c: Make baud_rate and remote_debug be global variables,
Stu Grossman [Thu, 21 Oct 1993 00:49:42 +0000 (00:49 +0000)]
* main.c:  Make baud_rate and remote_debug be global variables,
remove #include "remote-utils.h".  This makes it possible to build
GDB without remote-utils.c.  Also, move setting of remote_debug
into main, so that all remote*.c files can use it (not just the
serial line ones).  And, make baud_rate be an int.
* remote-udi.c:  Change kiodebug to remote_debug.
* remote-utils.c:  Move setting of baud rate and debug into main.c.
* remote-utils.h:  Redefine sr_{get set}_debug and sr_{get set}_baud
to use baud_rate and remote_debug globals for compatibility.
* remote.c:  Use remote_debug and baud_rate globals directly,
instead of sr_ functions, so that we don't need to load
remote-utils.c.

31 years ago * stabsread.c (define_symbol): When combining a LOC_ARG and a
Jim Kingdon [Wed, 20 Oct 1993 23:45:13 +0000 (23:45 +0000)]
* stabsread.c (define_symbol): When combining a LOC_ARG and a
LOC_REGISTER, use the type from the LOC_REGISTER, not from the
LOC_ARG.

31 years ago * stabs.texinfo (Local Variable Parameters): Re-write paragraph on
Jim Kingdon [Wed, 20 Oct 1993 23:13:46 +0000 (23:13 +0000)]
* stabs.texinfo (Local Variable Parameters): Re-write paragraph on
floats passed as doubles (to improve clarity).

31 years agodefine some signals
K. Richard Pixley [Wed, 20 Oct 1993 21:36:06 +0000 (21:36 +0000)]
define some signals

31 years ago * libnlm.h (nlm_backend_data): Added signature field.
Ian Lance Taylor [Wed, 20 Oct 1993 20:37:40 +0000 (20:37 +0000)]
* libnlm.h (nlm_backend_data): Added signature field.
(nlm_signature): New macro.
* nlmcode.h (nlm_object_p, nlm_write_object_contents): Use the NLM
signature from the backend rather than the constant NLM_SIGNATURE.
* nlm32-i386.c (nlm32_i386_backend): Initialize signature field.

31 years ago(HFILES): New variable, for use in "make dep".
Ken Raeburn [Wed, 20 Oct 1993 20:04:17 +0000 (20:04 +0000)]
(HFILES): New variable, for use in "make dep".
(.dep): Depend on $(CFILES) and $(HFILES).  Delete .dep1 and remake it, so that
"$?" is complete.
(.dep1): Don't need to remove .dep1 first.
(dep.sed): Depend on config.status, not Makefile.
(CFILES): Add nlm.c.

31 years ago * Makefile.in (INTERNAL_LDFLAGS): New macro. The new part is
Jim Kingdon [Wed, 20 Oct 1993 17:15:45 +0000 (17:15 +0000)]
* Makefile.in (INTERNAL_LDFLAGS): New macro.  The new part is
that we use CFLAGS and PROFILE_CFLAGS to link.
(gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
LDFLAGS and/or GLOBAL_CFLAGS.

31 years ago * Makefile.in: Add $(srcdir) to all refs to 29k-share
Stu Grossman [Wed, 20 Oct 1993 16:51:41 +0000 (16:51 +0000)]
* Makefile.in:  Add $(srcdir) to all refs to 29k-share
directories.

31 years ago * aoutf1.h (MACHTYPE_OK): Accept M_UNKNOWN.
Ian Lance Taylor [Wed, 20 Oct 1993 16:26:50 +0000 (16:26 +0000)]
* aoutf1.h (MACHTYPE_OK): Accept M_UNKNOWN.
(NAME(sunos,set_arch_mach)): Treat M_UNKNOWN as 68000, not 68020.

31 years ago * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
Stu Grossman [Wed, 20 Oct 1993 16:23:17 +0000 (16:23 +0000)]
* gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
17}/Makefile.in:  Make it possible to run the testsuite with Sun
make and CC = cross gcc by adding explicit build rules for .o
files.

31 years agonew test m68k/pic1.s - simple pic code generation
Ken Raeburn [Wed, 20 Oct 1993 15:51:24 +0000 (15:51 +0000)]
new test m68k/pic1.s - simple pic code generation

31 years agonew test diff1.s - difference of two undefined symbols (should be rejected)
Ken Raeburn [Wed, 20 Oct 1993 15:50:04 +0000 (15:50 +0000)]
new test diff1.s - difference of two undefined symbols (should be rejected)

31 years ago* Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
Ken Raeburn [Wed, 20 Oct 1993 15:47:59 +0000 (15:47 +0000)]
* Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
(check): Don't pass ASFLAGS variable.
(site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp.

31 years agoMakefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
Ken Raeburn [Wed, 20 Oct 1993 15:38:42 +0000 (15:38 +0000)]
Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
(check): Don't pass ASFLAGS variable.
(site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp.

From Jeff Law:

lib/gas-defs.exp (objdump_start, objdump_finish): New functions
so that tests can parse the output of objdump looking for errors
in relocation entires, file headers and the like.

31 years ago* hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR.
Jim Kingdon [Wed, 20 Oct 1993 15:33:40 +0000 (15:33 +0000)]
* hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR.

31 years ago* configure.in: Add comment about HP compiler vs. emacs.
Jim Kingdon [Wed, 20 Oct 1993 15:01:15 +0000 (15:01 +0000)]
* configure.in: Add comment about HP compiler vs. emacs.

31 years ago * mh-hp300: Don't define CFLAGS to empty. Why should hp300 be
Jim Kingdon [Wed, 20 Oct 1993 03:58:18 +0000 (03:58 +0000)]
* mh-hp300: Don't define CFLAGS to empty.  Why should hp300 be
different from anything else?  ("gdb doesn't understand the native
debug format" isn't a good enough answer because we might be using
gcc).

31 years agofix one bad date, credits
Roland Pesch [Wed, 20 Oct 1993 02:03:50 +0000 (02:03 +0000)]
fix one bad date, credits

31 years ago * Makefile.in (ALLCONFIG): Add config/i386/{i386m3.mh, i386m3.mt,
Fred Fish [Wed, 20 Oct 1993 00:30:09 +0000 (00:30 +0000)]
* Makefile.in (ALLCONFIG):  Add config/i386/{i386m3.mh, i386m3.mt,
i386/i386mk.mh i386/i386mk.mt}, config/mips/{mipsm3.mh,
mipsm3.mt}, config/ns32k/{ns32km3.mh, ns32m3.mt}
* Makefile.in (remote_utils_h):  Add remote-sim.h
* Makefile.in (NONSRC):  Add i386-nlmstub.c
* Makefile.in (HFILES):  Add coff-solib.h

31 years agodon't build ld on solaris2
David D. Zuhn [Tue, 19 Oct 1993 23:04:39 +0000 (23:04 +0000)]
don't build ld on solaris2

31 years agoconfigure.in: Accept alpha-dec-osf1* instead of just -osf1, since config.guess
Ken Raeburn [Tue, 19 Oct 1993 22:24:16 +0000 (22:24 +0000)]
configure.in: Accept alpha-dec-osf1* instead of just -osf1, since config.guess
will include the full version number.

31 years ago * config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
Ian Lance Taylor [Tue, 19 Oct 1993 22:18:15 +0000 (22:18 +0000)]
* config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
m68k_aout_machtype.
* config/tc-m68k.c (omagic): Remove obsolete and unused variable.
(m68k_aout_machtype): New variable, if OBJ_AOUT.
(md_assemble): Initialize m68k_aout_machtype based on
current_architecture, if OBJ_AOUT.
(md_parse_option): Remove obsolete reference to omagic.

31 years agoModified Files:
Kung Hsu [Tue, 19 Oct 1993 22:17:57 +0000 (22:17 +0000)]
Modified Files:
  ChangeLog

        * values.c (value_virtual_fn_field): Fix the offset calculation
        when calling virtual functions. (gdb.t22/virtfunc.exp).
        * eval.c (evaluate_subexp): same as above.

31 years ago * gdb.t15/funcargs.exp: Don't put comments on same line as
Jim Kingdon [Tue, 19 Oct 1993 21:40:09 +0000 (21:40 +0000)]
* gdb.t15/funcargs.exp: Don't put comments on same line as
setup_xfail (@#$*%& tcl braindamage!).

31 years agoTue Oct 19 14:21:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
Roland Pesch [Tue, 19 Oct 1993 21:25:32 +0000 (21:25 +0000)]
Tue Oct 19 14:21:18 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)

* a4rc.sed: update to work with Andreas Vogel papersize params

* refcard.tex: use Andreas Vogel simplifications of papersize
params; remove useless version info; update copyright date.

31 years agoModified Files:
Kung Hsu [Tue, 19 Oct 1993 21:20:37 +0000 (21:20 +0000)]
Modified Files:
values.c eval.c

        * values.c (value_virtual_fn_field): Fix the offset calculation
        when calling virtual functions. (gdb.t22/virtfunc.exp).
        * eval.c (evaluate_subexp): same as above.

31 years ago * configure.in: Build linker and binutils for alpha-dec-osf1.
Ian Lance Taylor [Tue, 19 Oct 1993 19:59:16 +0000 (19:59 +0000)]
* configure.in: Build linker and binutils for alpha-dec-osf1.

31 years ago * configure.in (alpha-*-osf*): New target; use alpha.mt.
Ian Lance Taylor [Tue, 19 Oct 1993 19:55:52 +0000 (19:55 +0000)]
* configure.in (alpha-*-osf*): New target; use alpha.mt.
* Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
(em_alpha.c): New target; use alpha.sh and alpha.sc.
* config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
* config/alpha.mt: New file.
* emulparams/alpha.sh: New file.
* scripttempl/alpha.sc: New file.

31 years agoNew files for Alpha linker.
Ian Lance Taylor [Tue, 19 Oct 1993 19:52:33 +0000 (19:52 +0000)]
New files for Alpha linker.

31 years ago * coff-alpha.c: Implemented reloc handling for the linker, made
Ian Lance Taylor [Tue, 19 Oct 1993 19:41:44 +0000 (19:41 +0000)]
* coff-alpha.c: Implemented reloc handling for the linker, made
various other related changes.
* libecoff.h (ecoff_backend_data): Added rdata_in_text field.
Renamed finish_reloc to adjust_reloc_in.  Added adjust_reloc_out
field.
(ecoff_bfd_get_relocated_section_contents): Don't define.
* ecoff.c (ecoff_sec_to_styp_flags, ecoff_styp_to_sec_flags):
Handle .lita section.
(ecoff_slurp_reloc_table): Handle RELOC_SECTION_FINI.
finish_reloc backend field renamed to adjust_reloc_in.
(ecoff_bfd_seclet_link): Adjust number of aux entries to
debug_align boundary.
(ecoff_compute_section_file_positions): If rdata_in_text put
.rdata section in text segment, not data segment.  Put .pdata
section in text segment.
(ecoff_write_object_contents): Likewise.  Also, call
adjust_reloc_out, and handle .lita, .xdata, .pdata, .fini and
absolute sections when writing out relocs.
* coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, output 2 for
bldrev field, as on Alpha OSF/1.  Padding field is now 2 bytes.
* coff-mips.c (mips_ecoff_swap_reloc_out): Added assertion.
(mips_adjust_reloc_in): Renamed from mips_finish_reloc.
(mips_adjust_reloc_out): New function (does nothing).
(mips_ecoff_backend_data): Initialize new fields.
(ecoff_bfd_get_relocation_section_contents): Define to be
bfd_generic_get_relocated_section_contents.

* reloc.c (bfd_perform_relocation): Added casts to avoid Alpha
OSF/1 cc bug.

31 years agoClean out all references to snapshots.readme, a file that is not
Fred Fish [Tue, 19 Oct 1993 19:38:05 +0000 (19:38 +0000)]
Clean out all references to snapshots.readme, a file that is not
distributed in gdb releases.

31 years agoremove debugging echo
David D. Zuhn [Tue, 19 Oct 1993 17:44:57 +0000 (17:44 +0000)]
remove debugging echo