public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb/frame: remove an unused type alias
@ 2020-10-19 15:32 Tankut Baris Aktemur
  2020-10-19 15:36 ` Simon Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Tankut Baris Aktemur @ 2020-10-19 15:32 UTC (permalink / raw)
  To: gdb-patches

Tested by rebuilding.

gdb/ChangeLog:
2020-10-19  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* frame.c: Remove the unused 'uinteger_option_def' type alias.
---
 gdb/frame.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gdb/frame.c b/gdb/frame.c
index b4af734c2ee..6bfa31e630e 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -2995,8 +2995,6 @@ static struct cmd_list_element *show_backtrace_cmdlist;
 
 using boolean_option_def
   = gdb::option::boolean_option_def<set_backtrace_options>;
-using uinteger_option_def
-  = gdb::option::uinteger_option_def<set_backtrace_options>;
 
 const gdb::option::option_def set_backtrace_option_defs[] = {
 
-- 
2.17.1


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

* Re: [PATCH] gdb/frame: remove an unused type alias
  2020-10-19 15:32 [PATCH] gdb/frame: remove an unused type alias Tankut Baris Aktemur
@ 2020-10-19 15:36 ` Simon Marchi
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Marchi @ 2020-10-19 15:36 UTC (permalink / raw)
  To: Tankut Baris Aktemur, gdb-patches

On 2020-10-19 11:32 a.m., Tankut Baris Aktemur via Gdb-patches wrote:
> Tested by rebuilding.
> 
> gdb/ChangeLog:
> 2020-10-19  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
> 
> 	* frame.c: Remove the unused 'uinteger_option_def' type alias.
> ---
>  gdb/frame.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/gdb/frame.c b/gdb/frame.c
> index b4af734c2ee..6bfa31e630e 100644
> --- a/gdb/frame.c
> +++ b/gdb/frame.c
> @@ -2995,8 +2995,6 @@ static struct cmd_list_element *show_backtrace_cmdlist;
>  
>  using boolean_option_def
>    = gdb::option::boolean_option_def<set_backtrace_options>;
> -using uinteger_option_def
> -  = gdb::option::uinteger_option_def<set_backtrace_options>;
>  
>  const gdb::option::option_def set_backtrace_option_defs[] = {

If it still builds, this looks obvious to me :).

Simon

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

end of thread, other threads:[~2020-10-19 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 15:32 [PATCH] gdb/frame: remove an unused type alias Tankut Baris Aktemur
2020-10-19 15:36 ` Simon Marchi

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