I had an experience similar to Emil's on my Apple G3 Powerbook. When I
compiled gtimer on my box, with or without debugging symbols, the program
worked. 
I'm not very familiar with gdb (though I want to be). If I compile from
source with debugging symbols, and then run the binary installed in etch
with apt-get (which crashes), and then run that core against my own
compiled binary, is that what is needed? What I don't understand is whether
or not a binary compiled at some other time, that dumps core, can then be
examined with gdb using a binary compiled later.

Let me know if there's anything more I can do to help.

Thanks,
Barry Smith

Package: gtimer
Version: 1.1.6-11
Depends: libc6 (>= 2.3.5-1), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), 
libx11-6, libxext6, libxi6, libxss1
Debian Release: 4.0 "Etch"
Kernel: Linux dozer 2.6.15.4.070106 #1 Sat Jan 6 11:41:48 EST 2007 ppc GNU/Linux
Libc6: libc6 2.3.6.ds1-8
Architecture: powerpc (ppc)
Shell: /bin/bash

Here's my output from gdb:
[EMAIL PROTECTED] ~/desktopdfm/gtimer$ gdb 
gtimer-1.1.6.orig/gtimer-1.1.6/test/bin/gtimer core
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

Core was generated by `gtimer'.
Program terminated with signal 6, Aborted.
#0  0x0f9d2f6c in ?? ()
(gdb) backtrace
#0  0x0f9d2f6c in ?? ()
#1  0x0f9d4a0c in ?? ()
#2  0x0f9d4b60 in ?? ()
#3  0x0fa0d7d4 in ?? ()
#4  0x0fa15e60 in ?? ()
#5  0x0fa15f98 in ?? ()
#6  0x1000e758 in configReadAttributes (path=0x6 <Address 0x6 out of bounds>)
    at config.c:108
#7  0x1000e7e8 in configReadAttributes (
    path=0x10020000 "iiigllllllwyyyyyyyllllyyyyyyllwyyyllwyywlyywwyyww", 'y' 
<repeats 82 times>, "xllllllgiiigBkutsrqgponmffjhdb#") at config.c:122
#8  0x1000c518 in timeout_handler (data=<value optimized out>) at main.c:2515
#9  0x1000d64c in main (argc=1, argv=0x10040000) at main.c:2958
(gdb) list 2958
2953          if ( ! argv[loop+1] ) {
2954            fprintf ( stderr, "%s: -midnight %s.\n",
2955              gettext("Error"), gettext("requires an argument") );
2956            exit ( 1 );
2957          }
2958          for ( ptr = argv[++loop]; *ptr != '\0'; ptr++ ) {
2959            if ( ! isdigit ( *ptr ) && *ptr != '-' ) {
2960              fprintf ( stderr, "%s: -midnight %s (%s %s)\n",
2961                gettext("Error"), gettext("requires a number"),
2962                gettext("not"), argv[loop] );
(gdb)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to