Re: Why does a return statement generate an abort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2025-06-19 at 11:24 -0700, skidmarks wrote:
> Win 11-64 Pro
> Cygwin 3.7.0
> g++ 15.1.1
> gdb (Cygwin 15.2-1) 15.2
> 
> I'm trying to track down an error in my code which produces an abort on 
> a return statement.

It could happen if some buggy code is overwriting the return address on the call
stack.

If you know machine code or assembly, consider adding a hardware watchpoint on
it.

Regards.

-- 
Basile STARYNKEVITCH                            <basile@xxxxxxxxxxxxxxxxx>
8 rue de la Faïencerie                       http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                         https://github.com/bstarynk
France                                https://github.com/RefPerSys/RefPerSys




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux