Commit graph

7119 commits

Author SHA1 Message Date
Gavin Romig-Koch
e599ab169e Scrap the un-needed vr4111 stuff. 1998-03-06 21:22:59 +00:00
Fred Fish
3ffbdf1532 PR 15068
* utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
 	SERIAL_FLUSH_OUTPUT.
	* serial.h (struct serial_ops): Add drain_output, pointer to
 	function that waits for output to drain.
	(SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
	* ser-unix.c (hardwire_drain_output): New function and prototype.

	* ser-unix.c (hardwire_ops): Add entry for drain_output function.
	* ser-tcp.c (tcp_ops): Ditto.
	* ser-ocd.c (ocd_ops): Ditto.
	* ser-mac.c (mac_ops): Ditto.
	* ser-go32.c (dos_ops): Ditto.
	* ser-e7kpc.c (e7000pc_ops): Ditto.
1998-03-06 20:38:45 +00:00
Michael Snyder
d6acae6881 Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* sparcl-tdep.c: fix #endif comments
1998-03-06 00:09:31 +00:00
Jason Molenda
56deac4b9c Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.
1998-03-05 23:11:20 +00:00
Keith Seitz
17772016ca * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
error () so that we abort out of bdm_ppc_open.
1998-03-05 22:41:56 +00:00
Martin Hunt
1d7a3fd775 Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
* serial.c (_initialize_serial): Add a description of
	"set remotelogbase".

	* command.c (do_setshow_command): If no arguments are supplied,
	don't dump core, instead print out an error message.
1998-03-05 01:04:13 +00:00
Jason Molenda
94ec3e76cb Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gdbtk.c (gdb_listfiles): Fix thinko in last change.
1998-03-05 00:51:00 +00:00
Jason Molenda
d7363521cf Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
1998-03-04 23:35:30 +00:00
John Metzler
24d084d94b type in feb 19 1998-03-04 21:52:56 +00:00
John Metzler
863b20a3ad Cleanup entry for feb 19 1998-03-04 19:26:03 +00:00
Ron Unrau
4f0f84e7fb elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into MAKE_MSYMBOL_SPECIAL
config/mips/tm-mips.h: ditto
symtab.h: update comments re minimal_symbol->info
mips-tdep.c: globalize gdb_print_insn_mips
txvu-tdep.c: disassemble support
config/mips/tm-txvu.h: add vu_pc, use MAKE_MSYMBOL_SPECIAL, track updates
	from tm-r5900.h
1998-03-04 08:45:55 +00:00
John Metzler
3a012857c6 vr4111 changes for mips64vr4111-*-elf, Passes make chack with only 2 failures 1998-03-04 01:28:53 +00:00
John Metzler
67359871bb Previously, the size of pointers was taken from the hosts pointer size. Now, it is a function of TARGET_PTR_BITS. 1998-03-04 01:12:43 +00:00
John Metzler
2425869cc2 Target triple mips64vr4111-*-elf is defined by the header file tm-vr4xxx.h 1998-03-04 00:28:41 +00:00
John Metzler
439601f2a7 Supports mips64vr4111-*-elf
See tm-vrxxx.h
1998-03-04 00:08:00 +00:00
John Metzler
36b823d5e2 Defines a mips configuration which entails
Configuration triple mips64vr4111-*-elf
   64 bit architecture
   16 bit sub core
   32 bit ints and floats
   No floating point unit
   MIPS EABI interface
   Dwarf2 debugging format
1998-03-04 00:05:05 +00:00
Jason Molenda
716e3a4f19 Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* alpha-nat.c (fetch_osf_core_registers):  Renamed from
        fetch_aout_core_registers.
        (alpha_osf_core_fns):  Renamed from alpha_aout_core_fns, change
        flavour to bfd_target_unknown_flavour for OSF core files.
1998-03-03 22:38:38 +00:00
Gavin Romig-Koch
e4e30cdca4 * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
Added.
1998-03-03 16:16:57 +00:00
Michael Snyder
582999774e Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* breakpoint.c (_initialize_breakpoint): Make "en" an alias
        for "enable" (so that it doesn't conflict with "end").
1998-03-03 01:46:36 +00:00
Jason Molenda
d0b6f2adcc Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile (VERSION): Bump to 4.17.1.
1998-03-03 01:04:46 +00:00
Jason Molenda
290d79e0a6 Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
* rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
1998-03-03 01:00:59 +00:00
Jason Molenda
37ac9ecccd Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.

Er, oops.
1998-03-03 00:52:52 +00:00
Jason Molenda
c87c674ad4 Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>
* Makefile.in (distclean): Add `rm $(YYFILES)'.
1998-03-03 00:51:10 +00:00
Jason Molenda
79f0b613dc Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>
* coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum
        is unsigned.
1998-03-03 00:48:39 +00:00
Jason Molenda
6cc922a988 Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>
* configure.host, configure.tgt: Add sparc-linux.
        * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux.
        * config/sparc/*linux*: New files.
1998-03-02 23:17:31 +00:00
Jason Molenda
4321ed5304 Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)
* arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm
        if we're big endian; else call print_insn_little_arm.


Patch contributed in PR 15182.
1998-03-02 20:14:53 +00:00
Jason Molenda
9a760d248f Change from rth.
* Makefile.in (BISON): Don't even pretend to use yacc.
        (c-exp.tab.o): Use bison -o to use a unique intermediate file.
        (jv-exp.tab.o, f-exp.tab.o, m2-exp.tab.o): Likewise.
1998-02-24 19:25:44 +00:00
Mark Alexander
be61d73cf3 * config/mn10300-eval.exp: New file to support MN10300 eval board. 1998-02-23 17:01:02 +00:00
Andrew Cagney
5af9fc5f50 Specify correct values for REGISTER_RAW_SIZE.
If a SIM/GDB register size botch, warn the user once.
1998-02-23 16:40:34 +00:00
John Metzler
c3cf44c448 remove long long printf crash 1998-02-20 00:52:37 +00:00
Frank Ch. Eigler
f8611801b1 * remote-mips.c (mips_request): Use unsigned long during parsing
returned value from monitor, to prevent accidental sign extension.
1998-02-17 23:14:57 +00:00
Jason Molenda
dd60073596 Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
        * configure.in: Ditto.
        * configure: Regenerated.

Tue Feb 17 14:07:34 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>

        * gdbtypes.c (check_typedef): Do not try to resolve the length of
        a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
        set TYPE_FLAG_TARGET_STUB as well.



Patches from Peter.
1998-02-17 22:42:02 +00:00
Andrew Cagney
bccb2e7f89 Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returned
register size.
1998-02-17 04:28:00 +00:00
Andrew Cagney
6c3beaaf21 Make `target d10v'' and `target remote'' equivalent.
Hack remote.c so that xfer_memory calls a memory translate function.
1998-02-16 09:17:07 +00:00
Ron Unrau
678fa7ffe3 parse.c (write_dollar_variable): call new function target_map_name_to_register
so that targets can define their own register name aliases.
infcmd.c (registers_info): call target_map_name_to_register so that
	"print $reg" and "info reg $reg" share the same register alias set.
mips-tdep.c: separate MIPS_R5900_REGS from NUM_REGS so that sky registers
	can be printed separately.
txvu-tdep.c: print registers according to current CPU context.
tm-txvu.h: define SKY registers and conditionalize register interpretation
	macros.
txvu.mt: Don't bother building remote-mips.o for sky target.
1998-02-15 21:30:02 +00:00
Stan Shebs
8970f2fd36 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
* config/i386/xm-i386mk.h: Fix an include.
	* config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
1998-02-14 00:49:47 +00:00
Stan Shebs
67d8c3aa30 micro-cleanup 1998-02-14 00:38:57 +00:00
Frank Ch. Eigler
a469b84c3b * Changed MIPS monitor interface code to be tolerant of slightly
different IDT/sim 6.0 behavior.  Extra time and laxness is alloted
  for monitor entry and exit.
1998-02-12 21:28:52 +00:00
Andrew Cagney
9df3ba709f * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
accumulators.
1998-02-12 07:32:58 +00:00
Andrew Cagney
9308792034 For d10v, do not sign-extend pointers. 1998-02-12 06:21:12 +00:00
Andrew Cagney
dd0ce8f668 Add a new target specific protocol `target d10v' implemented in
remote-d10v.c.  It has an xfer_mem function that can translate a d10v
GDB address into a d10v monitor address.
1998-02-12 05:48:23 +00:00
Andrew Cagney
b6b48d0313 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
on-chip insn memory and IMAP1 to upper 128k.
        (D10VCopy): Handle memory regions crossing 16k boundaries.
        (D10VCopy): Transfer data in 32 bit chunks.
1998-02-12 05:09:25 +00:00
Andrew Cagney
0c3ab0a169 Remote protocol for d10v. Mainly responsible for translating GDB d10v
addresses into those expected by the remote d10v monitor.
1998-02-12 04:20:07 +00:00
Andrew Cagney
6bcc5ba37a Enable remote-tcp on a FreeBSD host. 1998-02-11 11:01:30 +00:00
Keith Seitz
a5f4fbff1d * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
if it exists.
        Remove static declaration of free_actions.

        * tracepoint.h: Add declaration of free_actions.

        * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification
hook.
        (gdbtk_print_frame_info): Define this hook so that current_source_symtab
        is set properly.
        (gdb_actions_command): Use free_actions () from tracepoint.c/h.
1998-02-11 02:33:22 +00:00
Jason Molenda
75a1d67abb Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
* m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
        `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
        `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
        (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
        is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
        (FRAME_NUM_ARGS): New macro.
        * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
        * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
        patch.
1998-02-10 20:14:43 +00:00
Andrew Cagney
f6826586c5 D10V memory map changed. Update.
Replace all references to [ID]MEM_ADDR with conversion macros.
1998-02-10 07:05:32 +00:00
Doug Evans
79f15b12ba * symtab.c (fixup_psymbol_section): Move forward declaration to
top of file with other such decls.  Make it a static function.
	* symtab.h: Minor formatting tweaks.
Via Fred, from m32r branch.
1998-02-09 23:25:39 +00:00
Doug Evans
9c01dbfbdb * symtab.c (fixup_psymbol_section): Move forward declaration to
top of file with other such decls.  Make it a static function.
	* symtab.h: Minor formatting tweaks.
Via Fred, from m32r branch.
1998-02-09 23:20:13 +00:00
Stan Shebs
cb5cd5b464 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
Remove redefinition.
	* config/i960/tm-i960.h (BREAKPOINT): Define.
Fix build failures due to tracepoint.c addition
1998-02-09 21:25:02 +00:00