mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
gdb/testsuite/
Fix fuzzy results. * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple, lpsimple and func.
This commit is contained in:
parent
a9b3a50fba
commit
30b91c9079
@ -1,3 +1,9 @@
|
||||
2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix fuzzy results.
|
||||
* gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
|
||||
lpsimple and func.
|
||||
|
||||
2012-01-24 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
Delete #if 0'd out code.
|
||||
|
@ -140,9 +140,9 @@ do_locals_tests ()
|
||||
float *lpfloat = 0;
|
||||
double ldouble = 0;
|
||||
double *lpdouble = 0;
|
||||
struct _simple_struct lsimple;
|
||||
struct _simple_struct *lpsimple;
|
||||
void (*func) (void);
|
||||
struct _simple_struct lsimple = { 0 };
|
||||
struct _simple_struct *lpsimple = 0;
|
||||
void (*func) (void) = 0;
|
||||
|
||||
/* Simple assignments */
|
||||
linteger = 1234;
|
||||
|
Loading…
Reference in New Issue
Block a user