From b3dbf0087fac065acc0f94aaecbda854f26e44c8 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 3 Jan 2008 19:15:10 +0000 Subject: [PATCH] * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER expressions. These expressions do not need to be rewriten. --- gdb/ChangeLog | 5 +++++ gdb/ada-lang.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96fcd9babbe..0249245cfbb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-01-03 Joel Brobecker + + * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER + expressions. These expressions do not need to be rewriten. + 2008-01-03 Joel Brobecker * dwarf2read.c (read_enumeration_type): Flag type as stub if diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index c91fd777852..2c617057f17 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -2999,6 +2999,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p, break; case OP_TYPE: + case OP_REGISTER: return NULL; } -- 2.30.2