This is the mail archive of the gdb@sources.redhat.com 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] | |
How come extract_typed_address, in read_reg, doesn't sign extend?
I should have explained that. It does. However extract_typed_address is incorrect because it makes the invalid assumption that sizeof(address) == sizeof(register). So that has to go and be replaced with something like extract_signed_integer (buf, register_size (current_gdbarch, regnum));
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |