binutils-gdb.git
31 years ago * elfcode.h: Use memset not bzero.
Jim Kingdon [Sun, 11 Jul 1993 23:23:20 +0000 (23:23 +0000)]
* elfcode.h: Use memset not bzero.
* trad-core.c: Don't include <sys/file.h>.
* i386linux.h: Include <sys/file.h>.
* coff-m68k-un.c: new file to handle names with underscores on
svr3 machines.
* coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS
to not duplicate the function in the executable.
(TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed
by coff-m68k-un.c.
* coffcode.h (MC68KBCSMAGIC): case added.
* targets.c: Add m68kcoffun_vec.
* configure.host: added support for Bull dpx/2.
* config/dpx2.mh, hosts/dpx2.h: new files.
* Makefile.in: added target coff-m68k-un.

31 years agonew for dpx2
Jim Kingdon [Sun, 11 Jul 1993 22:58:00 +0000 (22:58 +0000)]
new for dpx2

31 years agonew for dpx2
Jim Kingdon [Sun, 11 Jul 1993 22:44:45 +0000 (22:44 +0000)]
new for dpx2

31 years agoconfig/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
David Edelsohn [Sun, 11 Jul 1993 19:36:38 +0000 (19:36 +0000)]
config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
more parens around macro arg.

31 years ago(PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg.
David Edelsohn [Sun, 11 Jul 1993 19:31:49 +0000 (19:31 +0000)]
(PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg.

31 years ago* gdb.t17/interrupt.exp: Test for more things.
Jim Kingdon [Sun, 11 Jul 1993 17:05:33 +0000 (17:05 +0000)]
* gdb.t17/interrupt.exp: Test for more things.

31 years ago * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
Jim Kingdon [Sun, 11 Jul 1993 05:41:04 +0000 (05:41 +0000)]
* infrun.c: Remove step_resume_{duplicate,shadow}.  Replace
step_resume_break_address with step_resume_breakpoint (now local
to wait_for_inferior).
({insert,remove}_step_breakpoint): Remove.
(wait_for_inferior): Set step resume break with
set_momentary_breakpoint.  Test hitting it with bpstat_stop_status
and bpstat_what (stop_step_resume_break removed).
* breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
which includes previous return value as main_action, and a step_resume
bit.
* breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
there is another breakpoint there, insert it.
* infrun.c (wait_for_inferior): Rearrange the spaghetti a bit.  Use
a few more gotos.
Various: Clean up and add comments.

31 years ago * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
Jim Kingdon [Sun, 11 Jul 1993 04:52:50 +0000 (04:52 +0000)]
* infrun.c: Remove step_resume_{duplicate,shadow}.  Replace
step_resume_break_address with step_resume_breakpoint (now local
to wait_for_inferior).
({insert,remove}_step_breakpoint): Remove.
(wait_for_inferior): Set step resume break with
set_momentary_breakpoint.  Test hitting it with bpstat_stop_status
and bpstat_what (stop_step_resume_break removed).
* breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
which includes previous return value as main_action, and a step_resume
bit.
* breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
there is another breakpoint there, insert it.
* infrun.c (wait_for_inferior): Rearrange the spaghetti a bit.  Use
a few more gotos.
Various: Clean up and add comments.

31 years ago * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
Jim Kingdon [Sat, 10 Jul 1993 14:59:02 +0000 (14:59 +0000)]
* infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
for Wed Nov 13 16:45:13 1991).

31 years ago * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
Jim Kingdon [Sat, 10 Jul 1993 05:03:22 +0000 (05:03 +0000)]
* values.c, value.h (modify_field), callers: Make fieldval a LONGEST.

* h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
not short *.

* findvar.c, defs.h
({extract,store}_{signed_integer,unsigned_integer,address}):
New routines to replace SWAP_TARGET_AND_HOST.
All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.

31 years ago * findvar.c, defs.h
Jim Kingdon [Sat, 10 Jul 1993 01:35:53 +0000 (01:35 +0000)]
* findvar.c, defs.h
({extract,store}_{signed_integer,unsigned_integer,address}):
New routines to replace SWAP_TARGET_AND_HOST.
All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.

31 years agodoc/as.texinfo
Roland Pesch [Sat, 10 Jul 1993 00:32:18 +0000 (00:32 +0000)]
doc/as.texinfo

31 years agoUpdates for Hitachi H8/300H
Roland Pesch [Sat, 10 Jul 1993 00:31:03 +0000 (00:31 +0000)]
Updates for Hitachi H8/300H

31 years ago* run.c (main): Add -h flag to enable h8/300h emulation.
David Edelsohn [Fri, 9 Jul 1993 21:42:02 +0000 (21:42 +0000)]
* run.c (main): Add -h flag to enable h8/300h emulation.
* compile.c: Rename Hmode to HMODE (consistency with gdb).
(set_h8300h): New function.
(sim_resume): Add support for extu,exts insns.
(sim_resume): Fix logical right shifting.
(sim_resume, label alu32): Fix setting of carry flag.

31 years agox
Jim Kingdon [Fri, 9 Jul 1993 21:20:09 +0000 (21:20 +0000)]
x

31 years ago * config/sparc/tm-sparc.h: Add comment suggesting that removing
Jim Kingdon [Fri, 9 Jul 1993 21:19:17 +0000 (21:19 +0000)]
* config/sparc/tm-sparc.h: Add comment suggesting that removing
ins and locals from the registers array might clean things up.

31 years ago * utils.c: Clean up comments about wrap buffer and wrap_here.
Jim Kingdon [Fri, 9 Jul 1993 20:11:47 +0000 (20:11 +0000)]
* utils.c: Clean up comments about wrap buffer and wrap_here.
* printcmd.c (printf_command): Call wrap_here before vprintf.

31 years ago * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
Jim Kingdon [Fri, 9 Jul 1993 19:24:00 +0000 (19:24 +0000)]
* gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
compiler arranges the code and line numbers.

31 years ago* gdb.t17/interrupt.exp: Don't send \n after ^C.
Jim Kingdon [Fri, 9 Jul 1993 19:14:43 +0000 (19:14 +0000)]
* gdb.t17/interrupt.exp: Don't send \n after ^C.

31 years ago * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
Jim Kingdon [Fri, 9 Jul 1993 18:40:26 +0000 (18:40 +0000)]
* mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
Patch from ptf@delcam.co.uk (Paul Flinders).

31 years ago* a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
Jim Kingdon [Fri, 9 Jul 1993 18:33:23 +0000 (18:33 +0000)]
* a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.

31 years agoClean up some of the obvious m88k bitrot.
Ian Lance Taylor [Fri, 9 Jul 1993 18:31:36 +0000 (18:31 +0000)]
Clean up some of the obvious m88k bitrot.
It still doesn't actually compile, though.

31 years ago * gdb.t00/help.exp: Increase expect input buffer size.
Peter Schauer [Fri, 9 Jul 1993 16:54:31 +0000 (16:54 +0000)]
* gdb.t00/help.exp:  Increase expect input buffer size.

31 years ago * gdbint.texinfo (Host, Target Conditionals): Remove TM_FILE_OVERRIDE.
Peter Schauer [Fri, 9 Jul 1993 16:53:30 +0000 (16:53 +0000)]
* gdbint.texinfo (Host, Target Conditionals): Remove TM_FILE_OVERRIDE.

31 years ago * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
Peter Schauer [Fri, 9 Jul 1993 16:50:43 +0000 (16:50 +0000)]
* defs.h, remote-eb.c (TM_FILE_OVERRIDE):  Remove it.
* mips-tdep.c (init_extra_frame_info):  Set proper fci->frame if pc
is at the start of the dummy code.

31 years ago* aoutf1.h: Add definition of MACHTYPE_OK.
Jim Kingdon [Fri, 9 Jul 1993 05:47:07 +0000 (05:47 +0000)]
* aoutf1.h: Add definition of MACHTYPE_OK.

31 years ago * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
Jim Kingdon [Fri, 9 Jul 1993 03:55:06 +0000 (03:55 +0000)]
* gdb.t06/signals.exp: Remove sparc xfail; bug fixed.

* gdb.t07/watchpoint.exp: Add xfail for hppa.

31 years ago * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
Jim Kingdon [Fri, 9 Jul 1993 03:53:46 +0000 (03:53 +0000)]
* sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
stuff, just write the sp and fp.
(sparc_pop_frame): Skip the do_restore_insn; we already restore
the sp with the other out registers.

31 years agominor comment fix
Jim Kingdon [Fri, 9 Jul 1993 02:23:19 +0000 (02:23 +0000)]
minor comment fix

31 years ago* configure: Remove extraneous output when guessing host type.
John Gilmore [Fri, 9 Jul 1993 01:27:26 +0000 (01:27 +0000)]
* configure:  Remove extraneous output when guessing host type.
* config.guess:  Remove extraneous output when guessing using C
compiler rather than uname, or when guessing fails.

31 years agokeep elf.sc
Ken Raeburn [Thu, 8 Jul 1993 23:38:49 +0000 (23:38 +0000)]
keep elf.sc

31 years agotest of branches. please ignore.
Stu Grossman [Thu, 8 Jul 1993 23:36:48 +0000 (23:36 +0000)]
test of branches.  please ignore.

31 years ago* gdb.t07/watchpoint.exp: Add xfail for hppa.
Jim Kingdon [Thu, 8 Jul 1993 23:08:05 +0000 (23:08 +0000)]
* gdb.t07/watchpoint.exp: Add xfail for hppa.

31 years agoinitial v9 stuff
Ken Raeburn [Thu, 8 Jul 1993 22:44:34 +0000 (22:44 +0000)]
initial v9 stuff

31 years agoMake it so it compiles if QMAGIC is not defined (e.g. hp300hpux).
Jim Kingdon [Thu, 8 Jul 1993 21:50:23 +0000 (21:50 +0000)]
Make it so it compiles if QMAGIC is not defined (e.g. hp300hpux).

* aout64.h (N_BADMAG): Recognize QMAGIC.
N_TXTOFF, N_TXTADDR, N_TXTSIZE: Special code for QMAGIC.
N_DATOFF: Pad text size if we need to.

31 years agoldmisc,ldlang,Makefile changes
Ken Raeburn [Thu, 8 Jul 1993 20:28:03 +0000 (20:28 +0000)]
ldmisc,ldlang,Makefile changes

31 years agoldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro when no
Ken Raeburn [Thu, 8 Jul 1993 20:27:13 +0000 (20:27 +0000)]
ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro when no
prototype is being supplied.
(ldmalloc, ldrealloc): Size argument is now size_t.

ldmisc.c (finfo): New function, accepts FILE* argument.
(vfinfo, case 'v'): New format character; displays bfd_vma in hex without
leading zeros.
(vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a bfd_vma value,
instead of fprintf(%x) which won't hold a long long value.
(concat, buystring): String lengths are size_t.
(ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.

31 years ago(new_stetement): Size argument is now type size_t.
Ken Raeburn [Thu, 8 Jul 1993 20:25:26 +0000 (20:25 +0000)]
(new_stetement): Size argument is now type size_t.
Added forward declaration with prototype.

31 years ago(ALL_EMULATIONS): Include $(OTHER_EMULATIONS) in case some target has stuff
Ken Raeburn [Thu, 8 Jul 1993 20:24:02 +0000 (20:24 +0000)]
(ALL_EMULATIONS): Include $(OTHER_EMULATIONS) in case some target has stuff
to add.

31 years ago * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
Jim Kingdon [Thu, 8 Jul 1993 20:06:19 +0000 (20:06 +0000)]
* hppa-tdep.c (hppa_push_arguments): Allocate enough space for
arguments.

31 years ago* gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
Jim Kingdon [Thu, 8 Jul 1993 19:58:22 +0000 (19:58 +0000)]
* gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.

31 years ago* hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
Jim Kingdon [Thu, 8 Jul 1993 19:53:05 +0000 (19:53 +0000)]
* hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.

31 years agofix the declaration of run_stack_dummy, as well.
Mark Eichin [Thu, 8 Jul 1993 19:51:04 +0000 (19:51 +0000)]
fix the declaration of run_stack_dummy, as well.

31 years agoRevision to this change--use ->next != NULL, not just ->next, when
Jim Kingdon [Thu, 8 Jul 1993 19:32:03 +0000 (19:32 +0000)]
Revision to this change--use ->next != NULL, not just ->next, when
passing an integer argument to find_pc_line.

* frame.h, blockframe.c, stack.c, a29k-tdep.c,
config/gould/tmp-{pn,np1}.h,
config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
next_frame from struct frame_info.  It has no purpose beyond
->next->frame and is an artifact from GDB 2.8.

31 years ago * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
Jim Kingdon [Thu, 8 Jul 1993 19:29:53 +0000 (19:29 +0000)]
* gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
[0-9]*, not just [0-9].

31 years ago * hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__.
Jim Kingdon [Thu, 8 Jul 1993 19:24:29 +0000 (19:24 +0000)]
* hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__.
i386bsd.c: Remove defines of N_TXT*; the versions in aout64.h should
be sufficient.  Define TEXT_START_ADDR.

31 years ago * aout64.h (N_BADMAG): Recognize QMAGIC.
Jim Kingdon [Thu, 8 Jul 1993 19:21:21 +0000 (19:21 +0000)]
* aout64.h (N_BADMAG): Recognize QMAGIC.
N_TXTOFF, N_TXTADDR, N_TXTSIZE: Special code for QMAGIC.
N_DATOFF: Pad text size if we need to.

31 years agoput CROSS definition into the Makefile
David D. Zuhn [Thu, 8 Jul 1993 19:19:31 +0000 (19:19 +0000)]
put CROSS definition into the Makefile

31 years agoOops, not all of the tc-sparc.c change was format-independent.
Ken Raeburn [Thu, 8 Jul 1993 19:09:19 +0000 (19:09 +0000)]
Oops, not all of the tc-sparc.c change was format-independent.
Still handles both syntaxes independent of format.

31 years agoforgot to check this in yesterday
Ken Raeburn [Thu, 8 Jul 1993 18:56:54 +0000 (18:56 +0000)]
forgot to check this in yesterday

31 years agochangelog for tc-i960 change
Mark Eichin [Thu, 8 Jul 1993 18:50:43 +0000 (18:50 +0000)]
changelog for tc-i960 change

31 years agoThu Jul 8 14:41:43 1993 Mark Eichin (eichin@cygnus.com)
Mark Eichin [Thu, 8 Jul 1993 18:44:32 +0000 (18:44 +0000)]
Thu Jul  8 14:41:43 1993  Mark Eichin  (eichin@cygnus.com)

* config/tc-i960.c (md_create_short_jump, md_create_long_jump,
md_number_to_chars, md_section_align): Adjusted to use valueT,
addressT, to match tc.h.

31 years agoconfig/tc-sparc.c (s_common): Revamp to handle both syntaxes, and not be
Ken Raeburn [Thu, 8 Jul 1993 18:40:50 +0000 (18:40 +0000)]
config/tc-sparc.c (s_common): Revamp to handle both syntaxes, and not be
target-specific.

31 years ago * Make -v only print the version number.
David MacKenzie [Thu, 8 Jul 1993 18:00:11 +0000 (18:00 +0000)]
* Make -v only print the version number.
Share some Texinfo documentation with BFD.

31 years ago New file bfdsumm.texi to share with ld.
David MacKenzie [Thu, 8 Jul 1993 17:58:15 +0000 (17:58 +0000)]
New file bfdsumm.texi to share with ld.

31 years agoAdd filename which dje forgot to include
Jim Kingdon [Thu, 8 Jul 1993 17:40:31 +0000 (17:40 +0000)]
Add filename which dje forgot to include

31 years agoh8/300h stuff
David Edelsohn [Thu, 8 Jul 1993 16:06:57 +0000 (16:06 +0000)]
h8/300h stuff

31 years ago(REGISTER_CONVERT_TO_VIRTUAL): Use REGISTER_RAW_SIZE to determine bytes to copy.
David Edelsohn [Thu, 8 Jul 1993 16:01:52 +0000 (16:01 +0000)]
(REGISTER_CONVERT_TO_VIRTUAL): Use REGISTER_RAW_SIZE to determine bytes to copy.
(REGISTER_CONVERT_TO_RAW): Ditto.

31 years agoh8/300h stuff.
David Edelsohn [Thu, 8 Jul 1993 15:55:48 +0000 (15:55 +0000)]
h8/300h stuff.

31 years ago(REGISTER_TYPES): Adjust for h8/300h.
David Edelsohn [Thu, 8 Jul 1993 15:53:13 +0000 (15:53 +0000)]
(REGISTER_TYPES): Adjust for h8/300h.
(REGISTER_RAW_SIZE): Ditto
(REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs on the h8/300h
(ints may still be 16 bits).
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS):
Add FIXME's for h8/300h.  Some thought needed here.

31 years ago(sparc_frame_chain): Handle sizeof (CORE_ADDR) != sizeof (REGISTER_TYPE).
David Edelsohn [Thu, 8 Jul 1993 15:47:41 +0000 (15:47 +0000)]
(sparc_frame_chain): Handle sizeof (CORE_ADDR) != sizeof (REGISTER_TYPE).
(frame_saved_pc): Ditto.

31 years ago* h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
David Edelsohn [Thu, 8 Jul 1993 15:32:38 +0000 (15:32 +0000)]
* h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
(examine_prologue): reg_save_depth is 4 if h8/300h.

31 years ago* findvar.c (read_register): Provide some support for 64 bit regs.
David Edelsohn [Thu, 8 Jul 1993 15:27:23 +0000 (15:27 +0000)]
* findvar.c (read_register): Provide some support for 64 bit regs.
(write_register): Ditto.

31 years agoconfig/tc-h8300.h (TC_CONS_RELOC): Use R_RELLONG if h8/300h.
David Edelsohn [Thu, 8 Jul 1993 14:26:17 +0000 (14:26 +0000)]
config/tc-h8300.h (TC_CONS_RELOC): Use R_RELLONG if h8/300h.

31 years agoadd mh-riscos
Jim Kingdon [Thu, 8 Jul 1993 04:00:47 +0000 (04:00 +0000)]
add mh-riscos

31 years ago * config/mips/nm-riscos.h: machine/machparam.h is always the right
Jim Kingdon [Thu, 8 Jul 1993 03:58:39 +0000 (03:58 +0000)]
* config/mips/nm-riscos.h: machine/machparam.h is always the right
place to look for BSD43_NBPG, not machine/vmparam.h

31 years agoFix a place in mipsread.c where I missed using tag_name; revision to
Jim Kingdon [Thu, 8 Jul 1993 03:34:04 +0000 (03:34 +0000)]
Fix a place in mipsread.c where I missed using tag_name; revision to
the following change.

Thu Jul  1 09:51:27 1993  Jim Kingdon  (kingdon@cygnus.com)

* gdbtypes.h (struct type): Add field tag_name.
* gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
Use it.
* {coff,dwarf,mips,stabs}read.c: Set it.

31 years ago * infcmd.c (run_stack_dummy): New argument name.
Jim Kingdon [Thu, 8 Jul 1993 03:32:00 +0000 (03:32 +0000)]
* infcmd.c (run_stack_dummy): New argument name.
Change error message in (another) attempt to make it comprehensible.
* valops.c (call_function_by_hand): Pass name to run_stack_dummy.
* symtab.h: Declare demangle and asm_demangle since macros use them.

31 years agoInitial versions of sparc64 port.
David Edelsohn [Thu, 8 Jul 1993 03:19:46 +0000 (03:19 +0000)]
Initial versions of sparc64 port.
Some stuff can be removed when sparc-tdep.c is upgraded.

31 years agodefine CROSS is cross compilation
David D. Zuhn [Thu, 8 Jul 1993 03:15:36 +0000 (03:15 +0000)]
define CROSS is cross compilation

31 years agoInitial versions of port to sparc64 simulators.
David Edelsohn [Thu, 8 Jul 1993 03:08:49 +0000 (03:08 +0000)]
Initial versions of port to sparc64 simulators.

31 years agodefine CROSS is cross compilation
David D. Zuhn [Thu, 8 Jul 1993 02:55:22 +0000 (02:55 +0000)]
define CROSS is cross compilation

31 years ago * eval.c (evaluate_subexp): Add comment about calling a member
Jim Kingdon [Thu, 8 Jul 1993 02:04:57 +0000 (02:04 +0000)]
* eval.c (evaluate_subexp): Add comment about calling a member
function of a variable in a register.

31 years agoremove install.cross and all.cross targets
David D. Zuhn [Thu, 8 Jul 1993 01:03:24 +0000 (01:03 +0000)]
remove install.cross and all.cross targets

31 years agoremove all.cross and install.cross targets
David D. Zuhn [Thu, 8 Jul 1993 01:00:43 +0000 (01:00 +0000)]
remove all.cross and install.cross targets

31 years agoremove another fixme
David D. Zuhn [Thu, 8 Jul 1993 00:59:41 +0000 (00:59 +0000)]
remove another fixme

31 years agoadd uniq to holes, ccross changes
David D. Zuhn [Thu, 8 Jul 1993 00:57:49 +0000 (00:57 +0000)]
add uniq to holes, ccross changes

31 years agoadd sh for sun4 builds
David D. Zuhn [Thu, 8 Jul 1993 00:57:26 +0000 (00:57 +0000)]
add sh for sun4 builds

31 years ago* expression.h: Clean up comment about string in STRUCT_STRUCT etc.
Jim Kingdon [Wed, 7 Jul 1993 23:56:30 +0000 (23:56 +0000)]
* expression.h: Clean up comment about string in STRUCT_STRUCT etc.

31 years agomisc fixes to .Sanitize files
Jim Kingdon [Wed, 7 Jul 1993 23:34:50 +0000 (23:34 +0000)]
misc fixes to .Sanitize files

31 years ago* gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
Jim Kingdon [Wed, 7 Jul 1993 23:26:44 +0000 (23:26 +0000)]
* gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.

31 years ago* gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
Jim Kingdon [Wed, 7 Jul 1993 22:55:16 +0000 (22:55 +0000)]
* gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.

31 years agoDon't define bfd_vma here!
Ken Raeburn [Wed, 7 Jul 1993 21:15:09 +0000 (21:15 +0000)]
Don't define bfd_vma here!
(Wasted at least a day tracking this damn thing down...)

31 years ago * frame.h, blockframe.c, stack.c, a29k-tdep.c,
Jim Kingdon [Wed, 7 Jul 1993 20:29:56 +0000 (20:29 +0000)]
* frame.h, blockframe.c, stack.c, a29k-tdep.c,
config/gould/tmp-{pn,np1}.h,
config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
next_frame from struct frame_info.  It has no purpose beyond
->next->frame and is an artifact from GDB 2.8.

31 years ago * symbols.c (fb_label_instance, fb_label_instance_inc): Don't dump
Ian Lance Taylor [Wed, 7 Jul 1993 20:07:12 +0000 (20:07 +0000)]
* symbols.c (fb_label_instance, fb_label_instance_inc): Don't dump
core just because somebody uses a label before it is defined.

31 years ago * Makefile.in (install): Don't install as $(tooldir)/bin/gld;
Ian Lance Taylor [Wed, 7 Jul 1993 18:36:12 +0000 (18:36 +0000)]
* Makefile.in (install): Don't install as $(tooldir)/bin/gld;
collect2 doesn't look for gld any more anyhow.

31 years agogdbtypes.h: Fix comments regarding the following change:
Jim Kingdon [Wed, 7 Jul 1993 18:26:03 +0000 (18:26 +0000)]
gdbtypes.h: Fix comments regarding the following change:

Thu Jul  1 09:51:27 1993  Jim Kingdon  (kingdon@cygnus.com)

* gdbtypes.h (struct type): Add field tag_name.

31 years ago * aoutx.h (translate_from_native_sym_flags): Removed statep
Ian Lance Taylor [Wed, 7 Jul 1993 18:05:06 +0000 (18:05 +0000)]
* aoutx.h (translate_from_native_sym_flags): Removed statep
argument.  Just let an indirect symbol point to the next symbol
without forcing the next symbol to be undefined.  Changed all
callers.
* hp300hpux.c (slurp_symbol_table): Changed call to
translate_from_native_sym_flags.
* targets.c: Added hp300hpux_vec.
* Makefile.in (hp300hpux.o): Added dependencies.

31 years ago * mips-dis.c: Updated to account for name changes in new version
Ian Lance Taylor [Wed, 7 Jul 1993 17:37:11 +0000 (17:37 +0000)]
* mips-dis.c: Updated to account for name changes in new version
of opcode/mips.h.
* Makefile.in: Added header file dependencies.

31 years ago * mips.h: Replaced with version from Ralph Campbell and OSF. The
Ian Lance Taylor [Wed, 7 Jul 1993 17:34:57 +0000 (17:34 +0000)]
* mips.h: Replaced with version from Ralph Campbell and OSF.  The
new version includes instruction hazard information, but is
otherwise reasonably similar.

31 years agoThis file was not removed last time. Why??
Ian Lance Taylor [Wed, 7 Jul 1993 17:29:12 +0000 (17:29 +0000)]
This file was not removed last time.  Why??

31 years ago * config/mips-opcode.h: Moved to opcode/mips.h.
Ian Lance Taylor [Wed, 7 Jul 1993 17:23:39 +0000 (17:23 +0000)]
* config/mips-opcode.h: Moved to opcode/mips.h.
* config/tc-mips.c: Include opcode/mips.h rather than
mips-opcode.h.
(append_insn): An extra NOP is only needed after instructions
which set HI or LO, not after instructions which read it.
(macro_build, mips_ip): Support new 'E', 'G' and 'B' arguments.
(macro): cfc1 and ctc1 now take "t,G" rather than "t,d".
* config/tc-mips.h (struct mips_opcode): Don't define.
* config/mips-big.mt, config/mips-lit.mt (TARG_CPU_DEPENDENTS):
Set to $(srcdir)/../include/opcode/mips.h.

Get the MIPS assembler up to speed with other gas changes:

* config/obj-ecoff.c (ecoff_set_vma, ecoff_frob_symbol):
Removed; don't change the symbol value.
(ecoff_build_symbols, ecoff_build_procs, ecoff_frob_file): Use
bfd_asymbol_value rather than S_GET_VALUE to include section
vma in symbol value.
(ecoff_frob_file): Ignore BSF_SECTION_SYM symbols, since ECOFF
doesn't output them.  Set the vma of sections.
* config/obj-ecoff.h: Don't define obj_frob_symbol.
* config/tc-mips.c (tc_gen_reloc): Adjustment by section vma is no
longer necessary.
(various): use valueT rather than long.

31 years agoVarious entries.
Ian Lance Taylor [Wed, 7 Jul 1993 17:22:56 +0000 (17:22 +0000)]
Various entries.

31 years agoTypedef changes. V9 work.
Ken Raeburn [Wed, 7 Jul 1993 17:16:02 +0000 (17:16 +0000)]
Typedef changes.  V9 work.

31 years ago(sparc_ip): Initialize `len' variable to make gcc shut up.
Ken Raeburn [Wed, 7 Jul 1993 16:58:29 +0000 (16:58 +0000)]
(sparc_ip): Initialize `len' variable to make gcc shut up.
(md_create_short_jump, md_create_long_jump, md_number_to_chars,
md_section_align): Adjusted for new interface.

(s_reserve): Permit use for other than a.out format.
(s_common): Handle Solaris-2 version.

(s_xword): For numbers, call big_cons.
(sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64 reloc types.
(md_number_to_chars): Handle 8-byte values.

31 years ago(md_create_short_jump, md_create_long_jump,
Ken Raeburn [Wed, 7 Jul 1993 16:56:24 +0000 (16:56 +0000)]
(md_create_short_jump, md_create_long_jump,
md_number_to_chars, md_section_align): Adjusted for new interface.

31 years agoChange various calls (e.g., to symbol_new, md_number_to_chars) to cast
Ken Raeburn [Wed, 7 Jul 1993 16:40:30 +0000 (16:40 +0000)]
Change various calls (e.g., to symbol_new, md_number_to_chars) to cast
valueT or addressT arguments to correct types.

31 years ago(struct fix): Fields fx_offset and fx_addnumber are now type valueT.
Ken Raeburn [Wed, 7 Jul 1993 16:39:13 +0000 (16:39 +0000)]
(struct fix): Fields fx_offset and fx_addnumber are now type valueT.
(fix_new): Argument offset is now type offsetT.

31 years ago(write_object_file): Locals from_addr, to_addr, table_addr are now addressT.
Ken Raeburn [Wed, 7 Jul 1993 16:33:38 +0000 (16:33 +0000)]
(write_object_file): Locals from_addr, to_addr, table_addr are now addressT.
Supply prototype for bfd_alloc for now.
(fixup_segment): Local add_number is now valueT.  Fix some range-checking bugs.
(relax_align): Type `int' should be sufficient for the exponent.
(fix_new): Argument offset is offsetT.  Locals size and newsize are valueT.

31 years ago* symbols.c (symbol_new): Symbol value is type valueT.
Ken Raeburn [Wed, 7 Jul 1993 16:25:37 +0000 (16:25 +0000)]
* symbols.c (symbol_new): Symbol value is type valueT.
(S_SET_VALUE, S_GET_VALUE): Likewise.
(S_IS_*): Specify int return type explicitly.
* symbols.h (symbol_new, S_GET_VALUE, S_SET_VALUE): Fixed prototypes.