Remove support for "target m32rsdi" and "target mips/pmon/ddb/rockhopper/lsi"
This removes support for: | target | source | |-------------------+-----------------------| | target m32rsdi | gdb/remote-m32r-sdi.c | | target mips | gdb/remote-mips.c | | target pmon | gdb/remote-mips.c | | target ddb | gdb/remote-mips.c | | target rockhopper | gdb/remote-mips.c | | target lsi | gdb/remote-mips.c | That is: - Remote M32R debugging over SDI. - Debugging boards using the MIPS remote debugging protocol over a serial line, PMON, and a few variants. These are the last non-"target remote" remote targets in the tree, if you don't count "target sim". Refs: https://sourceware.org/ml/gdb/2016-03/msg00004.html https://sourceware.org/ml/gdb-patches/2016-03/msg00580.html gdb/ChangeLog: 2016-03-31 Pedro Alves <palves@redhat.com> * NEWS: Mention that support for "target m32rsdi", "target mips", "target pmon", "target ddb", "target rockhopper", and "target lsi" was removed. * Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and remote-mips.o. (ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c. * configure.tgt: Remove all references to remote-m32r-sdi.o and remote-mips.o. * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete function. * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete declaration. * remote-m32r-sdi.c, remote-mips.c: Delete files. * symfile.c (generic_load, generic_load): Remove comments. gdb/doc/ChangeLog: 2016-03-31 Pedro Alves <palves@redhat.com> * gdb.texinfo (M32R/SDI): Delete node. (MIPS Embedded): Remove references to the MIPS remote debugging protocol, PMON and variants, and the associated commands.
This commit is contained in:
parent
6757cf5769
commit
f7c382926d
@ -1,3 +1,20 @@
|
|||||||
|
2016-03-31 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* NEWS: Mention that support for "target m32rsdi", "target mips",
|
||||||
|
"target pmon", "target ddb", "target rockhopper", and "target lsi"
|
||||||
|
was removed.
|
||||||
|
* Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and
|
||||||
|
remote-mips.o.
|
||||||
|
(ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c.
|
||||||
|
* configure.tgt: Remove all references to remote-m32r-sdi.o and
|
||||||
|
remote-mips.o.
|
||||||
|
* mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete
|
||||||
|
function.
|
||||||
|
* mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete
|
||||||
|
declaration.
|
||||||
|
* remote-m32r-sdi.c, remote-mips.c: Delete files.
|
||||||
|
* symfile.c (generic_load, generic_load): Remove comments.
|
||||||
|
|
||||||
2016-03-30 Yao Qi <yao.qi@linaro.org>
|
2016-03-30 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against
|
* arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against
|
||||||
|
@ -716,7 +716,6 @@ ALL_TARGET_OBS = \
|
|||||||
sol2-tdep.o \
|
sol2-tdep.o \
|
||||||
solib-frv.o solib-svr4.o \
|
solib-frv.o solib-svr4.o \
|
||||||
solib-darwin.o solib-dsbt.o \
|
solib-darwin.o solib-dsbt.o \
|
||||||
remote-m32r-sdi.o remote-mips.o \
|
|
||||||
xcoffread.o \
|
xcoffread.o \
|
||||||
symfile-mem.o \
|
symfile-mem.o \
|
||||||
windows-tdep.o \
|
windows-tdep.o \
|
||||||
@ -1733,7 +1732,6 @@ ALLDEPFILES = \
|
|||||||
ppcobsd-nat.c ppcobsd-tdep.c \
|
ppcobsd-nat.c ppcobsd-tdep.c \
|
||||||
procfs.c \
|
procfs.c \
|
||||||
ravenscar-thread.c \
|
ravenscar-thread.c \
|
||||||
remote-m32r-sdi.c remote-mips.c \
|
|
||||||
remote-sim.c \
|
remote-sim.c \
|
||||||
dcache.c \
|
dcache.c \
|
||||||
rl78-tdep.c \
|
rl78-tdep.c \
|
||||||
|
10
gdb/NEWS
10
gdb/NEWS
@ -41,6 +41,16 @@ maint info line-table REGEXP
|
|||||||
was added in GDBserver, including JIT compiling fast tracepoint's
|
was added in GDBserver, including JIT compiling fast tracepoint's
|
||||||
conditional expression bytecode into native code.
|
conditional expression bytecode into native code.
|
||||||
|
|
||||||
|
* Support for various remote target protocols and ROM monitors has
|
||||||
|
been removed:
|
||||||
|
|
||||||
|
target m32rsdi Remote M32R debugging over SDI
|
||||||
|
target mips MIPS remote debugging protocol
|
||||||
|
target pmon PMON ROM monitor
|
||||||
|
target ddb NEC's DDB variant of PMON for Vr4300
|
||||||
|
target rockhopper NEC RockHopper variant of PMON
|
||||||
|
target lsi LSI variant of PMO
|
||||||
|
|
||||||
*** Changes in GDB 7.11
|
*** Changes in GDB 7.11
|
||||||
|
|
||||||
* GDB now supports debugging kernel-based threads on FreeBSD.
|
* GDB now supports debugging kernel-based threads on FreeBSD.
|
||||||
|
@ -285,7 +285,7 @@ m32c-*-*)
|
|||||||
|
|
||||||
m32r*-*-linux*)
|
m32r*-*-linux*)
|
||||||
# Target: Renesas M32R running GNU/Linux
|
# Target: Renesas M32R running GNU/Linux
|
||||||
gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
|
gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
|
||||||
glibc-tdep.o solib-svr4.o symfile-mem.o \
|
glibc-tdep.o solib-svr4.o symfile-mem.o \
|
||||||
linux-tdep.o"
|
linux-tdep.o"
|
||||||
gdb_sim=../sim/m32r/libsim.a
|
gdb_sim=../sim/m32r/libsim.a
|
||||||
@ -293,7 +293,7 @@ m32r*-*-linux*)
|
|||||||
;;
|
;;
|
||||||
m32r*-*-*)
|
m32r*-*-*)
|
||||||
# Target: Renesas m32r processor
|
# Target: Renesas m32r processor
|
||||||
gdb_target_obs="m32r-tdep.o remote-m32r-sdi.o"
|
gdb_target_obs="m32r-tdep.o"
|
||||||
gdb_sim=../sim/m32r/libsim.a
|
gdb_sim=../sim/m32r/libsim.a
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -364,12 +364,12 @@ mips64*-*-openbsd*)
|
|||||||
;;
|
;;
|
||||||
mips*-sde*-elf*)
|
mips*-sde*-elf*)
|
||||||
# Target: MIPS SDE
|
# Target: MIPS SDE
|
||||||
gdb_target_obs="mips-tdep.o mips-sde-tdep.o remote-mips.o"
|
gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
|
||||||
gdb_sim=../sim/mips/libsim.a
|
gdb_sim=../sim/mips/libsim.a
|
||||||
;;
|
;;
|
||||||
mips*-*-elf)
|
mips*-*-elf)
|
||||||
# Target: MIPS ELF
|
# Target: MIPS ELF
|
||||||
gdb_target_obs="mips-tdep.o remote-mips.o"
|
gdb_target_obs="mips-tdep.o"
|
||||||
gdb_sim=../sim/mips/libsim.a
|
gdb_sim=../sim/mips/libsim.a
|
||||||
;;
|
;;
|
||||||
mips*-*-*)
|
mips*-*-*)
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2016-03-31 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* gdb.texinfo (M32R/SDI): Delete node.
|
||||||
|
(MIPS Embedded): Remove references to the MIPS remote debugging
|
||||||
|
protocol, PMON and variants, and the associated commands.
|
||||||
|
|
||||||
2016-03-15 Doug Evans <dje@google.com>
|
2016-03-15 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* gdb.texinfo (Target Descriptions): New menu item "Enum Target Types".
|
* gdb.texinfo (Target Descriptions): New menu item "Enum Target Types".
|
||||||
|
@ -21852,7 +21852,6 @@ acceptable commands.
|
|||||||
|
|
||||||
@menu
|
@menu
|
||||||
* ARM:: ARM
|
* ARM:: ARM
|
||||||
* M32R/SDI:: Renesas M32R/SDI
|
|
||||||
* M68K:: Motorola M68K
|
* M68K:: Motorola M68K
|
||||||
* MicroBlaze:: Xilinx MicroBlaze
|
* MicroBlaze:: Xilinx MicroBlaze
|
||||||
* MIPS Embedded:: MIPS Embedded
|
* MIPS Embedded:: MIPS Embedded
|
||||||
@ -21959,43 +21958,6 @@ The default value is @code{all}.
|
|||||||
@end table
|
@end table
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node M32R/SDI
|
|
||||||
@subsection Renesas M32R/SDI
|
|
||||||
|
|
||||||
The following commands are available for M32R/SDI:
|
|
||||||
|
|
||||||
@table @code
|
|
||||||
@item sdireset
|
|
||||||
@kindex sdireset
|
|
||||||
@cindex reset SDI connection, M32R
|
|
||||||
This command resets the SDI connection.
|
|
||||||
|
|
||||||
@item sdistatus
|
|
||||||
@kindex sdistatus
|
|
||||||
This command shows the SDI connection status.
|
|
||||||
|
|
||||||
@item debug_chaos
|
|
||||||
@kindex debug_chaos
|
|
||||||
@cindex M32R/Chaos debugging
|
|
||||||
Instructs the remote that M32R/Chaos debugging is to be used.
|
|
||||||
|
|
||||||
@item use_debug_dma
|
|
||||||
@kindex use_debug_dma
|
|
||||||
Instructs the remote to use the DEBUG_DMA method of accessing memory.
|
|
||||||
|
|
||||||
@item use_mon_code
|
|
||||||
@kindex use_mon_code
|
|
||||||
Instructs the remote to use the MON_CODE method of accessing memory.
|
|
||||||
|
|
||||||
@item use_ib_break
|
|
||||||
@kindex use_ib_break
|
|
||||||
Instructs the remote to set breakpoints by IB break.
|
|
||||||
|
|
||||||
@item use_dbt_break
|
|
||||||
@kindex use_dbt_break
|
|
||||||
Instructs the remote to set breakpoints by DBT.
|
|
||||||
@end table
|
|
||||||
|
|
||||||
@node M68K
|
@node M68K
|
||||||
@subsection M68k
|
@subsection M68k
|
||||||
|
|
||||||
@ -22042,59 +22004,8 @@ Show MicroBlaze-specific debugging level.
|
|||||||
@node MIPS Embedded
|
@node MIPS Embedded
|
||||||
@subsection @acronym{MIPS} Embedded
|
@subsection @acronym{MIPS} Embedded
|
||||||
|
|
||||||
@cindex @acronym{MIPS} boards
|
|
||||||
@value{GDBN} can use the @acronym{MIPS} remote debugging protocol to talk to a
|
|
||||||
@acronym{MIPS} board attached to a serial line. This is available when
|
|
||||||
you configure @value{GDBN} with @samp{--target=mips-elf}.
|
|
||||||
|
|
||||||
@need 1000
|
|
||||||
Use these @value{GDBN} commands to specify the connection to your target board:
|
|
||||||
|
|
||||||
@table @code
|
|
||||||
@item target mips @var{port}
|
|
||||||
@kindex target mips @var{port}
|
|
||||||
To run a program on the board, start up @code{@value{GDBP}} with the
|
|
||||||
name of your program as the argument. To connect to the board, use the
|
|
||||||
command @samp{target mips @var{port}}, where @var{port} is the name of
|
|
||||||
the serial port connected to the board. If the program has not already
|
|
||||||
been downloaded to the board, you may use the @code{load} command to
|
|
||||||
download it. You can then use all the usual @value{GDBN} commands.
|
|
||||||
|
|
||||||
For example, this sequence connects to the target board through a serial
|
|
||||||
port, and loads and runs a program called @var{prog} through the
|
|
||||||
debugger:
|
|
||||||
|
|
||||||
@smallexample
|
|
||||||
host$ @value{GDBP} @var{prog}
|
|
||||||
@value{GDBN} is free software and @dots{}
|
|
||||||
(@value{GDBP}) target mips /dev/ttyb
|
|
||||||
(@value{GDBP}) load @var{prog}
|
|
||||||
(@value{GDBP}) run
|
|
||||||
@end smallexample
|
|
||||||
|
|
||||||
@item target mips @var{hostname}:@var{portnumber}
|
|
||||||
On some @value{GDBN} host configurations, you can specify a TCP
|
|
||||||
connection (for instance, to a serial line managed by a terminal
|
|
||||||
concentrator) instead of a serial port, using the syntax
|
|
||||||
@samp{@var{hostname}:@var{portnumber}}.
|
|
||||||
|
|
||||||
@item target pmon @var{port}
|
|
||||||
@kindex target pmon @var{port}
|
|
||||||
PMON ROM monitor.
|
|
||||||
|
|
||||||
@item target ddb @var{port}
|
|
||||||
@kindex target ddb @var{port}
|
|
||||||
NEC's DDB variant of PMON for Vr4300.
|
|
||||||
|
|
||||||
@item target lsi @var{port}
|
|
||||||
@kindex target lsi @var{port}
|
|
||||||
LSI variant of PMON.
|
|
||||||
|
|
||||||
@end table
|
|
||||||
|
|
||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
@value{GDBN} also supports these special commands for @acronym{MIPS} targets:
|
@value{GDBN} supports these special commands for @acronym{MIPS} targets:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item set mipsfpu double
|
@item set mipsfpu double
|
||||||
@ -22124,78 +22035,6 @@ and @samp{set mipsfpu off} will select no floating point.
|
|||||||
|
|
||||||
As usual, you can inquire about the @code{mipsfpu} variable with
|
As usual, you can inquire about the @code{mipsfpu} variable with
|
||||||
@samp{show mipsfpu}.
|
@samp{show mipsfpu}.
|
||||||
|
|
||||||
@item set timeout @var{seconds}
|
|
||||||
@itemx set retransmit-timeout @var{seconds}
|
|
||||||
@itemx show timeout
|
|
||||||
@itemx show retransmit-timeout
|
|
||||||
@cindex @code{timeout}, @acronym{MIPS} protocol
|
|
||||||
@cindex @code{retransmit-timeout}, @acronym{MIPS} protocol
|
|
||||||
@kindex set timeout
|
|
||||||
@kindex show timeout
|
|
||||||
@kindex set retransmit-timeout
|
|
||||||
@kindex show retransmit-timeout
|
|
||||||
You can control the timeout used while waiting for a packet, in the @acronym{MIPS}
|
|
||||||
remote protocol, with the @code{set timeout @var{seconds}} command. The
|
|
||||||
default is 5 seconds. Similarly, you can control the timeout used while
|
|
||||||
waiting for an acknowledgment of a packet with the @code{set
|
|
||||||
retransmit-timeout @var{seconds}} command. The default is 3 seconds.
|
|
||||||
You can inspect both values with @code{show timeout} and @code{show
|
|
||||||
retransmit-timeout}. (These commands are @emph{only} available when
|
|
||||||
@value{GDBN} is configured for @samp{--target=mips-elf}.)
|
|
||||||
|
|
||||||
The timeout set by @code{set timeout} does not apply when @value{GDBN}
|
|
||||||
is waiting for your program to stop. In that case, @value{GDBN} waits
|
|
||||||
forever because it has no way of knowing how long the program is going
|
|
||||||
to run before stopping.
|
|
||||||
|
|
||||||
@item set syn-garbage-limit @var{num}
|
|
||||||
@kindex set syn-garbage-limit@r{, @acronym{MIPS} remote}
|
|
||||||
@cindex synchronize with remote @acronym{MIPS} target
|
|
||||||
Limit the maximum number of characters @value{GDBN} should ignore when
|
|
||||||
it tries to synchronize with the remote target. The default is 10
|
|
||||||
characters. Setting the limit to -1 means there's no limit.
|
|
||||||
|
|
||||||
@item show syn-garbage-limit
|
|
||||||
@kindex show syn-garbage-limit@r{, @acronym{MIPS} remote}
|
|
||||||
Show the current limit on the number of characters to ignore when
|
|
||||||
trying to synchronize with the remote system.
|
|
||||||
|
|
||||||
@item set monitor-prompt @var{prompt}
|
|
||||||
@kindex set monitor-prompt@r{, @acronym{MIPS} remote}
|
|
||||||
@cindex remote monitor prompt
|
|
||||||
Tell @value{GDBN} to expect the specified @var{prompt} string from the
|
|
||||||
remote monitor. The default depends on the target:
|
|
||||||
@table @asis
|
|
||||||
@item pmon target
|
|
||||||
@samp{PMON}
|
|
||||||
@item ddb target
|
|
||||||
@samp{NEC010}
|
|
||||||
@item lsi target
|
|
||||||
@samp{PMON>}
|
|
||||||
@end table
|
|
||||||
|
|
||||||
@item show monitor-prompt
|
|
||||||
@kindex show monitor-prompt@r{, @acronym{MIPS} remote}
|
|
||||||
Show the current strings @value{GDBN} expects as the prompt from the
|
|
||||||
remote monitor.
|
|
||||||
|
|
||||||
@item set monitor-warnings
|
|
||||||
@kindex set monitor-warnings@r{, @acronym{MIPS} remote}
|
|
||||||
Enable or disable monitor warnings about hardware breakpoints. This
|
|
||||||
has effect only for the @code{lsi} target. When on, @value{GDBN} will
|
|
||||||
display warning messages whose codes are returned by the @code{lsi}
|
|
||||||
PMON monitor for breakpoint commands.
|
|
||||||
|
|
||||||
@item show monitor-warnings
|
|
||||||
@kindex show monitor-warnings@r{, @acronym{MIPS} remote}
|
|
||||||
Show the current setting of printing monitor warnings.
|
|
||||||
|
|
||||||
@item pmon @var{command}
|
|
||||||
@kindex pmon@r{, @acronym{MIPS} remote}
|
|
||||||
@cindex send PMON command
|
|
||||||
This command allows sending an arbitrary @var{command} string to the
|
|
||||||
monitor. The monitor must be in debug mode for this to work.
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node PowerPC Embedded
|
@node PowerPC Embedded
|
||||||
|
@ -6981,25 +6981,6 @@ set_mipsfpu_auto_command (char *args, int from_tty)
|
|||||||
mips_fpu_type_auto = 1;
|
mips_fpu_type_auto = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Attempt to identify the particular processor model by reading the
|
|
||||||
processor id. NOTE: cagney/2003-11-15: Firstly it isn't clear that
|
|
||||||
the relevant processor still exists (it dates back to '94) and
|
|
||||||
secondly this is not the way to do this. The processor type should
|
|
||||||
be set by forcing an architecture change. */
|
|
||||||
|
|
||||||
void
|
|
||||||
deprecated_mips_set_processor_regs_hack (void)
|
|
||||||
{
|
|
||||||
struct regcache *regcache = get_current_regcache ();
|
|
||||||
struct gdbarch *gdbarch = get_regcache_arch (regcache);
|
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
|
||||||
ULONGEST prid;
|
|
||||||
|
|
||||||
regcache_cooked_read_unsigned (regcache, MIPS_PRID_REGNUM, &prid);
|
|
||||||
if ((prid & ~0xf) == 0x700)
|
|
||||||
tdep->mips_processor_reg_names = mips_r3041_reg_names;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Just like reinit_frame_cache, but with the right arguments to be
|
/* Just like reinit_frame_cache, but with the right arguments to be
|
||||||
callable as an sfunc. */
|
callable as an sfunc. */
|
||||||
|
|
||||||
|
@ -144,9 +144,6 @@ enum
|
|||||||
MIPS_LAST_EMBED_REGNUM = 89 /* Last one. */
|
MIPS_LAST_EMBED_REGNUM = 89 /* Last one. */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Defined in mips-tdep.c and used in remote-mips.c. */
|
|
||||||
extern void deprecated_mips_set_processor_regs_hack (void);
|
|
||||||
|
|
||||||
/* Instruction sizes and other useful constants. */
|
/* Instruction sizes and other useful constants. */
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
File diff suppressed because it is too large
Load Diff
3771
gdb/remote-mips.c
3771
gdb/remote-mips.c
File diff suppressed because it is too large
Load Diff
@ -2142,8 +2142,6 @@ generic_load (const char *args, int from_tty)
|
|||||||
ui_out_text (uiout, ", load size ");
|
ui_out_text (uiout, ", load size ");
|
||||||
ui_out_field_fmt (uiout, "load-size", "%lu", total_progress.data_count);
|
ui_out_field_fmt (uiout, "load-size", "%lu", total_progress.data_count);
|
||||||
ui_out_text (uiout, "\n");
|
ui_out_text (uiout, "\n");
|
||||||
/* We were doing this in remote-mips.c, I suspect it is right
|
|
||||||
for other targets too. */
|
|
||||||
regcache_write_pc (get_current_regcache (), entry);
|
regcache_write_pc (get_current_regcache (), entry);
|
||||||
|
|
||||||
/* Reset breakpoints, now that we have changed the load image. For
|
/* Reset breakpoints, now that we have changed the load image. For
|
||||||
@ -2156,12 +2154,6 @@ generic_load (const char *args, int from_tty)
|
|||||||
|
|
||||||
breakpoint_re_set ();
|
breakpoint_re_set ();
|
||||||
|
|
||||||
/* FIXME: are we supposed to call symbol_file_add or not? According
|
|
||||||
to a comment from remote-mips.c (where a call to symbol_file_add
|
|
||||||
was commented out), making the call confuses GDB if more than one
|
|
||||||
file is loaded in. Some targets do (e.g., remote-vx.c) but
|
|
||||||
others don't (or didn't - perhaps they have all been deleted). */
|
|
||||||
|
|
||||||
print_transfer_performance (gdb_stdout, total_progress.data_count,
|
print_transfer_performance (gdb_stdout, total_progress.data_count,
|
||||||
total_progress.write_count,
|
total_progress.write_count,
|
||||||
&start_time, &end_time);
|
&start_time, &end_time);
|
||||||
|
Loading…
Reference in New Issue
Block a user