public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFC 00/12] Merge value optimized_out and unavailable
@ 2013-08-12 12:15 Andrew Burgess
  2013-08-12 12:16 ` [PATCH 01/12] Introduce is_unavailable_error Andrew Burgess
                   ` (13 more replies)
  0 siblings, 14 replies; 27+ messages in thread
From: Andrew Burgess @ 2013-08-12 12:15 UTC (permalink / raw)
  To: gdb-patches

This patch set merges together how gdb handles values that are
optimized out and values that are unavailable.

I think that in most cases gdb should not care why the contents of
a value are not fetch-able, it is only when we need to display
something to the user that we should have to figure out was this
optimized-out or unavailable?

After this patch set there will be a single unified interface to ask
if a value is available (either fully, partially, or for a range of
bit/bytes), this will answer in terms of both optimized out and
unavailable state.

A second method will fetch the set of flags for the value
optimized/unavailable, this will be used for printing the correct string.

For the implementation I've moved away from the code we currently have
for supporting partially optimized out values and consolidated on the
unavailable vector.

Currently within gdb there are places where we handle optimized out and
unavailable differently, resulting in different style of output, and there
are places where we handle one of optimized out or unavailable, but not the
other.  After this patch set it should (I hope) be much harder for either
of these situations to arise.

Looking forward to your feedback.

Thanks,
Andrew

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

end of thread, other threads:[~2013-12-04 14:54 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-12 12:15 [RFC 00/12] Merge value optimized_out and unavailable Andrew Burgess
2013-08-12 12:16 ` [PATCH 01/12] Introduce is_unavailable_error Andrew Burgess
2013-08-12 12:18 ` [PATCH 02/12]: Remove set_value_optimized_out Andrew Burgess
2013-08-12 12:20 ` [PATCH 03/12] Mark optimized out values as non-lazy Andrew Burgess
2013-11-26 16:38   ` Pedro Alves
2013-11-26 19:19     ` Andrew Burgess
2013-08-12 12:22 ` [PATCH 04/12] Introduce OPTIMIZED_OUT_ERROR Andrew Burgess
2013-08-12 12:24 ` [PATCH 05/12] Convert the unavailable to be bit based Andrew Burgess
2013-08-12 12:27 ` [PATCH 06/12] Delete value_bits_valid Andrew Burgess
2013-11-25 21:41   ` [PATCH] Print entirely unavailable struct/union values as a single <unavailable>. (Re: [PATCH 06/12] Delete value_bits_valid.) Pedro Alves
2013-11-26 10:13     ` Andrew Burgess
2013-11-28 20:14       ` Pedro Alves
2013-08-12 12:28 ` [PATCH 07/12] Generic print unavailable or optimized out function Andrew Burgess
2013-08-12 12:29 ` [PATCH 08/12] Replace some value_optimized_out with value_entirely_available Andrew Burgess
2013-11-27 17:52   ` [COMMITTED PATCH 0/2] "set debug frame 1" and not saved registers (was: Re: [PATCH 08/12] Replace some value_optimized_out with value_entirely_available) Pedro Alves
2013-11-27 18:14     ` [PATCH 1/2] Make "set debug frame 1" use the standard print routine for optimized out values Pedro Alves
2013-11-27 18:35     ` [PATCH 2/2] Make "set debug frame 1" output print <not saved> instead of <optimized out> Pedro Alves
2013-11-27 18:41       ` Pedro Alves
2013-11-27 18:53         ` [pushed] Fix type of not saved registers. (was: Re: [PATCH 2/2] Make "set debug frame 1" output print <not saved> instead of <optimized out>.) Pedro Alves
2013-08-12 12:30 ` [PATCH 09/12] DWARF value, mark unavailable in bits not bytes Andrew Burgess
2013-08-12 12:31 ` [PATCH 10/12] Merge optimized_out into unavailable vector Andrew Burgess
2013-08-12 12:32 ` [PATCH 11/12] Add test mechanism for value " Andrew Burgess
2013-08-12 12:33 ` [PATCH 12/12] Remove old lval check valid functions Andrew Burgess
2013-08-29 17:21 ` PING: Re: [RFC 00/12] Merge value optimized_out and unavailable Andrew Burgess
2013-11-12  9:37   ` Andrew Burgess
2013-11-29 22:31 ` Pedro Alves
2013-12-04 14:54   ` Andrew Burgess

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).