gdb/objc: fix bug in objc_language::opcode_print_table
In this commit:
commit b7c6e27dbb
Date: Tue Aug 4 17:07:59 2020 +0100
gdb: Convert language_data::la_op_print_tab to a method
A bug was introduced, the objc language now returns the wrong op_print
table. Fixed in this commit.
gdb/ChangeLog:
* objc-lang.c (objc_language::opcode_print_table): Return
objc_op_print_tab.
This commit is contained in:
parent
46157d77c3
commit
ed5797ee2c
@ -1,3 +1,8 @@
|
||||
2020-12-23 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* objc-lang.c (objc_language::opcode_print_table): Return
|
||||
objc_op_print_tab.
|
||||
|
||||
2020-12-23 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* p-exp.y (exp): Update call to pascal_is_string_type.
|
||||
|
@ -424,7 +424,7 @@ public:
|
||||
/* See language.h. */
|
||||
|
||||
const struct op_print *opcode_print_table () const override
|
||||
{ return c_op_print_tab; }
|
||||
{ return objc_op_print_tab; }
|
||||
};
|
||||
|
||||
/* Single instance of the class representing the Objective-C language. */
|
||||
|
Loading…
Reference in New Issue
Block a user