mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Use gdb unordered set and map in Python layer
This changes a couple of files in the Python layer to use gdb:unordered_set and gdb::unordered_map. Another use exists but I think it is being handled by Jan's series. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
#include "py-event.h"
|
||||
#include "py-stopevent.h"
|
||||
#include "progspace-and-thread.h"
|
||||
#include <unordered_map>
|
||||
#include "gdbsupport/unordered_map.h"
|
||||
|
||||
using thread_map_t
|
||||
= std::unordered_map<thread_info *, gdbpy_ref<thread_object>>;
|
||||
= gdb::unordered_map<thread_info *, gdbpy_ref<thread_object>>;
|
||||
|
||||
struct inferior_object
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user