Commit Graph

5230 Commits

Author SHA1 Message Date
Stu Grossman 43967a761c * 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.
1995-04-20 00:46:15 +00:00
Stu Grossman 7486c68d68 * 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.
1995-04-20 00:15:14 +00:00
Jim Kingdon 4c5eefabb1 * gdb.base/watchpoint.exp: Don't run
test_watchpoint_triggered_in_syscall for sunos.
1995-04-19 20:50:56 +00:00
Jim Kingdon 0f6bb71766 * remote.texi (Bootstrapping): Clarify that flush_i_cache is only
for the sparc stub.
1995-04-19 14:07:31 +00:00
Angela Marie Thomas 88890fb5ba added remote-vxmips.c, remotevxwparc.c to Things-to-keep 1995-04-19 08:16:58 +00:00
Stu Grossman f8f3659f3e * 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.
1995-04-17 22:43:56 +00:00
Stu Grossman fe4bce98e0 *** empty log message *** 1995-04-17 06:32:32 +00:00
Stu Grossman 5de0c6486d * 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.
1995-04-17 06:31:39 +00:00
Stan Shebs 9ce0322db8 README.GDBTK is a gdbtk file 1995-04-16 13:39:57 +00:00
Jim Kingdon 515587409e * rem-multi.shar: Removed; superceded by gdbserver. 1995-04-16 01:03:11 +00:00
Jim Kingdon e2adc41a31 * 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.
1995-04-16 00:53:31 +00:00
Jim Kingdon 9b86fdcaef * gdb.base/a1-selftest.exp: Add alpha xfail. 1995-04-15 21:29:14 +00:00
Stan Shebs 8befb59469 * 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.
1995-04-15 21:22:14 +00:00
Jim Kingdon b3636ee55e 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.
1995-04-15 21:13:08 +00:00
Stan Shebs d7c4766c8c * gdbtk.c (gdb_disassemble): Read from inferior if connected
to a VxWorks target.
1995-04-15 21:01:31 +00:00
Stu Grossman 6fd934a698 * README.GDBTK: New file. Contains the obvious. 1995-04-14 17:20:29 +00:00
Rob Savoye 3e437fe639 * remote-array.c: New file for Array Tech LSI33k based controller
board.
1995-04-13 22:17:54 +00:00
Kung Hsu 9c92940ac4 * remote-vxsparc.c: New file, preliminary check in, this configuration
not supported yet.
        * remote-vxmips.c: ditto.
1995-04-13 20:03:52 +00:00
Kung Hsu 546e6a3955 * 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.
1995-04-13 19:37:57 +00:00
Michael Meissner 07dc1e42d7 Do not use unprotected ANSI/ISO prototypes. 1995-04-13 16:13:48 +00:00
Stan Shebs d108166fde * monitor.h (init_monitor_ops): Declare.
* rom68k-rom.c: Clarify some comments.
	(rom68k_open): Define as static, to match decl.
1995-04-13 01:23:53 +00:00
Jim Kingdon 56b73ad2e3 * gdb.gdb: New file.
* .gdbinit: Move list-objfiles to gdb.gdb.
1995-04-13 00:46:52 +00:00
Jim Kingdon ade016526a * values.c (set_internalvar): Set modifiable flag of newval. 1995-04-13 00:36:37 +00:00
Jim Kingdon f8203ed005 * xcoffread.c: Call complain() rather than error() or printing a
warning.
1995-04-12 22:17:41 +00:00
David Edelsohn f0d795faf6 * 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.
1995-04-12 15:47:39 +00:00
David Edelsohn 32513ed10d ARC stuff. 1995-04-12 15:46:23 +00:00
David Edelsohn d4c5309e4a Support keep-arc flag. 1995-04-12 15:45:15 +00:00
Jim Kingdon 88a5c3fc6b * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
symfile_objfile, nuke it.
1995-04-12 04:42:05 +00:00
Jim Kingdon 0c0c911b03 * 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.
1995-04-12 00:16:35 +00:00
Jim Kingdon 8989d4fc4b * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
consistency with error_begin.  Also print warning_pre_print.
	Document it better.
	* utils.c (warning): Use it.
	* utils.c (error_begin): Doc fix.
	* rs6000-nat.c (vmap_ldinfo): If symfile_objfile is not part of
	any vmap, nuke it.
