Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,642 of 4,675    |
|    Martijn Bos to All    |
|    Re: Debugger problems    |
|    02 Dec 23 02:12:44    |
      From: martijnm.bos@nospicedham.gmail.com              Thank you so much for this information.              Today I have to visit my parents (my father turned 83 :-))       So...no testing today.              I'll report back hopefully tomorrow.              Best Regards,       Martijn              Op zaterdag 2 december 2023 om 01:36:03 UTC+1 schreef Tavis Ormandy:       > On 2023-11-30, Martijn Bos wrote:       > > Does anyone have any pointers/tips/trics on how to resolve this issue.       > >       > > (I know myself...I probably oversee the obvious...do not hesitate to point       that out)       > I would just use the disassembler, for example `x/10i _start` instead of       > `list _start`!       >       > I don't think nasm will generate line info automatically (just names),       > so you would set breakpoints on symbols `b _start` or addresses `b       > *0x401000)       >       > However... gas can do it if you prefer this style. Your code is       > basically valid gas syntax already. Just add `.intel_syntax noprefix`       > and add a `.` before directives, e.g. .section, .global, etc, and use #       > for comments instead of ;.       >       > Then you can use `as -g foo.asm -o foo.o` instead.       >       > Now `b foo.asm:123` should work.       >       > Nasm and gas are both great assemblers, it doesn't make much difference       > which one you choose while you're getting started.       >       > Tavis.       >       > --       > _o) $ lynx lock.cmpxchg8b.com       > /\\ _o) _o) $ finger tav...@sdf.org       > _\_V _( ) _( ) @taviso              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca