xxgdb problem Slackware 3.0.0 . Help.

xxgdb problem Slackware 3.0.0 . Help.

Post by Liang-Shing » Sat, 16 Dec 1995 04:00:00



Hi there,

xxgdb from Slackware 3.0.0 would not run properly. Symptoms:

1. characters in message windows are repeated. e.g. xxxxggddbb hhaass
aabbssoolluutteellyy nnoo ......

2. executables under debug could not be loaded.

Any suggestions? Shall I reinstall gdb and xxgdb from an older Slackware
version? If I do, any changes needed on the ELF/a.out lib files?

Thanks.

L S Ng

 
 
 

xxgdb problem Slackware 3.0.0 . Help.

Post by H.E. Butterwor » Sun, 17 Dec 1995 04:00:00


GGeett tthhee llaatteesstt vveerrssiioonn ffrroomm ffttpp..xx..oorrgg uunnlleess
yyoouu ssttaarrtt ttoo eenjjooyy rreeaaddiinngg tthhiiss ssttuuff. HHBB

 
 
 

xxgdb problem Slackware 3.0.0 . Help.

Post by Tom Harwo » Sun, 17 Dec 1995 04:00:00



>1. characters in message windows are repeated. e.g. xxxxggddbb hhaass
>aabbssoolluutteellyy nnoo ......

Chef meets xxgdb!

Quote:>Any suggestions? Shall I reinstall gdb and xxgdb from an older Slackware
>version? If I do, any changes needed on the ELF/a.out lib files?

I tried installing source from tsx11.  No joy.  What did help was
installing an app. defaults file that gives me the old interface (one big
window, as opposed to the new interface that has multiple windows).  I
got there sometime along the route "make clean install" as I recall.

One passing tip:  if xxgdb says "can't open ttyp4" (for example), ensure
you don't have a login session going on that virtual console.

- Tom

 
 
 

xxgdb problem Slackware 3.0.0 . Help.

Post by Liang-Shing » Tue, 19 Dec 1995 04:00:00


I finally tried to install xxgdb from Slackware 2.3.0. It is fine now.
No changes to gdb or other lib files required.

LSN

 
 
 

xxgdb problem Slackware 3.0.0 . Help.

Post by Liang-Shing » Tue, 19 Dec 1995 04:00:00


Later I found that it is /lib/libc.so.4.7.2 that was causing the
problem, which I then replaced it with /lib/libc.so.4.6.27. xxgdb now is
OK with libc.so.4.6.27. Why? Strange.....

LSN

 
 
 

1. perms on xxgdb and loading SO's in xxgdb

I installed RH 5.1 (kernel 2.0.34) about two months ago.
I have a few questions about some odd things:

1) Before I could use xxgdb, I had to set UID on the file.
   It is owned by root, and, even though it's perms were 555,
   it refused to run.  Why did I have to change the perms?
   Did I do wrong, or did someone somewhere just overlook something?

2) I have several 'generic' SO's that I've developed myself.  I have
   them in my only 'lib' directory (based within my home dir) and I
   have altered by LD_LIBRARY_PATH to include my lib dir.  All is
   well and fine when I run an application that uses my SO's.  But
   when I'm debugging an application that uses one of my SO's, the
   [xx]gdb complains that it cannot find the SO.  Therefore, it
   refuses to run/debug the application.  The exect error I get is
   as follows:

/usr/home/bill/develop/proj/wtf/util/pl/plMON/plMON: error in loading
shared libraries
libwtfobj.so.1: cannot open shared object file: No such file or
directory

   My 'plMON' application relies on the following SO's:

     libwtfobj.so.1 => /usr/home/bill/lib/libwtfobj.so.1 (0x40000000)
     libwtftool.so.1 => /usr/home/bill/lib/libwtftool.so.1 (0x40035000)
     libwtftxts.so.1 => /usr/home/bill/lib/libwtftxts.so.1 (0x40044000)
     libpthread.so.0 => /lib/libpthread.so.0 (0x4004b000)
     libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x4005a000)
     libm.so.6 => /lib/libm.so.6 (0x4009f000)
     libc.so.6 => /lib/libc.so.6 (0x400b8000)
     /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

   Mind you, the application runs perfectly fine; all the versioning
info
   and whatnot associated with the SO's is correct.
   Am I just missing some command line switch or some var/attrib I can
set
   within my [xx]gdb session to help it locate my SO's?

Thanks!

2. ild error

3. DCE for Linux

4. SUMMARY: xxgdb broken in Slackware

5. How do I Change my Run Level?

6. xxgdb 1.08 in Slackware 3.0

7. Unix user account setup shell script (ksh) guidelines please!!

8. Slackware xxgdb broken?

9. Old xxgdb/kernel problem -- Help !

10. HELP: xxgdb display problem

11. xxgdb problems - help desired

12. HELP! Need help compiling xxgdb 1.06