diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-16 18:33:34 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-16 18:33:34 -0400 |
commit | 70a3fa137efe781d7b45fa39f5784e825eb2eb0f (patch) | |
tree | f7e73a71c6b2ae996dc0b26f3d815b82884e3088 /libgps_core.c | |
parent | b61cf93880d452a76caabad2112dda8ab441f456 (diff) | |
download | gpsd-70a3fa137efe781d7b45fa39f5784e825eb2eb0f.tar.gz |
Add some debugging.
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |