mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
the "auxv" protocol packet to gdbsrv. (Philippe Waroquiers, philippe.waroquiers@skynet.be). Bug 214909 comment 108. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11836
15 lines
298 B
C
15 lines
298 B
C
#include <stdio.h>
|
|
|
|
static void another_func(char *msg)
|
|
{
|
|
printf ("another func called msg %s\n", msg);
|
|
}
|
|
|
|
int main (int argc, char *argv[])
|
|
{
|
|
printf("address of main %p\n", &main);
|
|
printf("address of another_func %p\n", &another_func);
|
|
another_func("called from main");
|
|
return 0;
|
|
}
|