mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (_initialize_check_for_gdb_ini): Add typecast to sprintf argument to suppress a warning.
This commit is contained in:
parent
7393af7c90
commit
58fa08f090
@ -1,6 +1,11 @@
|
||||
2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* win32-nat.c (_initialize_check_for_gdb_ini):
|
||||
Add typecast to sprintf argument to suppress a warning.
|
||||
|
||||
2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
win32-nat.c (last_sig): Changed type of variable to target_signal,
|
||||
* win32-nat.c (last_sig): Changed type of variable to target_signal,
|
||||
to allow easier handling of pass state.
|
||||
(DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
|
||||
that gives exception name and address.
|
||||
|
@ -2009,7 +2009,8 @@ _initialize_check_for_gdb_ini (void)
|
||||
{
|
||||
int len = strlen (oldini);
|
||||
char *newini = alloca (len + 1);
|
||||
sprintf (newini, "%.*s.gdbinit", len - (sizeof ("gdb.ini") - 1), oldini);
|
||||
sprintf (newini, "%.*s.gdbinit",
|
||||
(int) (len - (sizeof ("gdb.ini") - 1)), oldini);
|
||||
warning ("obsolete '%s' found. Rename to '%s'.", oldini, newini);
|
||||
}
|
||||
}
|
||||
|
@ -2009,7 +2009,8 @@ _initialize_check_for_gdb_ini (void)
|
||||
{
|
||||
int len = strlen (oldini);
|
||||
char *newini = alloca (len + 1);
|
||||
sprintf (newini, "%.*s.gdbinit", len - (sizeof ("gdb.ini") - 1), oldini);
|
||||
sprintf (newini, "%.*s.gdbinit",
|
||||
(int) (len - (sizeof ("gdb.ini") - 1)), oldini);
|
||||
warning ("obsolete '%s' found. Rename to '%s'.", oldini, newini);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user