mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* gdb.base/charset.c (main): Make sure malloc gets linked in.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||||
|
|
||||||
|
* gdb.base/charset.c (main): Make sure malloc gets linked in.
|
||||||
|
|
||||||
2010-06-11 Tom Tromey <tromey@redhat.com>
|
2010-06-11 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
PR gdb/9977, PR exp/11636::
|
PR gdb/9977, PR exp/11636::
|
||||||
|
@ -120,6 +120,11 @@ int main ()
|
|||||||
set_debug_traps();
|
set_debug_traps();
|
||||||
breakpoint();
|
breakpoint();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* charset.exp wants to allocate memory for constants. So make sure malloc
|
||||||
|
gets linked into the program. */
|
||||||
|
malloc (1);
|
||||||
|
|
||||||
/* Initialize ascii_string. */
|
/* Initialize ascii_string. */
|
||||||
init_string (ascii_string,
|
init_string (ascii_string,
|
||||||
120,
|
120,
|
||||||
|
Reference in New Issue
Block a user