Skip to contentSkip to conversation

status of debugging ia32 executables on ia64

Linux-ia64 Jose Luu 2 participants 2 messages Jan 15, 2001

lore
Share & tools
lore

Jose Luu

author
#0 lore raw

Hi,

I have a non functional ia32 executable (which of course works well on a regular ia32 machine).

What are my options for debugging it ?

There has a message from Don in march 2000 on an attempt to make gdb work for ia32 executables, since then no news, do we have a status on this ? What would be involved to make gdb work ?

Thanks
Jose

#1 lore raw

Jose-

I've found all of my IA32 problems with one of two tools.

1) `strace'. The IA64 version will also trace an IA32 program so you can just use it as you normally would. Most failures these days are from bad system calls that should be identified by this tool.

2) The IA32 version of gdb' should work. If gdb' from a generic IA32 system doesn't work let me know, I've got a version that I've created that I know works.

Check your system log to make sure there aren't any funny messages. If you program makes a call we haven't implemented yet a message will be printed to the console.

Also, are you running the EFI `wkaround' program before you boot your kernel? There are still some CPU erratas that affect IA32 execute that are solved by this program.

Quoted 21 lines · Jose Luu

Hi,

I have a non functional ia32 executable (which of course works well on a regular ia32 machine).

What are my options for debugging it ?

There has a message from Don in march 2000 on an attempt to make gdb work for ia32 executables, since then no news, do we have a status on this ? What would be involved to make gdb work ?

Thanks
Jose

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

Signature · 4 lines
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
[email protected]
Ph: 303/938-9838