gdb/objc: fix bug in objc_language::opcode_print_table
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 30 Oct 2020 14:35:47 +0000 (14:35 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 23 Dec 2020 20:53:14 +0000 (20:53 +0000)
commited5797ee2c17bae5d15204cbfa9a3918c7e4c1a9
treecdd3ce55a62f1f5dc7969790b591269799bf0584
parent46157d77c324ab6adf52ddf994a6ccb3328b3edb
gdb/objc: fix bug in objc_language::opcode_print_table

In this commit:

  commit b7c6e27dbbbbe678b2e2f0bf617605e055e1b378
  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.
gdb/ChangeLog
gdb/objc-lang.c