go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compiler

warning.

config/djgpp/README: Update.
This commit is contained in:
Eli Zaretskii 2002-04-19 19:28:54 +00:00
parent 212a6b8ef7
commit ccd9a834f9
3 changed files with 16 additions and 8 deletions

View file

@ -1,3 +1,10 @@
2002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
* config/djgpp/README: Update.
* go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a
compiler warnings.
2002-04-19 Jason Thorpe <thorpej@wasabisystems.com> 2002-04-19 Jason Thorpe <thorpej@wasabisystems.com>
* alpha-tdep.c (setup_arbitrary_frame): Rename... * alpha-tdep.c (setup_arbitrary_frame): Rename...

View file

@ -98,16 +98,17 @@ follows:
3. How to build 3. How to build
------------ ------------
The source distribution available from DJGPP archives is already If the source distribution available from DJGPP archives is already
configured for DJGPP v2.x, so if you only want to compile it, just configured for DJGPP v2.x (if it is, you will find files named
invoke Make: `Makefile' in each subdirectory), then just invoke Make:
make make
To build a package downloaded from a GNU FTP site, you will need o To build a package that is not yet configured, or if you downloaded
configure it first. You will also need to configure it if you want to GDB from a GNU FTP site, you will need to configure it first. You
change the configuration options (e.g., compile without support for the will also need to configure it if you want to change the configuration
GDBMI interface). To configure GDB, type this command: options (e.g., compile without support for the GDBMI interface). To
configure GDB, type this command:
sh ./gdb/config/djgpp/djconfig.sh sh ./gdb/config/djgpp/djconfig.sh

View file

@ -491,7 +491,7 @@ static void
store_register (int regno) store_register (int regno)
{ {
if (regno < FP0_REGNUM) if (regno < FP0_REGNUM)
regcache_collect (regno, (void *) &a_tss + regno_mapping[regno].tss_ofs); regcache_collect (regno, (char *) &a_tss + regno_mapping[regno].tss_ofs);
else if (FP_REGNUM_P (regno) || FPC_REGNUM_P (regno)) else if (FP_REGNUM_P (regno) || FPC_REGNUM_P (regno))
i387_fill_fsave ((char *) &npx, regno); i387_fill_fsave ((char *) &npx, regno);
else else