From 70a3fa137efe781d7b45fa39f5784e825eb2eb0f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 16 Sep 2011 18:33:34 -0400 Subject: Add some debugging. --- libgps_core.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libgps_core.c') diff --git a/libgps_core.c b/libgps_core.c index eefaf783..6ea9f976 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -118,7 +118,7 @@ int gps_read(struct gps_data_t *gpsdata) { int status = -1; - libgps_debug_trace((DEBUG_CALLS, "gps_read()\n")); + libgps_debug_trace((DEBUG_CALLS, "gps_read() begins\n")); /*@ -usedef -compdef -uniondef @*/ #ifdef SHM_EXPORT_ENABLE @@ -134,6 +134,9 @@ int gps_read(struct gps_data_t *gpsdata) #endif /* SOCKET_EXPORT_ENABLE */ /*@ +usedef +compdef +uniondef @*/ + libgps_debug_trace((DEBUG_CALLS, "gps_read() -> %d (%s)\n", + status, gps_maskdump(gpsdata->set))); + return status; } -- cgit v1.2.1