public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove unused declaration
@ 2022-01-26 21:34 Tom Tromey
0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2022-01-26 21:34 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=51d185a65f3679f887d456e20d22475ac8586938
commit 51d185a65f3679f887d456e20d22475ac8586938
Author: Tom Tromey <tromey@adacore.com>
Date: Wed Jan 26 14:26:44 2022 -0700
Remove unused declaration
This removes an unused declaration from top.h. This type is not
defined anywhere.
Diff:
---
gdb/top.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/gdb/top.h b/gdb/top.h
index 25361d0effa..b26209e8c8d 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -25,8 +25,6 @@
#include "gdbsupport/next-iterator.h"
#include "value.h"
-struct tl_interp_info;
-
/* Prompt state. */
enum prompt_state
^ permalink raw reply [flat|nested] 3+ messages in thread
* [binutils-gdb] Remove unused declaration
@ 2023-11-03 19:29 Tom Tromey
0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2023-11-03 19:29 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8489362f002d1a844e1a0713438922cdafae7b7c
commit 8489362f002d1a844e1a0713438922cdafae7b7c
Author: Tom Tromey <tromey@adacore.com>
Date: Fri Nov 3 13:24:08 2023 -0600
Remove unused declaration
I found a declaration in py-stopevent.h for which there is no
definition. This patch removes it.
Diff:
---
gdb/python/py-stopevent.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/gdb/python/py-stopevent.h b/gdb/python/py-stopevent.h
index 023459ff200..649112f0488 100644
--- a/gdb/python/py-stopevent.h
+++ b/gdb/python/py-stopevent.h
@@ -23,7 +23,6 @@
#include "py-event.h"
extern gdbpy_ref<> create_stop_event_object (PyTypeObject *py_type);
-extern void stop_evpy_dealloc (PyObject *self);
extern int emit_stop_event (struct bpstat *bs,
enum gdb_signal stop_signal);
^ permalink raw reply [flat|nested] 3+ messages in thread
* [binutils-gdb] Remove unused declaration
@ 2017-09-30 3:13 Tom Tromey
0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2017-09-30 3:13 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6afe2f4a39badf0ea1ccf9fd34417e729577c6e6
commit 6afe2f4a39badf0ea1ccf9fd34417e729577c6e6
Author: Tom Tromey <tom@tromey.com>
Date: Wed May 3 17:40:10 2017 -0600
Remove unused declaration
There was a leftover cleanup declaration in mi_parse. Remove it.
gdb/ChangeLog
2017-09-29 Tom Tromey <tom@tromey.com>
* mi/mi-parse.c (mi_parse): Remove unused declaration.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/mi/mi-parse.c | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 004e0b0..cefba27 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-29 Tom Tromey <tom@tromey.com>
+ * mi/mi-parse.c (mi_parse): Remove unused declaration.
+
+2017-09-29 Tom Tromey <tom@tromey.com>
+
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Don't copy "oarg".
2017-09-29 Tom Tromey <tom@tromey.com>
diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c
index cf05fa0..9c1b033 100644
--- a/gdb/mi/mi-parse.c
+++ b/gdb/mi/mi-parse.c
@@ -237,7 +237,6 @@ std::unique_ptr<struct mi_parse>
mi_parse (const char *cmd, char **token)
{
const char *chp;
- struct cleanup *cleanup;
std::unique_ptr<struct mi_parse> parse (new struct mi_parse);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-03 19:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 21:34 [binutils-gdb] Remove unused declaration Tom Tromey
-- strict thread matches above, loose matches on Subject: below --
2023-11-03 19:29 Tom Tromey
2017-09-30 3:13 Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).