David Edelsohn [Wed, 14 Jul 1993 16:37:27 +0000 (16:37 +0000)]
* configure.in: Recognize h8300h.
David Edelsohn [Wed, 14 Jul 1993 16:35:04 +0000 (16:35 +0000)]
Recognize h8300h.
Make sparc64-*-aout* use bfd gas.
David Edelsohn [Wed, 14 Jul 1993 16:32:34 +0000 (16:32 +0000)]
* configure.in: Recognize h8300h-*-*.
Jim Kingdon [Wed, 14 Jul 1993 15:12:05 +0000 (15:12 +0000)]
Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function
returning foo' as well as `pointer to foo'.
* remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
* config/m68k/tm-m68k.h: Define it.
* mem-break.c, breakpoint.c: Improve comments.
Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
* config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
* config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
David Edelsohn [Wed, 14 Jul 1993 03:20:18 +0000 (03:20 +0000)]
* config.sub: Recognize h8300hhms as h8300h-hitachi-hms.
(h8300hhms is temporary until multi-libraries are implemented).
* configure.in: Handle h8300h too.
David Edelsohn [Wed, 14 Jul 1993 03:08:33 +0000 (03:08 +0000)]
* configure.in: Accept h8300h for target cpu.
* ldmisc.c (vfinfo): Have demangle remove leading underscore if
present (demangle is smart enough to know whether to do it or not).
David Edelsohn [Wed, 14 Jul 1993 03:07:04 +0000 (03:07 +0000)]
Accept h8300h for target cpu.
David Edelsohn [Wed, 14 Jul 1993 02:21:59 +0000 (02:21 +0000)]
Restore function naming scheme (sim_xxx vs simif_xxx).
Make more generic (remove any reference to sparc64).
Document simif_xxx fns.
Steve Chamberlain [Tue, 13 Jul 1993 19:15:38 +0000 (19:15 +0000)]
Use host_makefile_frag.
Steve Chamberlain [Tue, 13 Jul 1993 19:13:18 +0000 (19:13 +0000)]
cvs core dumps again...
Steve Chamberlain [Tue, 13 Jul 1993 19:12:10 +0000 (19:12 +0000)]
* config/tc-h8500.c (line_comment_chars): Add hash.
(parse_exp, skip_colonthing, build_bytes): Add support for
R_H8500_HIGH16 relocation type.
Steve Chamberlain [Tue, 13 Jul 1993 19:08:25 +0000 (19:08 +0000)]
* coff-h8500.c (reloc_processing, rtype2howto): New relocation
type R_H8500_HIGH_16.
* coff-sh.c (r_imm32): Get the width of the reloc right.
David Edelsohn [Tue, 13 Jul 1993 18:58:41 +0000 (18:58 +0000)]
* gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
Make prototype match definition.
Ken Raeburn [Tue, 13 Jul 1993 18:52:44 +0000 (18:52 +0000)]
dtrt wrt v9 for elf64-sparc.c (sigh)
Fred Fish [Tue, 13 Jul 1993 18:49:51 +0000 (18:49 +0000)]
* elfread.c: Remove notice about file still being under
construction.
Jim Kingdon [Tue, 13 Jul 1993 18:42:33 +0000 (18:42 +0000)]
* configure.in: Add new target m68k-coffun to the dpx/2.
* config/m68k-coffun.mt: New file, renamed from config/dpx2.mt.
Ken Raeburn [Tue, 13 Jul 1993 18:39:22 +0000 (18:39 +0000)]
make sanitize dtrt wrt v9
Fred Fish [Tue, 13 Jul 1993 18:20:55 +0000 (18:20 +0000)]
* Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'.
Ian Lance Taylor [Tue, 13 Jul 1993 17:06:07 +0000 (17:06 +0000)]
* mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
argument string const char * to correspond to opcode/mips.h.
David D. Zuhn [Tue, 13 Jul 1993 03:01:22 +0000 (03:01 +0000)]
add a -I to the makeinfo command line
K. Richard Pixley [Tue, 13 Jul 1993 00:57:27 +0000 (00:57 +0000)]
* Makefile.in (TAGS): make work again by naming directories
explicitly rather than depending on undefined macros.
(INSTALL_XFORM): correct bad install target.
David MacKenzie [Tue, 13 Jul 1993 00:54:45 +0000 (00:54 +0000)]
* ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
ldscripts, as well as <ld bin dir> and SCRIPTDIR.
Jim Kingdon [Mon, 12 Jul 1993 22:51:09 +0000 (22:51 +0000)]
* a29k-tdep.c (read_register_stack): Make val static.
David Edelsohn [Mon, 12 Jul 1993 21:12:02 +0000 (21:12 +0000)]
h8300 stuff.
David Edelsohn [Mon, 12 Jul 1993 21:09:22 +0000 (21:09 +0000)]
(REGISTER_CONVERTIBLE): Change value to 0.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
usual spot.
David D. Zuhn [Mon, 12 Jul 1993 21:05:23 +0000 (21:05 +0000)]
handle our SCO name better
Mark Eichin [Mon, 12 Jul 1993 19:42:32 +0000 (19:42 +0000)]
fix definitions of md_create_long_jump, md_create_short_jump,
md_number_to_chars, and md_section_align to correctly use valueT and addressT
David MacKenzie [Mon, 12 Jul 1993 19:34:04 +0000 (19:34 +0000)]
* ldlang.c (lang_process): Use sizeof instead of magic constant.
* ldmain.c (get_emulation, check_for_scripts_dir,
set_scripts_dir): New functions.
(main): Call them.
Mark Eichin [Mon, 12 Jul 1993 18:58:50 +0000 (18:58 +0000)]
update use of valueT and addressT
Jim Kingdon [Mon, 12 Jul 1993 18:41:14 +0000 (18:41 +0000)]
* stabs.texinfo: N_MAIN is sometimes used for C.
Jim Kingdon [Mon, 12 Jul 1993 18:00:48 +0000 (18:00 +0000)]
* c-valprint.c (c_val_print): Fix thinko with unspecified length
arrays.
Jim Kingdon [Mon, 12 Jul 1993 16:34:23 +0000 (16:34 +0000)]
* hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
use it.
Jim Kingdon [Mon, 12 Jul 1993 16:30:21 +0000 (16:30 +0000)]
* gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
Jim Kingdon [Mon, 12 Jul 1993 15:58:42 +0000 (15:58 +0000)]
improve comment about Sun acc
Ken Raeburn [Mon, 12 Jul 1993 15:17:10 +0000 (15:17 +0000)]
config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.
Ken Raeburn [Mon, 12 Jul 1993 15:07:42 +0000 (15:07 +0000)]
configure.in, elf.sc changes
Ken Raeburn [Mon, 12 Jul 1993 15:05:38 +0000 (15:05 +0000)]
Include .init, .fini, .rodata sections.
Create symbol "end" instead of "__end".
Comment out some parts that may not be needed (yet) for elf.
Ken Raeburn [Mon, 12 Jul 1993 15:01:15 +0000 (15:01 +0000)]
Solaris 2 support; sparc64 sanitization.
Ken Raeburn [Mon, 12 Jul 1993 15:00:55 +0000 (15:00 +0000)]
fix values
Ken Raeburn [Mon, 12 Jul 1993 14:59:29 +0000 (14:59 +0000)]
Solaris 2 configuration; sparc64 sanitization.
Ken Raeburn [Mon, 12 Jul 1993 14:56:45 +0000 (14:56 +0000)]
Handle sparc64-* before sparc*.
Accept sparc-elf and sparc-solaris configurations (though ../configure.in
should still not configure this directory by default, it's not completely
working).
Ken Raeburn [Mon, 12 Jul 1993 14:50:45 +0000 (14:50 +0000)]
Changes to reloc.c, libelf.h, config/sparc-elf.mt.
Ken Raeburn [Mon, 12 Jul 1993 14:48:13 +0000 (14:48 +0000)]
regenerated
Ken Raeburn [Mon, 12 Jul 1993 14:47:30 +0000 (14:47 +0000)]
Use {start,end}-sanitize-v9 instead of `v9' on every line to be removed.
Ken Raeburn [Mon, 12 Jul 1993 14:46:20 +0000 (14:46 +0000)]
(struct elf_obj_tdata): Add field `thunk'.
Ken Raeburn [Mon, 12 Jul 1993 14:44:30 +0000 (14:44 +0000)]
(enum bfd_reloc_code_real): Move SPARC_BASE13 and SPARC_WDISP19 to more
appropriate places.
(bfd_perform_relocation): Whitespace changes, more comments.
Ken Raeburn [Mon, 12 Jul 1993 14:39:40 +0000 (14:39 +0000)]
(sparc_reloc_map): Remove duplicate WDISP19 entry.
Ken Raeburn [Mon, 12 Jul 1993 14:37:44 +0000 (14:37 +0000)]
Clean v9 stuff from reloc.c and bfd-in2.h also.
Ian Lance Taylor [Mon, 12 Jul 1993 14:24:20 +0000 (14:24 +0000)]
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
there is another alternative for the instruction.
Jim Kingdon [Mon, 12 Jul 1993 03:42:35 +0000 (03:42 +0000)]
* symtab.c (decode_line_1): Use end of block to figure out whether
val.end is in the same function, not minimal symbols.
* source.c (line_info): Add a few more wrap_here's.
* i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
don't make assumptions about sizes of host data types.
* blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
* infrun.c, breakpoint.c, printcmd.c: Change callers.
* printcmd.c (containing_function_bounds): Remove.
* printcmd.c (disassemble_command): Use find_pc_partial_function,
not containing_function_bounds.
* infcmd.c (step_1): Use find_pc_partial_function rather than
trying to roll our own. Move check for a pc between SIGTRAMP_START and
SIGTRAMP_END in find_pc_partial_function, not step_1.
Jim Kingdon [Mon, 12 Jul 1993 00:45:02 +0000 (00:45 +0000)]
* sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
Keep unswapped value in array of char, not REGISTER_TYPE.
Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
(sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
sizeof (CORE_ADDR).
David Edelsohn [Mon, 12 Jul 1993 00:13:50 +0000 (00:13 +0000)]
Add v9 sanitized entry for sparc-tdep.c.
David Edelsohn [Mon, 12 Jul 1993 00:08:42 +0000 (00:08 +0000)]
Add v9 sanitization support.
Jim Kingdon [Sun, 11 Jul 1993 23:41:01 +0000 (23:41 +0000)]
* m68k.h: Define MC68KBCSMAGIC.
Jim Kingdon [Sun, 11 Jul 1993 23:40:10 +0000 (23:40 +0000)]
add dpx/2 support
Jim Kingdon [Sun, 11 Jul 1993 23:29:31 +0000 (23:29 +0000)]
* configure.in (m68*-bull-sysv*): added support for Bull dpx2.
* config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
* config/m68k/dpx2.m{h,t}: New files.
Jim Kingdon [Sun, 11 Jul 1993 23:24:49 +0000 (23:24 +0000)]
add file
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.
Jim Kingdon [Sun, 11 Jul 1993 22:58:00 +0000 (22:58 +0000)]
new for dpx2
Jim Kingdon [Sun, 11 Jul 1993 22:44:45 +0000 (22:44 +0000)]
new for dpx2
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.
David Edelsohn [Sun, 11 Jul 1993 19:31:49 +0000 (19:31 +0000)]
(PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg.
Jim Kingdon [Sun, 11 Jul 1993 17:05:33 +0000 (17:05 +0000)]
* gdb.t17/interrupt.exp: Test for more things.
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.
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.
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).
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.
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.
Roland Pesch [Sat, 10 Jul 1993 00:32:18 +0000 (00:32 +0000)]
doc/as.texinfo
Roland Pesch [Sat, 10 Jul 1993 00:31:03 +0000 (00:31 +0000)]
Updates for Hitachi H8/300H
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.
Jim Kingdon [Fri, 9 Jul 1993 21:20:09 +0000 (21:20 +0000)]
x
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.
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.
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.
Jim Kingdon [Fri, 9 Jul 1993 19:14:43 +0000 (19:14 +0000)]
* gdb.t17/interrupt.exp: Don't send \n after ^C.
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).
Jim Kingdon [Fri, 9 Jul 1993 18:33:23 +0000 (18:33 +0000)]
* a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
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.
Peter Schauer [Fri, 9 Jul 1993 16:54:31 +0000 (16:54 +0000)]
* gdb.t00/help.exp: Increase expect input buffer size.
Peter Schauer [Fri, 9 Jul 1993 16:53:30 +0000 (16:53 +0000)]
* gdbint.texinfo (Host, Target Conditionals): Remove TM_FILE_OVERRIDE.
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.
Jim Kingdon [Fri, 9 Jul 1993 05:47:07 +0000 (05:47 +0000)]
* aoutf1.h: Add definition of MACHTYPE_OK.
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.
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.
Jim Kingdon [Fri, 9 Jul 1993 02:23:19 +0000 (02:23 +0000)]
minor comment fix
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.
Ken Raeburn [Thu, 8 Jul 1993 23:38:49 +0000 (23:38 +0000)]
keep elf.sc
Stu Grossman [Thu, 8 Jul 1993 23:36:48 +0000 (23:36 +0000)]
test of branches. please ignore.
Jim Kingdon [Thu, 8 Jul 1993 23:08:05 +0000 (23:08 +0000)]
* gdb.t07/watchpoint.exp: Add xfail for hppa.
Ken Raeburn [Thu, 8 Jul 1993 22:44:34 +0000 (22:44 +0000)]
initial v9 stuff
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.
Ken Raeburn [Thu, 8 Jul 1993 20:28:03 +0000 (20:28 +0000)]
ldmisc,ldlang,Makefile changes
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.
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.
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.
Jim Kingdon [Thu, 8 Jul 1993 20:06:19 +0000 (20:06 +0000)]
* hppa-tdep.c (hppa_push_arguments): Allocate enough space for
arguments.
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.
Jim Kingdon [Thu, 8 Jul 1993 19:53:05 +0000 (19:53 +0000)]
* hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
Mark Eichin [Thu, 8 Jul 1993 19:51:04 +0000 (19:51 +0000)]
fix the declaration of run_stack_dummy, as well.