Groups | Search | Server Info | Login | Register
Groups > comp.lang.asm.x86 > #8824
| From | Tavis Ormandy <taviso@nospicedham.gmail.com> |
|---|---|
| Newsgroups | comp.lang.asm.x86 |
| Subject | Re: Debugger problems |
| Date | 2023-12-03 16:43 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <kt3phrFlp8jU1@mid.individual.net> (permalink) |
| References | <fa661ff7-9381-4a32-9802-3d4691627145n@googlegroups.com> <ksvc0sFdtc9U1@mid.individual.net> <ukesnb$2a8g9$1@dont-email.me> <kt18crF1b8hU1@mid.individual.net> <ukhhrg$2q0aj$3@dont-email.me> |
On 2023-12-03, Borax Man wrote: > On 2023-12-02, Tavis Ormandy <taviso@nospicedham.gmail.com> wrote: >> On 2023-12-02, Borax Man wrote: >>> NASM can generate debugging information which I believe will generate >>> line info. Pass '-F dwarf' option to nasm if under Linux, and you should see each >>> line of source in the debugger. >> >> You're thinking of line markers I think (like %line 123), but I think >> Martijn wants the assembler to do that automatically so that b >> foo.asm:123 works, like it does in gas. >> >> As far as I know nasm won't do that? >> > > I did a test using nasm with the '-F dwarf' and '-g' parameters, and I > was able to add breakpoints in GDB specifying the line using the > syntax you mentioned. Weird.... and this is for elf64? Perhaps you have a newer version than me, good to know it will arrive eventually! Tavis. -- _o) $ lynx lock.cmpxchg8b.com /\\ _o) _o) $ finger taviso@sdf.org _\_V _( ) _( ) @taviso
Back to comp.lang.asm.x86 | Previous | Next — Previous in thread | Next in thread | Find similar
Debugger problems Martijn Bos <martijnm.bos@gmail.com> - 2023-11-30 01:00 -0800
Re: Debugger problems Tavis Ormandy <taviso@nospicedham.gmail.com> - 2023-12-02 00:28 +0000
Re: Debugger problems Borax Man <rotflol2@nospicedham.hotmail.com> - 2023-12-02 09:17 +0000
Re: Debugger problems Martijn Bos <martijnm.bos@nospicedham.gmail.com> - 2023-12-02 03:04 -0800
Re: Debugger problems Tavis Ormandy <taviso@nospicedham.gmail.com> - 2023-12-02 17:38 +0000
Re: Debugger problems Borax Man <rotflol2@nospicedham.hotmail.com> - 2023-12-03 09:30 +0000
Re: Debugger problems Tavis Ormandy <taviso@nospicedham.gmail.com> - 2023-12-03 16:43 +0000
Re: Debugger problems Borax Man <rotflol2@nospicedham.hotmail.com> - 2023-12-04 18:10 +1100
Re: Debugger problems Borax Man <rotflol2@nospicedham.hotmail.com> - 2023-12-04 12:01 +0000
Re: Debugger problems Martijn Bos <martijnm.bos@nospicedham.gmail.com> - 2023-12-06 03:55 -0800
Re: Debugger problems Martijn Bos <martijnm.bos@nospicedham.gmail.com> - 2023-12-02 02:12 -0800
csiph-web