gdb: Extend the trad-frame API
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 17 Aug 2018 07:54:26 +0000 (08:54 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 3 Sep 2018 14:48:41 +0000 (15:48 +0100)
commit23e60e7a4ea772eabb6ae4788913e228763755cf
treead718250e5ee1563a221b542739735d73b48dab4
parent20a4d0bd98969ddbfead7288e6027639dcbd9a21
gdb: Extend the trad-frame API

Adds two new functions to the trad-frame API and update the internals
of trad-frame to use the new functions.  These functions will be used
in later commits.

gdb/ChangeLog:

* trad-frame.h (trad_frame_set_realreg): Declare.
(trad_frame_set_addr): Declare.
* trad-frame.c (trad_frame_set_realreg): Define new function.
(trad_frame_set_addr): Define new function.
(trad_frame_set_reg_realreg): Use new function.
(trad_frame_set_reg_addr): Use new function.
gdb/ChangeLog
gdb/trad-frame.c
gdb/trad-frame.h