* [rfc] [0/6] Remove macros from gdbarch.sh
@ 2007-06-12 16:06 Markus Deuling
2007-06-12 17:04 ` Ulrich Weigand
0 siblings, 1 reply; 6+ messages in thread
From: Markus Deuling @ 2007-06-12 16:06 UTC (permalink / raw)
To: GDB Patches; +Cc: Ulrich Weigand
Hello,
this is the next series of 6 patches to get rid of the macros in gdbarch.sh.
The following macros are replaced by this patches:
* TARGET_VIRTUAL_FRAME_POINTER
* REGISTER_SIM_REGNO
* CONVERT_REGISTER_P, REGISTER_TO_VALUE and VALUE_TO_REGISTER
* SMASH_TEXT_ADDRESS
* *_REG_TO_REGNUM
* DEPRECATED_STACK_ALIGN
I tested this patchset by running gdb_mbuild.sh and run the testsuite on x86. The testsuite showed no regressions.
I'd appreciate any comments to this patches. Thank you very much in advance.
Regards,
Markus
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc] [0/6] Remove macros from gdbarch.sh
2007-06-12 16:06 [rfc] [0/6] Remove macros from gdbarch.sh Markus Deuling
@ 2007-06-12 17:04 ` Ulrich Weigand
2007-06-12 17:05 ` Markus Deuling
0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Weigand @ 2007-06-12 17:04 UTC (permalink / raw)
To: Markus Deuling; +Cc: GDB Patches
Markus Deuling wrote:
> The following macros are replaced by this patches:
>
> * TARGET_VIRTUAL_FRAME_POINTER
> * REGISTER_SIM_REGNO
> * CONVERT_REGISTER_P, REGISTER_TO_VALUE and VALUE_TO_REGISTER
> * SMASH_TEXT_ADDRESS
> * *_REG_TO_REGNUM
> * DEPRECATED_STACK_ALIGN
These look all good to me. I've applied all six patches.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc] [0/6] Remove macros from gdbarch.sh
2007-06-12 17:04 ` Ulrich Weigand
@ 2007-06-12 17:05 ` Markus Deuling
0 siblings, 0 replies; 6+ messages in thread
From: Markus Deuling @ 2007-06-12 17:05 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: GDB Patches
Ulrich Weigand wrote:
> Markus Deuling wrote:
>
>> The following macros are replaced by this patches:
>>
>> * TARGET_VIRTUAL_FRAME_POINTER
>> * REGISTER_SIM_REGNO
>> * CONVERT_REGISTER_P, REGISTER_TO_VALUE and VALUE_TO_REGISTER
>> * SMASH_TEXT_ADDRESS
>> * *_REG_TO_REGNUM
>> * DEPRECATED_STACK_ALIGN
>
> These look all good to me. I've applied all six patches.
>
> Thanks,
> Ulrich
>
Again, thank you very much for your effort :-)
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [rfc] [0/6] Remove macros from gdbarch.sh
@ 2007-05-29 7:21 Markus Deuling
2007-05-31 17:51 ` Ulrich Weigand
0 siblings, 1 reply; 6+ messages in thread
From: Markus Deuling @ 2007-05-29 7:21 UTC (permalink / raw)
To: GDB Patches; +Cc: Ulrich Weigand
Hello,
this set of patches are the first 5 patches to get rid of the macros in gdbarch.sh like TARGET_BYTE_ORDER etc.
These macros are replaced by their appropriate "gdbarch_" functions as it is already done with some macros in the past. I'd like to fulfill that transition and get completely rid of all macros.
The following macros are replaced by this patch set:
* CALL_DUMMY_LOCATION
* TARGET_BYTE_ORDER
* TARGET_CHAR_SIGNED
* TARGET_OSABI
* CANNOT_FETCH_REGISTER / CANNOT_STORE_REGISTER
* NUM_REGS / NUM_PSEUDO_REGS
I tested patches that change different tdep-files using the gdb_mbuild.sh script and run the testsuite
on x86. As far as I've seen it, there were no regressions. But I'm not sure if I caught up everything.
I'd appreciate any comments to this patches. Do you think this would be OK to commit?
If so, then I'll come up with the next couple of patches.
Thank you very much in advance.
Regards,
Markus
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc] [0/6] Remove macros from gdbarch.sh
2007-05-29 7:21 Markus Deuling
@ 2007-05-31 17:51 ` Ulrich Weigand
2007-05-31 20:28 ` Markus Deuling
0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Weigand @ 2007-05-31 17:51 UTC (permalink / raw)
To: Markus Deuling; +Cc: GDB Patches
Markus Deuling wrote:
> The following macros are replaced by this patch set:
>
> * CALL_DUMMY_LOCATION
> * TARGET_BYTE_ORDER
> * TARGET_CHAR_SIGNED
> * TARGET_OSABI
> * CANNOT_FETCH_REGISTER / CANNOT_STORE_REGISTER
> * NUM_REGS / NUM_PSEUDO_REGS
I've committed (the updated versions of) all six patches now.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rfc] [0/6] Remove macros from gdbarch.sh
2007-05-31 17:51 ` Ulrich Weigand
@ 2007-05-31 20:28 ` Markus Deuling
0 siblings, 0 replies; 6+ messages in thread
From: Markus Deuling @ 2007-05-31 20:28 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: GDB Patches
Ulrich Weigand wrote:
> Markus Deuling wrote:
>
>> The following macros are replaced by this patch set:
>>
>> * CALL_DUMMY_LOCATION
>> * TARGET_BYTE_ORDER
>> * TARGET_CHAR_SIGNED
>> * TARGET_OSABI
>> * CANNOT_FETCH_REGISTER / CANNOT_STORE_REGISTER
>> * NUM_REGS / NUM_PSEUDO_REGS
>
> I've committed (the updated versions of) all six patches now.
>
> Thanks,
> Ulrich
>
Thank you very much!
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-12 17:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12 16:06 [rfc] [0/6] Remove macros from gdbarch.sh Markus Deuling
2007-06-12 17:04 ` Ulrich Weigand
2007-06-12 17:05 ` Markus Deuling
-- strict thread matches above, loose matches on Subject: below --
2007-05-29 7:21 Markus Deuling
2007-05-31 17:51 ` Ulrich Weigand
2007-05-31 20:28 ` Markus Deuling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox