Skip to content

[GDB] Use "gdb_arch_list_lookup_by_info" in "arc_gdbarch_init" #46

@shahab-vahedi

Description

@shahab-vahedi

Using gdb_arch_list_lookup_by_info() during the arc_gdbarch_init() will allow us to reuse the gdbarch object whenever an inferior is restarted.

Apparently, gdb_arch_list_lookup_by_info() allows reusing the gdbarch objects when arch, abi, target description, and optional other stuffs remain the same.

One can look into other targets to get some idea.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions