Commit Graph

5252 Commits

Author SHA1 Message Date
Michael Meissner c7b44b0425 Add little endian PowerPC support. 1995-05-09 21:07:06 +00:00
J.T. Conklin 7e1bfb70aa * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
These variables not used.
1995-05-08 20:16:37 +00:00
J.T. Conklin 5e3f4eac6b * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o. 1995-05-08 19:18:31 +00:00
Jim Kingdon 3f78217814 * stabs.texinfo: Remove node `XCOFF differences'. Describe value of
C_FUN stab.  Other cleanups.
1995-05-08 16:40:50 +00:00
Stan Shebs 774e5d7f64 * monitor.c (monitor_command): Don't use PROMPT until monitor
target is known to be open.
	(monitor_make_srec): Don't define size of hextab.
1995-05-04 01:00:29 +00:00
Stan Shebs a55c3291d5 Keep remote-nrom.c 1995-05-03 01:44:08 +00:00
Stan Shebs 33bc979d17 * 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
1995-05-03 01:43:27 +00:00
Stu Grossman e2bc2606ae * 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.
1995-04-29 06:34:44 +00:00
David Edelsohn ad0c0b7ffd * Makefile.in (RUNTEST): Fix reference of `srcdir'. 1995-04-28 03:32:06 +00:00
Steve Chamberlain 5d747d616f Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
* remote-hms.c: Rewrite to use new monitor conventions.
1995-04-27 02:07:44 +00:00
Jim Kingdon 7da20c1133 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
each test pass or fail.
1995-04-26 14:39:10 +00:00
Jim Kingdon 0f60fbb84e Add comment regarding stringtab_global and psymtabs. 1995-04-25 22:58:03 +00:00
Jim Kingdon ab52cc44ba * dbxread.c: Add comment explaining lowest_text_address. 1995-04-25 18:31:31 +00:00
Jason Merrill c55c62ed58 Linux configuration name fixes 1995-04-25 01:07:46 +00:00
Jim Kingdon b074fd2f93 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
xlc not gcc.
1995-04-24 04:37:45 +00:00
Jeff Law 87e33b8480 * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix. 1995-04-22 07:51:21 +00:00
Jeff Law 4a8b575e62 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.
1995-04-22 07:42:36 +00:00
Jeff Law 61fe99b477 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.
1995-04-22 07:30:32 +00:00
Stu Grossman 1e2bb16402 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp. 1995-04-21 22:45:59 +00:00
Kung Hsu cdd2212f75 * 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.
1995-04-21 20:02:50 +00:00
Stan Shebs 66d05e03ad * sh-tdep.c (sh-opc.h): Don't include.
(gdbcore.h): Include.
	(frame_find_saved_regs): Remove unused local.
1995-04-21 19:09:01 +00:00
Jim Kingdon 989d9cbac8 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
	up comments.
1995-04-21 13:19:22 +00:00
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