This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, This patch fixes another string of compilation errors on x86_64-windows because of casting pointers to long. This time, this is in mdebugread.c where we're trying to save the address of some private data in the SYMBOL_VALUE part of a symbol. However, storing that private data inside SYMBOL_VALUE_BYTES would be more appropriate. 2009-01-09 Joel Brobecker <brobecker@adacore.com> * mdebugread.c (parse_symbol): Save the symbol private data using SYMBOL_VALUE_BYTES instead of SYMBOL_VALUE. (psymtab_to_symtab_1): Likewise. (parse_procedure): Declare variable "e" only in the scope where it is used. Extract the symbol private data using SYMBOL_VALUE_BYTES. This was only tested through AdaCore's testsuite, but on all of our native platforms (some of them use mdebugread). I want to run it against the official testsuite as well, but this allows this patch to be out for scrutiny while I do that. -- Joel
Attachment:
mdebugread.c.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |