Mike Stump [Wed, 3 May 1995 13:58:38 +0000 (13:58 +0000)]
Fix typo in hppa elf.
Stan Shebs [Wed, 3 May 1995 01:44:08 +0000 (01:44 +0000)]
Keep remote-nrom.c
Stan Shebs [Wed, 3 May 1995 01:43:27 +0000 (01:43 +0000)]
* configure.in (--enable-netrom): New configuration option.
* Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
value of NETROM_OBS.
(NETROM_OBS): New variable.
* remote-nrom.c: New file, NetROM target support.
* config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
REMOTE_OBS instead of REMOTE_O.
start-sanitize-arc
* config/arc/arc.mt: Ditto.
end-sanitize-arc
Jeff Law [Tue, 2 May 1995 22:39:41 +0000 (22:39 +0000)]
Add hppa1.1-hp-lites support.
Ken Raeburn [Tue, 2 May 1995 20:40:22 +0000 (20:40 +0000)]
* gas/mips/ld.d: Modified for gas delay-slot fixes.
Ken Raeburn [Tue, 2 May 1995 19:33:44 +0000 (19:33 +0000)]
read.c, tc-mips changes
Ken Raeburn [Tue, 2 May 1995 19:33:00 +0000 (19:33 +0000)]
* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.
* config/tc-mips.c (mips_target_format): Changed to a function, checking flavor
and byte order at run time.
(md_parse_option, cases OPTION_EB and OPTION_EL): Set target_big_endian here.
(md_begin): Not here.
* config/tc-mips.h (mips_target_format): Adjust declaration.
(TARGET_FORMAT): Call mips_target_format.
* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of OUTPUT_FLAVOR.
* config/tc-mips.c (g_switch_value, g_switch_seen): Define unconditionally.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls,
nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run time, instead of
compiling conditionally on GPOPT.
(GPOPT): Don't define.
(md_shortopts): Always include -G.
(RDATA_SECTION_NAME): Select at run time.
(md_begin): Test for ELF format at run time instead of compile time.
(mips_ip, s_change_sec): Ditto.
(md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED): Ditto.
(OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
unconditionally.
Ken Raeburn [Tue, 2 May 1995 19:30:17 +0000 (19:30 +0000)]
(pop_insert): New function.
(pop_override_ok, pop_table_name): New variables.
(md_pop_insert, obj_pop_insert): New macros.
(pobegin): Use them.
(target_big_endian): If TARGET_BYTES_BIG_ENDIAN is defined, initialize to 1.
Ken Raeburn [Tue, 2 May 1995 06:46:21 +0000 (06:46 +0000)]
Move cpu-specific dependencies into Makefile.in, instead of having sometimes
multiple copies in config/*.mt. Select between several make variables with
autoconf substitution of cpu_type into a variable name reference.
Ken Raeburn [Tue, 2 May 1995 06:26:15 +0000 (06:26 +0000)]
deleting more unused macros
Ken Raeburn [Tue, 2 May 1995 04:47:35 +0000 (04:47 +0000)]
delete some unused TE_* macros
Ken Raeburn [Mon, 1 May 1995 20:44:46 +0000 (20:44 +0000)]
* read.c (s_app_file): If obj_app_file is defined, call it with string as argument.
Don't call c_dot_file_symbol or elf_file_symbol.
* config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol.
* config/obj-elf.h (obj_app_file): Define as elf_file_symbol.
* as.h (OUTPUT_FLAVOR): Don't define here.
* config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-bout.h (OUTPUT_FLAVOR): Define.
* config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-ecoff.h (OUTPUT_FLAVOR): Define.
* config/obj-elf.h (OUTPUT_FLAVOR): Define.
David Edelsohn [Sun, 30 Apr 1995 20:16:22 +0000 (20:16 +0000)]
(gas-dg-test): Detect invalid values of `do_what'.
David Edelsohn [Sun, 30 Apr 1995 06:38:13 +0000 (06:38 +0000)]
New testcase to test ARC specific warnings.
David Edelsohn [Sun, 30 Apr 1995 06:35:49 +0000 (06:35 +0000)]
* lib/gas-dg.exp: New file.
David Edelsohn [Sun, 30 Apr 1995 06:34:53 +0000 (06:34 +0000)]
New file (interfaces to dg.exp).
David Edelsohn [Sun, 30 Apr 1995 06:14:16 +0000 (06:14 +0000)]
Initial pass at ARC docs.
David Edelsohn [Sun, 30 Apr 1995 04:48:46 +0000 (04:48 +0000)]
ARC stuff.
David Edelsohn [Sun, 30 Apr 1995 04:30:57 +0000 (04:30 +0000)]
Avoid "8 byte insn in delay slot" warning message.
Stu Grossman [Sat, 29 Apr 1995 06:34:44 +0000 (06:34 +0000)]
* array-rom.c (_initialize_array array_open): Move baud_rate
initialization from _initxxx to array_open to fix bug with
overriding -b command line option.
David Edelsohn [Fri, 28 Apr 1995 03:32:06 +0000 (03:32 +0000)]
* Makefile.in (RUNTEST): Fix reference of `srcdir'.
David Edelsohn [Fri, 28 Apr 1995 03:08:55 +0000 (03:08 +0000)]
* Makefile.in (RUNTEST): Use one in srcdir if present.
(RUNTESTFLAGS): Define.
Michael Meissner [Thu, 27 Apr 1995 18:40:32 +0000 (18:40 +0000)]
Support Linux systems that do not have the BFD linker installed.
Steve Chamberlain [Thu, 27 Apr 1995 02:07:44 +0000 (02:07 +0000)]
Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
* remote-hms.c: Rewrite to use new monitor conventions.
Steve Chamberlain [Thu, 27 Apr 1995 01:59:19 +0000 (01:59 +0000)]
Wed Apr 26 18:26:21 1995 Steve Chamberlain <sac@slash.cygnus.com>
* srconv.c (main): Add support for -n option which disables
prescan of common symbols.
(wr_ob): If reading past the end of a section, fill with zeros.
Ken Raeburn [Wed, 26 Apr 1995 20:02:18 +0000 (20:02 +0000)]
Support for more portable alignment handling in assembly code, based on patches
from Bryan Ford <baford@schirf.cs.utah.edu>:
* read.c (potable): Added balign and p2align, for aligning by bytes or powers
of two independent of what ".align" does for a given target.
* doc/as.texinfo: Document them.
Jeff Law [Wed, 26 Apr 1995 16:59:33 +0000 (16:59 +0000)]
* config.guess: Add hppa1.1-hp-lites support.
Jim Kingdon [Wed, 26 Apr 1995 14:39:10 +0000 (14:39 +0000)]
* gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
each test pass or fail.
Ken Raeburn [Wed, 26 Apr 1995 01:16:41 +0000 (01:16 +0000)]
* objdump.c (dump_section_header): Display load address after virtual memory
(run-time) address.
Ken Raeburn [Wed, 26 Apr 1995 01:11:57 +0000 (01:11 +0000)]
* Makefile.in (install): Depend on "all".
Jim Kingdon [Tue, 25 Apr 1995 22:58:03 +0000 (22:58 +0000)]
Add comment regarding stringtab_global and psymtabs.
Jim Kingdon [Tue, 25 Apr 1995 18:31:31 +0000 (18:31 +0000)]
* dbxread.c: Add comment explaining lowest_text_address.
Rob Savoye [Tue, 25 Apr 1995 18:14:45 +0000 (18:14 +0000)]
* configure, configure.in: Look for m68k-*-vxworks* rather than
just m68k-wrs-vxworks so gas can be configured for
m68k-vxworks5.1.
Rob Savoye [Tue, 25 Apr 1995 18:10:53 +0000 (18:10 +0000)]
Don't build newlib for m68k-vxworks5.1.
Jason Molenda [Tue, 25 Apr 1995 18:07:43 +0000 (18:07 +0000)]
* hosts/std-host.h: #include ansidecl.h 'cause PTR is used in
std-host.h.
Jason Merrill [Tue, 25 Apr 1995 01:18:25 +0000 (01:18 +0000)]
Mon Apr 24 16:23:41 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* config.guess (*:Linux:*:*): Determine whether the default
compiler is ELF or a.out.
Jason Merrill [Tue, 25 Apr 1995 01:07:46 +0000 (01:07 +0000)]
Linux configuration name fixes
Jason Molenda [Mon, 24 Apr 1995 22:10:32 +0000 (22:10 +0000)]
* configure.in: use ../../bfd/hosts/std-host.h, not
../bfd/hosts/std-host.h (which doesn't exist).
Jason Molenda [Mon, 24 Apr 1995 21:21:58 +0000 (21:21 +0000)]
* sh-opc.c (sh_nibble_type, sh_arg_type): remove trailing , from
enum list.
some native cc's barf on this (and K&R says it's naughty)
Michael Meissner [Mon, 24 Apr 1995 14:38:05 +0000 (14:38 +0000)]
Provide escape hatch for HAVE_PROCFS being defined.
Michael Meissner [Mon, 24 Apr 1995 12:41:37 +0000 (12:41 +0000)]
Do not continue processing unknown symbols.
Jim Kingdon [Mon, 24 Apr 1995 04:37:45 +0000 (04:37 +0000)]
* gdb.base/opaque.exp: Remove xfails for aix; print a warning if
xlc not gcc.
Jeff Law [Sat, 22 Apr 1995 07:51:21 +0000 (07:51 +0000)]
* config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
Jeff Law [Sat, 22 Apr 1995 07:42:36 +0000 (07:42 +0000)]
* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.
Jeff Law [Sat, 22 Apr 1995 07:30:32 +0000 (07:30 +0000)]
* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.
Stu Grossman [Fri, 21 Apr 1995 22:45:59 +0000 (22:45 +0000)]
* cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
Kung Hsu [Fri, 21 Apr 1995 20:02:50 +0000 (20:02 +0000)]
* minsyms.c: add new function lookup_minimal_symbol_text, to look
for text symbol only.
* breakpoint.c (create_longjmp_breakpoint): call
lookup_minimal_symbol_text instead of lookup_minimal_symbol.
* symtab.h: add lookup_minimal_symbol_text prototype.
Stan Shebs [Fri, 21 Apr 1995 19:09:01 +0000 (19:09 +0000)]
* sh-tdep.c (sh-opc.h): Don't include.
(gdbcore.h): Include.
(frame_find_saved_regs): Remove unused local.
Ken Raeburn [Fri, 21 Apr 1995 16:53:57 +0000 (16:53 +0000)]
Patches from H.J. Lu for Linux ELF core file support.
* elfcode.h (elf_core_file_matches_executable_p) [HAVE_PROCFS]: Use prpsinfo_t
instead of struct prpsinfo, for consistency.
* hosts/i386linux.h (HAVE_PROCFS): Define.
Jim Kingdon [Fri, 21 Apr 1995 13:19:22 +0000 (13:19 +0000)]
* dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
up comments.
Ken Raeburn [Thu, 20 Apr 1995 21:30:10 +0000 (21:30 +0000)]
* Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to match
configure script.
Steve Chamberlain [Thu, 20 Apr 1995 16:10:44 +0000 (16:10 +0000)]
Thu Apr 20 09:07:39 1995 Steve Chamberlain <sac@slash.cygnus.com>
* linker.c (link_action): Do the right thing when a undefined
strong symbol appears after an undefined weak symbol.
Stu Grossman [Thu, 20 Apr 1995 00:46:15 +0000 (00:46 +0000)]
* config/est.exp: Fix copyright and comments. Remove dead code.
Use targetname, serialport and baud variables instead of fixed
constants.
* config/rom68k.exp: Fix copyright and comments. Remove dead code.
* config/cpu32bug.exp: New file to support cpu32bug monitors.
Stu Grossman [Thu, 20 Apr 1995 00:15:14 +0000 (00:15 +0000)]
* hppa-tdep.c (deposit_17): New routine to deposit 17 bit
constants into PA instructions.
* Put #ifdefs around all signal handling code. Not generally
needed for embedded boards.
* (hppa_fix_call_dummy): Parameterize offsets into call dummy to
allow different dummys to be used by this code. Use
INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
Conditionalize setup of _sr4export fixup. Improve comments.
* config/pa/tm-hppa.h: Define INSTRUCTION_SIZE. Use a different
call dummy if PA_LEVEL_0 is defined. Better comments for call
dummys. Define offsets for LDIL/LDO instructions which load
function addresses.
* config/pa/tm-pro.h: Get rid of signal handling stuff. Define
PA_LEVEL_0 to disable mucking with space regs and such.
Jim Wilson [Thu, 20 Apr 1995 00:04:20 +0000 (00:04 +0000)]
* configure.in (mips-sgi-irix6): Use mh-irix5.
Jim Kingdon [Wed, 19 Apr 1995 20:50:56 +0000 (20:50 +0000)]
* gdb.base/watchpoint.exp: Don't run
test_watchpoint_triggered_in_syscall for sunos.
J.T. Conklin [Wed, 19 Apr 1995 18:27:35 +0000 (18:27 +0000)]
* gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
comment emitted by this script to gen-c-prog.awk.
* Makefile.in, configure.in: Converted to use autoconf.
* configure: New file, generated with autoconf 2.3.
* config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc,
mt-tahoe, mt-vax}: Removed.
Michael Meissner [Wed, 19 Apr 1995 18:14:20 +0000 (18:14 +0000)]
Fix April 17th change.
Jim Kingdon [Wed, 19 Apr 1995 14:07:31 +0000 (14:07 +0000)]
* remote.texi (Bootstrapping): Clarify that flush_i_cache is only
for the sparc stub.
Angela Marie Thomas [Wed, 19 Apr 1995 08:16:58 +0000 (08:16 +0000)]
added remote-vxmips.c, remotevxwparc.c to Things-to-keep
Ken Raeburn [Tue, 18 Apr 1995 16:24:09 +0000 (16:24 +0000)]
* mips-dis.c (print_insn_little_mips): Cast return value from bfd_getl32 from
bfd_vma to unsigned long, because _print_insn_mips expects an unsigned long,
and that might be fewer words of argument storage (e.g., if bfd_vma is long
long on a 32-bit machine).
(print_insn_big_mips): Likewise with bfd_getb32 value.
(_print_insn_mips): Now static.
Stu Grossman [Mon, 17 Apr 1995 22:43:56 +0000 (22:43 +0000)]
* cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.c
w89k-rom.c: Remove loadtypes, loadprotos and baudrates.
* op50-rom.c: Fix copyrights and add load routine to op50n_cmds.
* rom68k-rom.c (_initialize_rom68k): Don't set baud rate.
* w89k-rom.c: Fix copyrights.
Stu Grossman [Mon, 17 Apr 1995 06:32:32 +0000 (06:32 +0000)]
*** empty log message ***
Stu Grossman [Mon, 17 Apr 1995 06:31:39 +0000 (06:31 +0000)]
* monitor.c: Move all xmodem stuff into xmodem.[ch]. Remove
unnecessary remoteloadprotocol and remoteloadtype support.
* (expect expect_prompt): Change names to monitor_expect and
monitor_expect_prompt. Make them global.
* (printf_monitor): Change name to monitor_printf. Make global.
* (monitor_read_memory): Flush command echo to avoid parsing
ambiguity with CPU32Bug monitor.
* (monitor_load): Remove remoteloadprotocol and remoteloadtype
support. Call target_ops->load_routine, default to
monitor_load_srec.
* (monitor_load_srec): Remove everything but S-record support.
* monitor.h (monitor_ops): Add load_routine to provide monitor
specific download capability.
* remote-est.c: Clean up copyrights and comments.
* w89k-rom.c: Use new xmodem support.
* xmodem.c xmodem.h: New files to support xmodem downloads.
* rom68k-rom.c remote-est.c: Fix copyrights, add load_routine
entry to monitor_ops.
* cpu32bug-rom.c: New file to support Moto BCC debuggers.
* config/m68k/est.mt (TDEPFILES): Add cpu32bug.o.
* config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
Stan Shebs [Sun, 16 Apr 1995 13:39:57 +0000 (13:39 +0000)]
README.GDBTK is a gdbtk file
Jim Kingdon [Sun, 16 Apr 1995 01:03:11 +0000 (01:03 +0000)]
* rem-multi.shar: Removed; superceded by gdbserver.
Jim Kingdon [Sun, 16 Apr 1995 00:53:31 +0000 (00:53 +0000)]
* xcoffread.c (xcoff_sym_fns): Revise comment about merging this
with coffread.c.
* breakpoint.c (fixup_breakpoints): Removed.
* rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
(vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.
* coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
sections, not just SECT_OFF_MAX-1.
* rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
to be indexed by SECT_OFF_* instead of xcoff section numbers.
* objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
* symtab.h: Revise comment about block_line_section.
* rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
Jim Kingdon [Sat, 15 Apr 1995 21:29:14 +0000 (21:29 +0000)]
* gdb.base/a1-selftest.exp: Add alpha xfail.
Stan Shebs [Sat, 15 Apr 1995 21:22:14 +0000 (21:22 +0000)]
* mpw-make.in (init.c): Don't try to do symbolic {o} in sed
command, not allowed by some version of MPW Make.
* ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
Jim Kingdon [Sat, 15 Apr 1995 21:13:08 +0000 (21:13 +0000)]
Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
VALUE_TYPE). Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.
Sat Apr 15 14:04:32 1995 Per Bothner <bothner@cygnus.com>
* alpha-tdep.c (alpha_push_arguments): Only cast to long for
TYPE_CODE_INT.
Stan Shebs [Sat, 15 Apr 1995 21:01:31 +0000 (21:01 +0000)]
* gdbtk.c (gdb_disassemble): Read from inferior if connected
to a VxWorks target.
Ken Raeburn [Sat, 15 Apr 1995 08:21:11 +0000 (08:21 +0000)]
keep new files
Ken Raeburn [Fri, 14 Apr 1995 20:33:05 +0000 (20:33 +0000)]
* Makefile.in (ALL_EMULATIONS): Added em68kelf.o.
(em68kelf.o): New target.
* config/m68k-elf.mt, emulparams/m68kelf.sh: New files.
* configure.in: Use them for m68*-*-elf.
Ken Raeburn [Fri, 14 Apr 1995 20:25:09 +0000 (20:25 +0000)]
* config.bfd: Add m68*-*-elf*.
* elf32-m68k.c: Filled out implementation, except for dynamic linking support.
* reloc.c (enum bfd_reloc_code_real): Added *_GOT_PCREL, *_GOTOFF, *_PLT_PCREL,
*_PLTOFF, *_68K_* relocations for ELF.
* libbfd.h, bfd-in2.h: Regenerated.
Stu Grossman [Fri, 14 Apr 1995 17:20:29 +0000 (17:20 +0000)]
* README.GDBTK: New file. Contains the obvious.
Ken Raeburn [Thu, 13 Apr 1995 23:36:33 +0000 (23:36 +0000)]
Fix for PR 6732.
* config/tc-sh.c (md_convert_frag): Instead of aborting on large displacements,
print an error message. Don't invoke the code that followed the abort call
until it's been verified.
Ken Raeburn [Thu, 13 Apr 1995 22:21:11 +0000 (22:21 +0000)]
* config/tc-m68k.c (md_show_usage): Add 68060 to list. Split cpu list into
three lines.
Rob Savoye [Thu, 13 Apr 1995 22:17:54 +0000 (22:17 +0000)]
* remote-array.c: New file for Array Tech LSI33k based controller
board.
Kung Hsu [Thu, 13 Apr 1995 20:03:52 +0000 (20:03 +0000)]
* remote-vxsparc.c: New file, preliminary check in, this configuration
not supported yet.
* remote-vxmips.c: ditto.
Kung Hsu [Thu, 13 Apr 1995 19:37:57 +0000 (19:37 +0000)]
* a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
extract_address.
* remote-vxsparc.c: New file, preliminary check in, this configuration
not supported yet.
* remote-vxmips.c: ditto.
Michael Meissner [Thu, 13 Apr 1995 16:13:48 +0000 (16:13 +0000)]
Do not use unprotected ANSI/ISO prototypes.
Stan Shebs [Thu, 13 Apr 1995 01:23:53 +0000 (01:23 +0000)]
* monitor.h (init_monitor_ops): Declare.
* rom68k-rom.c: Clarify some comments.
(rom68k_open): Define as static, to match decl.
Jim Kingdon [Thu, 13 Apr 1995 00:46:52 +0000 (00:46 +0000)]
* gdb.gdb: New file.
* .gdbinit: Move list-objfiles to gdb.gdb.
Jim Kingdon [Thu, 13 Apr 1995 00:36:37 +0000 (00:36 +0000)]
* values.c (set_internalvar): Set modifiable flag of newval.
Jason Merrill [Wed, 12 Apr 1995 23:07:58 +0000 (23:07 +0000)]
Wed Apr 12 16:06:01 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* test-build.mk: Enable building of shared libraries on IRIX 5 and
OSF/1. Fix compiler flags.
* build-all.mk: Support Linux and OSF/1 3.0. Fix compiler flags.
Jim Kingdon [Wed, 12 Apr 1995 22:17:41 +0000 (22:17 +0000)]
* xcoffread.c: Call complain() rather than error() or printing a
warning.
Stan Shebs [Wed, 12 Apr 1995 19:29:34 +0000 (19:29 +0000)]
Always keep MPW support
Stan Shebs [Wed, 12 Apr 1995 19:27:42 +0000 (19:27 +0000)]
Merge MPW ChangeLog with generic ChangeLog
Stan Shebs [Wed, 12 Apr 1995 18:46:15 +0000 (18:46 +0000)]
Always keep MPW support
Stan Shebs [Wed, 12 Apr 1995 18:44:27 +0000 (18:44 +0000)]
Merge MPW ChangeLog with generic ChangeLog
Ken Raeburn [Wed, 12 Apr 1995 16:41:50 +0000 (16:41 +0000)]
* aoutx.h (machine_type, case bfd_arch_mips): Treat R8000 like R6000 and R4000
for now.
David Edelsohn [Wed, 12 Apr 1995 15:47:39 +0000 (15:47 +0000)]
* arc-tdep.c: #include "gdbcmd.h".
(codestream_seek): Pass CORE_ADDR.
(arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
(debug_pipeline_p): Likewise.
(X_...): Instruction field access macros.
(BUILD_INSN): Define.
(codestream_tell): Allow for stream elements > 1 byte.
(codestream_fill): Likewise.
(setup_prologue_scan): New function.
(arc_get_frame_setup): Call it. Update to current spec
regarding prologues. Use BUILD_INSN.
(skip_prologue): New argument `frameless_p'. Use BUILD_INSN.
(arc_frame_saved_pc): New function.
(frame_find_saved_regs): Use BUILD_INSN.
(get_insn_type, single_step): New functions.
(one_stepped): New global.
(arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
(arc_set_cpu_type): New function.
(_initialize_arc_tdep): Define new `set' commands `cpu',
`displaypipeline', and `debugpipeline'.
* remote-arc.c (break_insn): Add bi-endian support.
(arc_insert_breakpoint): Likewise.
(arc_remove_breakpoint): Likewise.
(switch_command): Delete.
* arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
(TARGET_BYTE_ORDER_SELECTABLE): Define.
(DEFAULT_ARC_CPU_TYPE): Define.
(SKIP_PROLOGUE_FRAMELESS_P): Define.
(BREAKPOINT): Delete.
(BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
(DECR_PC_AFTER_BREAK): Change to 8.
(NO_SINGLE_STEP): Define.
(ARC_PC_TO_REAL_ADDRESS): Define.
(SAVED_PC_AFTER_CALL): Use it.
(NUM_REGS, REGISTER_BYTES): Fix.
(FRAME_SAVED_PC): Call arc_frame_saved_pc.
(FRAME_LOCALS_ADDRESS): Fix.
David Edelsohn [Wed, 12 Apr 1995 15:46:23 +0000 (15:46 +0000)]
ARC stuff.
David Edelsohn [Wed, 12 Apr 1995 15:45:15 +0000 (15:45 +0000)]
Support keep-arc flag.
David Edelsohn [Wed, 12 Apr 1995 14:41:21 +0000 (14:41 +0000)]
* config/tc-arc.c (delay_slot_type): New function.
(md_assemble): Use hashed list of insns.
Print warning if 8 byte insn appears in delay slot.
(md_operand): Handle %st(sym1-sym2).
(get_arc_exp_reloc_type): Likewise.
(md_apply_fix, case BFD_RELOC_ARC_B26): Now using implicit addends
so must store them here.
David Edelsohn [Wed, 12 Apr 1995 14:40:14 +0000 (14:40 +0000)]
ARC stuff.
Jim Kingdon [Wed, 12 Apr 1995 04:42:05 +0000 (04:42 +0000)]
* rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
symfile_objfile, nuke it.
David Edelsohn [Wed, 12 Apr 1995 01:59:39 +0000 (01:59 +0000)]
* configure.in: Recognize --with-newlib.
(sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target.
(arc-*-*): Build g++ stuff now.
Jim Kingdon [Wed, 12 Apr 1995 00:16:35 +0000 (00:16 +0000)]
* top.c, utils.c, defs.h: Remove error_hook. It is currently
unused and would need to hook into error_begin()/return_to_top_level(),
instead of error(), if it were to be used.
Ken Raeburn [Tue, 11 Apr 1995 23:51:52 +0000 (23:51 +0000)]
* configure.in: Require at least autoconf 2.3, because earlier versions lose on
some AIX versions.
* configure: Regenerated.
* configure.in: Add m68k-*-elf.
* config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'.
(md_pseudo_table) [OBJ_ELF]: Ignore "swbeg".
(md_begin): Set alt_notend_table['&'], so svr4-style immediate operands are
accepted.
(md_apply_fix): Argument VALP should point to valueT.
(md_convert_frag): Argument SEC should be type segT.
(md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument.
(md_parse_option): Ignore it.
(md_convert_frag_1): Add in frag address for the symbol in the displacement
calculation.
* config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k".
(TARGET_ARCH): Define.
(REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0.
(LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle these the same
way for OBJ_ELF as for M68KCOFF.