dbx 7.5

Hi All,

I have two questions related to dbx debugger.

I am using Sun Dbx Debugger 7.5. My program X is very large and involves lots of source files, the X is an executable with debugging information (build using g++ 2.95.3 with -gdwarf-2 option) on Solaris 2.8. X's size is more than 1GB. I got thousands of warning messages "dbx: warning: Too many #included source files near LocalInitialize -- limit is 1023" after start dbx to debug the X by using following command %dbx X. Do you know what these warning messages really mean? I have googled it but could get nothing.

Also I understand the executable is very large so I shall expect the dbx running very slow, but is there any way we can make it faster?

Thanks much,

Jim.

[764 byte] By [attempter] at [2007-11-26 10:32:23]
# 1
"Too many #included source files ... " is dbx limitation on the number of #included files. You can file an RFE (Request For Enhancement) through bugs.sun.com regarding this issue, I think this limit can be increased.
MaximKartashev at 2007-7-7 2:40:12 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

After dbx comes up, you can use the dbx command "dbxdebug linetab LocalInitialize"

to dump the line number information about that function. In theory you

will see all the different include files that contribute source line mappings

to that function (LocalInitialize).

If there are only a few different files, then maybe there is a data

corruption somewhere, and you're not really running into a limit.

But if you see many many different source files or include files named, then

you're hitting the limit.

change "you use" to "you can use" in first line

Message was edited by:

ChrisQuenelle

ChrisQuenelle at 2007-7-7 2:40:12 > top of Java-index,Development Tools,Solaris and Linux Development Tools...