Skip to content

Commit

Permalink
Change signature of gdbtk_readline to match change in gdb
Browse files Browse the repository at this point in the history
deprecated_readline_hook's signature has changed in commit xyz in gdb, this
patch makes the corresponding change in gdbtk.
  • Loading branch information
simark committed Dec 7, 2014
1 parent f6b5350 commit 47810ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdbtk/generic/gdbtk-hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static ptid_t gdbtk_wait (ptid_t, struct target_waitstatus *, int);
int x_event (int);
static int gdbtk_query (const char *, va_list);
static void gdbtk_warning (const char *, va_list);
static char *gdbtk_readline (char *);
static char *gdbtk_readline (const char *);
static void gdbtk_readline_begin (char *format,...);
static void gdbtk_readline_end (void);
static void gdbtk_pre_add_symbol (const char *);
Expand Down Expand Up @@ -493,7 +493,7 @@ gdbtk_readline_begin (char *format,...)
}

static char *
gdbtk_readline (char *prompt)
gdbtk_readline (const char *prompt)
{
int result;

Expand Down

0 comments on commit 47810ab

Please sign in to comment.