* dbxread.c (dbx_symfile_init): Move more code under hp9000s800
conditional. * hppabsd-core.c: Don't include "param.h", include <sys/param.h> instead. * remote.c (remote_wait): Cast signal to void * to avoid warning from busted HP compiler.
This commit is contained in:
parent
d98a0a4462
commit
bf18ac8007
4 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,12 @@
|
||||||
Thu Jun 25 15:18:42 1992 Stu Grossman (grossman at cygnus.com)
|
Thu Jun 25 15:18:42 1992 Stu Grossman (grossman at cygnus.com)
|
||||||
|
|
||||||
|
* dbxread.c (dbx_symfile_init): Move more code under hp9000s800
|
||||||
|
conditional.
|
||||||
|
* hppabsd-core.c: Don't include "param.h", include <sys/param.h>
|
||||||
|
instead.
|
||||||
|
* remote.c (remote_wait): Cast signal to void * to avoid warning
|
||||||
|
from busted HP compiler.
|
||||||
|
|
||||||
* partial-stab.h (N_SO): Rearrange code a little so that all SO
|
* partial-stab.h (N_SO): Rearrange code a little so that all SO
|
||||||
stabs cause end_psymtab to be called.
|
stabs cause end_psymtab to be called.
|
||||||
|
|
||||||
|
|
|
@ -588,11 +588,11 @@ dbx_symfile_init (objfile)
|
||||||
if (!DBX_TEXT_SECT (objfile))
|
if (!DBX_TEXT_SECT (objfile))
|
||||||
error ("Can't find .text section in symbol file");
|
error ("Can't find .text section in symbol file");
|
||||||
|
|
||||||
DBX_SYMBOL_SIZE (objfile) = obj_symbol_entry_size (sym_bfd);
|
|
||||||
#ifdef hp9000s800
|
#ifdef hp9000s800
|
||||||
HP_SYMCOUNT (objfile) = obj_hp_sym_count (sym_bfd);
|
HP_SYMCOUNT (objfile) = obj_hp_sym_count (sym_bfd);
|
||||||
DBX_SYMCOUNT (objfile) = obj_dbx_sym_count (sym_bfd);
|
DBX_SYMCOUNT (objfile) = obj_dbx_sym_count (sym_bfd);
|
||||||
#else
|
#else
|
||||||
|
DBX_SYMBOL_SIZE (objfile) = obj_symbol_entry_size (sym_bfd);
|
||||||
DBX_SYMCOUNT (objfile) = bfd_get_symcount (sym_bfd);
|
DBX_SYMCOUNT (objfile) = bfd_get_symcount (sym_bfd);
|
||||||
#endif
|
#endif
|
||||||
DBX_SYMTAB_OFFSET (objfile) = SYMBOL_TABLE_OFFSET;
|
DBX_SYMTAB_OFFSET (objfile) = SYMBOL_TABLE_OFFSET;
|
||||||
|
|
|
@ -22,7 +22,6 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "param.h"
|
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
#include "inferior.h"
|
#include "inferior.h"
|
||||||
|
|
||||||
|
|
|
@ -420,7 +420,7 @@ remote_wait (status)
|
||||||
|
|
||||||
WSETEXIT ((*status), 0);
|
WSETEXIT ((*status), 0);
|
||||||
|
|
||||||
ofunc = signal (SIGINT, remote_interrupt);
|
ofunc = (void (*)) signal (SIGINT, remote_interrupt);
|
||||||
getpkt ((char *) buf);
|
getpkt ((char *) buf);
|
||||||
signal (SIGINT, ofunc);
|
signal (SIGINT, ofunc);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue