[Mono-list] State of the command-line debugger on Mac OS X?

Timothy J. Wood tjw at omnigroup.com
Thu Dec 1 16:16:52 EST 2005


   The NEWS and README.build files in the debugger module in svn  
haven't been updated in a long time, but I see from the logs that  
lots of changes are being made (including amd64 support).

   I just recently build mono from svn and I'm trying to build the  
command line debugger.  I'm not having any luck so far, but I'd sort  
of expect it to work since there is a 'backends/server/powerpc- 
darwin.c' file.

   Any pointers on why this might be failing would be very helpful;  
thanks!

   (HOST_TEXT_START_ADDR doesn't seem to be defined _anywhere_ in the  
source for any platforms, so I sort of assume that this file  
shouldn't be getting built at all)

-tim


gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -I. -I. -I./include  
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -Wunused - 
Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes - 
Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno- 
cast-qual -Wcast-align -Wwrite-strings -MT trad-core.lo -MD -MP - 
MF .deps/trad-core.Tpo -c trad-core.c  -fno-common -DPIC -o .libs/ 
trad-core.o
trad-core.c: In function 'trad_unix_core_file_p':
trad-core.c:100: error: 'struct user' has no member named 'u_dsize'
trad-core.c:105: error: 'struct user' has no member named 'u_ssize'
trad-core.c:122: error: 'struct user' has no member named 'u_dsize'
trad-core.c:126: error: 'struct user' has no member named 'u_ssize'
trad-core.c:133: error: 'struct user' has no member named 'u_dsize'
trad-core.c:133: error: 'struct user' has no member named 'u_ssize'
trad-core.c:178: error: 'struct user' has no member named 'u_dsize'
trad-core.c:183: error: 'struct user' has no member named 'u_ssize'
trad-core.c:191: error: 'HOST_TEXT_START_ADDR' undeclared (first use  
in this function)
trad-core.c:191: error: (Each undeclared identifier is reported only  
once
trad-core.c:191: error: for each function it appears in.)
trad-core.c:191: error: 'struct user' has no member named 'u_tsize'
trad-core.c:197: error: 'HOST_STACK_END_ADDR' undeclared (first use  
in this function)
trad-core.c:197: error: 'struct user' has no member named 'u_ssize'
trad-core.c:214: error: 'struct user' has no member named 'u_ar0'
trad-core.c:217: error: 'struct user' has no member named 'u_dsize'
trad-core.c: In function 'trad_unix_core_file_failing_command':
trad-core.c:243: error: 'struct user' has no member named 'u_comm'
trad-core.c: At top level:
trad-core.c:285: warning: initialization discards qualifiers from  
pointer target type
make[4]: *** [trad-core.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



More information about the Mono-list mailing list