From: Dmitry Gorbachev <gorbachev@reactos.org>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: [Patch, trivial] Fix PR 11110
Date: Wed, 23 Dec 2009 17:31:00 -0000 [thread overview]
Message-ID: <c62b0ebf0912230931g51d4ce9fmc61a2e481b3b6499@mail.gmail.com> (raw)
This patch fixes a duplicate definition of deprecated_trace_find_hook
and deprecated_trace_start_stop_hook.
2009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR gdb/11110
* tracepoint.h (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Declare extern.
* tracepoint.c (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Define.
--- gdb/tracepoint.c
+++ gdb/tracepoint.c
@@ -69,6 +69,10 @@
large. (400 - 31)/2 == 184 */
#define MAX_AGENT_EXPR_LEN 184
+/* A hook used to notify the UI of tracepoint operations. */
+
+void (*deprecated_trace_find_hook) (char *arg, int from_tty);
+void (*deprecated_trace_start_stop_hook) (int start, int from_tty);
extern void (*deprecated_readline_begin_hook) (char *, ...);
extern char *(*deprecated_readline_hook) (char *);
--- gdb/tracepoint.h
+++ gdb/tracepoint.h
@@ -39,8 +39,8 @@
/* A hook used to notify the UI of tracepoint operations. */
-void (*deprecated_trace_find_hook) (char *arg, int from_tty);
-void (*deprecated_trace_start_stop_hook) (int start, int from_tty);
+extern void (*deprecated_trace_find_hook) (char *arg, int from_tty);
+extern void (*deprecated_trace_start_stop_hook) (int start, int from_tty);
int get_traceframe_number (void);
void free_actions (struct breakpoint *);
next reply other threads:[~2009-12-23 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-23 17:31 Dmitry Gorbachev [this message]
2009-12-23 23:19 ` Tom Tromey
2009-12-24 3:46 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c62b0ebf0912230931g51d4ce9fmc61a2e481b3b6499@mail.gmail.com \
--to=gorbachev@reactos.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox