* i386v-nat.c: Remove space from front of #endif.

* irix4-nat.c:  Remove externs of registers[], include inferior.h
	instead.
	* mips-nat.c:  Explicitly initialize zerobuf to 0!
	* mips-tdep.c (init_extra_frame_info):  Undo John's last change.
	Always setup fci->frame, even if it's non-zero.  Too many places
	depend upon this behavior (and I have to get a release out the
	door)!
	* mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):  Set
	processing_gcc_compilation if we find the embedded stabs marker.
	This fixes several bugs with finding the location of short or char
	function parameters passed on the stack.
This commit is contained in:
Stu Grossman 1992-10-22 02:26:04 +00:00
parent 99ef5653ef
commit 3496b74562
4 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,18 @@
Wed Oct 21 19:08:20 1992 Stu Grossman (grossman at cygnus.com)
* i386v-nat.c: Remove space from front of #endif.
* irix4-nat.c: Remove externs of registers[], include inferior.h
instead.
* mips-nat.c: Explicitly initialize zerobuf to 0!
* mips-tdep.c (init_extra_frame_info): Undo John's last change.
Always setup fci->frame, even if it's non-zero. Too many places
depend upon this behavior (and I have to get a release out the
door)!
* mipsread.c (parse_partial_symbols, psymtab_to_symtab_1): Set
processing_gcc_compilation if we find the embedded stabs marker.
This fixes several bugs with finding the location of short or char
function parameters passed on the stack.
Wed Oct 21 17:46:07 1992 K. Richard Pixley (rich@sendai.cygnus.com)
Native support for sun4sol2.

View File

@ -159,7 +159,7 @@ i386_float_info ()
perror_with_name ("read from core file");
skip = 0;
}
#endif /* 0 */
#endif /* 0 */
fpstatep = (struct fpstate *)(buf + skip);
print_387_status (fpstatep->status, (struct env387 *)fpstatep->state);

View File

@ -21,6 +21,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "defs.h"
#include "inferior.h"
#include <sys/time.h>
#include <sys/procfs.h>
@ -61,7 +62,6 @@ fill_gregset (gregsetp, regno)
{
int regi;
register greg_t *regp = (greg_t *)(gregsetp->gp_regs);
extern char registers[];
/* same FIXME as above wrt 32*/
for (regi = 0; regi < 32; regi++)
@ -111,7 +111,6 @@ fill_fpregset (fpregsetp, regno)
{
int regi;
char *from, *to;
extern char registers[];
for (regi = FP0_REGNUM; regi < FP0_REGNUM + 32; regi++)
{

View File

@ -59,7 +59,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
: regno >= FP0_REGNUM ? FPR_BASE + (regno - FP0_REGNUM) \
: 0)
static char zerobuf[MAX_REGISTER_RAW_SIZE];
static char zerobuf[MAX_REGISTER_RAW_SIZE] = {0};
/* Get all registers from the inferior */