2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine macros.
This commit is contained in:
parent
6607646043
commit
d3e1fc54d4
|
@ -1,3 +1,8 @@
|
|||
2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
|
||||
macros.
|
||||
|
||||
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
|
||||
|
|
|
@ -22,6 +22,15 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* According to C99 <stdint.h> has to provide these identifiers as
|
||||
types, but is also free to define macros shadowing the typedefs.
|
||||
This is the case with some C library implementations. Undefine
|
||||
them to make sure the types are used and included in debug output. */
|
||||
#undef int8_t
|
||||
#undef int16_t
|
||||
#undef int32_t
|
||||
#undef int64_t
|
||||
|
||||
#define CHUNK_SIZE 16000 /* same as findcmd.c's */
|
||||
#define BUF_SIZE (2 * CHUNK_SIZE) /* at least two chunks */
|
||||
|
||||
|
|
Loading…
Reference in New Issue