aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-01-11 11:52:33 -0700
committerTom Tromey <tromey@adacore.com>2022-01-12 07:43:57 -0700
commitae9adb365189f0f8c04aa5d7348c8e8a73a65f61 (patch)
treefb0b974df81fd7d3715a8da66b4e8ad892213cbd /gdb/remote.c
parent72aa81732b3aff00e5bf1f69bb794513b3b37464 (diff)
downloadgdb-ae9adb365189f0f8c04aa5d7348c8e8a73a65f61.zip
gdb-ae9adb365189f0f8c04aa5d7348c8e8a73a65f61.tar.gz
gdb-ae9adb365189f0f8c04aa5d7348c8e8a73a65f61.tar.bz2
Don't mention "serial" in target remote description
PR remote/9177 points out that "info files" mentions "serial" a couple of times: Remote serial target in gdb-specific protocol: Debugging a target over a serial line. However, often the remote target isn't really a serial connection. It seems to me that this text could be a bit clearer; and furthermore since "info files" prints the target's long description, remote_target::files_info doesn't really add much and can simply be removed. Regression tested on x86-64 Fedora 34. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=9177
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 290edd0..b126532 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -391,7 +391,7 @@ private:
static const target_info remote_target_info = {
"remote",
- N_("Remote serial target in gdb-specific protocol"),
+ N_("Remote target using gdb-specific protocol"),
remote_doc
};
@@ -426,8 +426,6 @@ public:
void store_registers (struct regcache *, int) override;
void prepare_to_store (struct regcache *) override;
- void files_info () override;
-
int insert_breakpoint (struct gdbarch *, struct bp_target_info *) override;
int remove_breakpoint (struct gdbarch *, struct bp_target_info *,
@@ -959,7 +957,7 @@ private:
static const target_info extended_remote_target_info = {
"extended-remote",
- N_("Extended remote serial target in gdb-specific protocol"),
+ N_("Extended remote target using gdb-specific protocol"),
remote_doc
};
@@ -9420,11 +9418,6 @@ remote_target::flash_done ()
}
}
-void
-remote_target::files_info ()
-{
- puts_filtered ("Debugging a target over a serial line.\n");
-}
/* Stuff for dealing with the packets which are part of this protocol.
See comment at top of file for details. */