public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/8684] GDB should cache the source files for the executable being debugged
       [not found] <bug-8684-4717@http.sourceware.org/bugzilla/>
@ 2020-04-01 18:08 ` tromey at sourceware dot org
  2022-04-08  0:18 ` tromey at sourceware dot org
  2024-03-28  5:09 ` sam at gentoo dot org
  2 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2020-04-01 18:08 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8684

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Hannes Domani from comment #3)
> Wasn't this basically implemented with source-cache.c?

Partly but the cache is not very large -- just 5 files.
So if you go past that, gdb will re-read from the filesystem.

I guess we could make this configurable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/8684] GDB should cache the source files for the executable being debugged
       [not found] <bug-8684-4717@http.sourceware.org/bugzilla/>
  2020-04-01 18:08 ` [Bug gdb/8684] GDB should cache the source files for the executable being debugged tromey at sourceware dot org
@ 2022-04-08  0:18 ` tromey at sourceware dot org
  2024-03-28  5:09 ` sam at gentoo dot org
  2 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2022-04-08  0:18 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8684

--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
One thought is that this will never really work properly.
gdb isn't going to pre-read all the possible source files.
So you'll always have a risk of seeing one out-of-date.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/8684] GDB should cache the source files for the executable being debugged
       [not found] <bug-8684-4717@http.sourceware.org/bugzilla/>
  2020-04-01 18:08 ` [Bug gdb/8684] GDB should cache the source files for the executable being debugged tromey at sourceware dot org
  2022-04-08  0:18 ` tromey at sourceware dot org
@ 2024-03-28  5:09 ` sam at gentoo dot org
  2 siblings, 0 replies; 5+ messages in thread
From: sam at gentoo dot org @ 2024-03-28  5:09 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8684

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/8684] GDB should cache the source files for the executable being debugged
       [not found] <20040301204801.8684.agraph03@yahoo.com>
  2009-01-22  0:10 ` pedro at codesourcery dot com
@ 2010-04-18  1:09 ` pedro at codesourcery dot com
  1 sibling, 0 replies; 5+ messages in thread
From: pedro at codesourcery dot com @ 2010-04-18  1:09 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From pedro at codesourcery dot com  2010-04-18 01:09 -------
*** Bug 9651 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |balacobaco at imap dot cc


http://sourceware.org/bugzilla/show_bug.cgi?id=8684

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/8684] GDB should cache the source files for the executable being debugged
       [not found] <20040301204801.8684.agraph03@yahoo.com>
@ 2009-01-22  0:10 ` pedro at codesourcery dot com
  2010-04-18  1:09 ` pedro at codesourcery dot com
  1 sibling, 0 replies; 5+ messages in thread
From: pedro at codesourcery dot com @ 2009-01-22  0:10 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |9651
              nThis|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=8684

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-28  5:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-8684-4717@http.sourceware.org/bugzilla/>
2020-04-01 18:08 ` [Bug gdb/8684] GDB should cache the source files for the executable being debugged tromey at sourceware dot org
2022-04-08  0:18 ` tromey at sourceware dot org
2024-03-28  5:09 ` sam at gentoo dot org
     [not found] <20040301204801.8684.agraph03@yahoo.com>
2009-01-22  0:10 ` pedro at codesourcery dot com
2010-04-18  1:09 ` pedro at codesourcery dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).