From 665b0c300c8db1b719a2bdb17fe39de7cd8b5606 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 19 Mar 2009 19:51:42 +0000 Subject: [PATCH] 2009-03-19 Roland McGrath * td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE): Use STRINGIFY macro in place of #argument. --- nptl_db/td_symbol_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nptl_db/td_symbol_list.c b/nptl_db/td_symbol_list.c index 79498404cb..474251d627 100644 --- a/nptl_db/td_symbol_list.c +++ b/nptl_db/td_symbol_list.c @@ -24,8 +24,8 @@ static const char *symbol_list_arr[] = { -# define DB_LOOKUP_NAME(idx, name) [idx] = #name, -# define DB_LOOKUP_NAME_TH_UNIQUE(idx, name) [idx] = #name, +# define DB_LOOKUP_NAME(idx, name) [idx] = STRINGIFY (name), +# define DB_LOOKUP_NAME_TH_UNIQUE(idx, name) [idx] = STRINGIFY (name), # include "db-symbols.h" # undef DB_LOOKUP_NAME # undef DB_LOOKUP_NAME_TH_UNIQUE