mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
gdb: change inferior::tdesc_info to non-pointer
I initially made this field a unique pointer, to have automatic memory management. But I then thought that the field didn't really need to be allocated separately from struct inferior. So make it a regular non-pointer field of inferior. Remove target_desc_info_free, as it's no longer needed. Change-Id: Ica2b97071226f31c40e86222a2f6922454df1229
This commit is contained in:

committed by
Simon Marchi

parent
650160322c
commit
79846903c6
@ -633,7 +633,7 @@ public:
|
||||
|
||||
/* Info about an inferior's target description (if it's fetched; the
|
||||
user supplied description's filename, if any; etc.). */
|
||||
target_desc_info *tdesc_info = NULL;
|
||||
target_desc_info tdesc_info;
|
||||
|
||||
/* The architecture associated with the inferior through the
|
||||
connection to the target.
|
||||
|
Reference in New Issue
Block a user