1995-04-11 22:26:14 +00:00
Jim Kingdon af125b1638 * annotate.texi: Clarify which addresses have differing formats
depending on the language and which do not.
1995-04-11 19:08:18 +00:00
Jim Kingdon f1cd942d08 * printcmd.c (print_address_numeric): Pass use_local to
print_longest, rather than always passing 1.
1995-04-11 18:57:57 +00:00
Jim Kingdon 0b0785402d * nlm/Makefile.in: Remove comments discussing munch. 1995-04-11 16:39:37 +00:00
Michael Meissner 45f90c50d3 Use F_SETOWN if SIOCSPGRP is not available. 1995-04-11 15:14:07 +00:00
Stan Shebs 49073be098 Always keep MPW support 1995-04-11 02:08:59 +00:00
Stan Shebs cb5aa38b34 Merge MPW ChangeLog in with generic ChangeLog 1995-04-11 01:55:20 +00:00
Kung Hsu 73dab896d4 * valprint.c (print_longest): Fix a syntax error in #ifdef
PRINTF_HAS_LONG_LONG.
1995-04-11 00:04:41 +00:00
Kung Hsu c08c3640c7 * config/mips/xm-irix5.h: turn on CC_has_LONG_LONG and
PRINTF_HAS_LONG_LONG.
	* config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
1995-04-10 23:53:52 +00:00
David H. Webster 8e97d2906b Added "regPacket.h" to "Things to Keep" 1995-04-10 21:18:02 +00:00
David H. Webster 1b186bc331 Added the following files to "Things to Keep":
est.exp
      rom68k.exp
      slite-gdb.exp
1995-04-10 21:16:26 +00:00
David H. Webster 4450511306 Added "remote-vx68.c" and "remote-vx960.c" to "Things to Keep" 1995-04-10 21:10:09 +00:00
David H. Webster 42530986be Removed alpha-regdef.h from "Things to Lose" 1995-04-10 21:01:22 +00:00
David H. Webster 981192e960 Removed the following files from "Things to Keep":
alpha-nw.mt
     gdbserve.mt
     tm-alphanw.h
1995-04-10 20:59:24 +00:00
David H. Webster 87de5f0628 Removed "nlmstub.def" from "Things to Keep" 1995-04-10 20:53:40 +00:00
David H. Webster 50a218c937 Removed the following files from "Things to Keep":
README-ALPHA-NETWARE
      aio.h
      alpha-io.S
      alpha.c
      alpha.h
      altdebug.h
1995-04-10 20:49:18 +00:00
Jim Kingdon 4dc75a28f8 * gdb.base/recurse.exp: Fix comment.
* TODO: Remove item about printing variables in nodebug.exp.  Add
	item about enabling tests which are only run on some targets.

	* gdb.base/watchpoint.exp: Various cleanups (make each test pass or
	fail, make test names unique, use new gdb_test convention
	regarding pattern, use gdb_test more, etc.).
1995-04-09 21:05:37 +00:00
Jim Kingdon 06ce5be9c9 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
fail, make test names unique, etc.).
1995-04-09 17:10:57 +00:00
Peter Schauer 6b61e21dbb * gdb.base/nodebug.c: Change return type of top and middle to
short.
	* gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
	are fixed by the recent mdebugread.c changes. Allow `short ()'
	as type for top and middle.
1995-04-08 10:00:31 +00:00
Peter Schauer 4127057156 * mdebugread.c (parse_symbol): Use new variable
nodebug_var_symbol_type as type of variables which don't have any
	ecoff debug info associated with them.
	(parse_symbol, parse_procedure):  Use heuristics to determine if
	functions were compiled without debugging info and change their
	type to nodebug_function_symbol_type.
	(_initialize_mdebugread):  Initialize nodebug_*_symbol_type.

	* source.c (line_info):  Clear sal.pc for `info line' without
	arguments.
1995-04-08 09:59:02 +00:00
Stu Grossman 0ac704d288 * config/pa/tm-hppa.h: Define lots register offsets needed by
w89k-rom.c.
1995-04-08 01:10:34 +00:00