about binutils2.17- as's .intel_syntax

2007-03-29 Thread lengshane
with '.att_syntax' , the statement : mov $label1 + 2, %ax but when with '.intel_syntax', how to write the statement ? .intel_syntax noprefix mov ax, label1+2 even .intel_syntax noprefix mov ax, offset la

negative context for grep?

2007-03-29 Thread glen herrmannsfeldt
I wanted to see the third line after the line that matched, grep -B -2 -A 3 important file It seems that negative values aren't allowed. I wonder if others think this would be useful, and not so hard to add. -- glen

Re: core format not recognized

2007-03-29 Thread glen herrmannsfeldt
Christian Christmann wrote: after running an application and getting an segmentation fault, I want to figure what part of the code is responsible for that. For this purpose I use GNU gdb 6.4.90-debian. I run: "gdb EXECUTABLE core" and get the error message: core" is not a core dump: File fo