Giter Site home page Giter Site logo

GDB Support? about grmtools HOT 5 CLOSED

madhavpcm avatar madhavpcm commented on August 17, 2024
GDB Support?

from grmtools.

Comments (5)

ltratt avatar ltratt commented on August 17, 2024 1

I've seen (well @vext01 has seen) a long-standing problem with gdb where pressing "up" causes huge delays as it scans through code (nothing to do with grmtools: this happens with C code as well). From memory, a recent-ish fix has eased the problem a bit, although it still somewhat remains.

Warning: I might be very wrong about all of this!

from grmtools.

vext01 avatar vext01 commented on August 17, 2024 1

FWIW: here's my original bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=26024

from grmtools.

ratmice avatar ratmice commented on August 17, 2024

I don't seem to be able to reproduce this when using the lrpar/examples/calc_actions setting a breakpoint on calc_actions::calc_y::parse_int after entering an expression up/down can succesfully traverse all the stack frames.
mildly curious whether adding the --readnow flag to force symbol tables to be expanded upon startup rather than lazily affects the behavior you see at all.

from grmtools.

madhavpcm avatar madhavpcm commented on August 17, 2024

mildly curious whether adding the --readnow flag to force symbol tables to be expanded upon startup rather than lazily affects the behavior you see at all.

My bad, this was the case. My parser.y.rs file is nearly 6000 lines long and probably took some time to load (and I Ctrl+C more often than not). However I had this 'delay' from a long time and this used to happen only when jumping between action regions.

Thanks again!

from grmtools.

ratmice avatar ratmice commented on August 17, 2024

Somewhat newer than that bug report/fix it seems, but gdb 12.1 also added multithreaded symbol loading it seems.

from grmtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.