Cygwin: Drop excluded regions list from dumper

Drop excluded regions, now it's always empty
This commit is contained in:
Jon Turney
2020-07-04 15:57:31 +01:00
parent 0302c69164
commit 44103c0621
2 changed files with 4 additions and 61 deletions

View File

@@ -62,22 +62,6 @@ typedef struct _process_entity
struct _process_entity* next;
} process_entity;
class exclusion
{
public:
size_t last;
size_t size;
size_t step;
process_mem_region* region;
exclusion ( size_t step ) { last = size = 0;
this->step = step;
region = NULL; }
~exclusion () { free ( region ); }
int add ( LPBYTE mem_base, SIZE_T mem_size );
int sort_and_check ();
};
#define PAGE_BUFFER_SIZE 4096
class dumper
@@ -87,7 +71,6 @@ class dumper
HANDLE hProcess;
process_entity* list;
process_entity* last;
exclusion* excl_list;
char* file_name;
bfd* core_bfd;