mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
* 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
@ -1,5 +1,12 @@
|
||||
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
|
||||
stabs cause end_psymtab to be called.
|
||||
|
||||
|
@ -588,11 +588,11 @@ dbx_symfile_init (objfile)
|
||||
if (!DBX_TEXT_SECT (objfile))
|
||||
error ("Can't find .text section in symbol file");
|
||||
|
||||
DBX_SYMBOL_SIZE (objfile) = obj_symbol_entry_size (sym_bfd);
|
||||
#ifdef hp9000s800
|
||||
HP_SYMCOUNT (objfile) = obj_hp_sym_count (sym_bfd);
|
||||
DBX_SYMCOUNT (objfile) = obj_dbx_sym_count (sym_bfd);
|
||||
#else
|
||||
DBX_SYMBOL_SIZE (objfile) = obj_symbol_entry_size (sym_bfd);
|
||||
DBX_SYMCOUNT (objfile) = bfd_get_symcount (sym_bfd);
|
||||
#endif
|
||||
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. */
|
||||
|
||||
#include "defs.h"
|
||||
#include "param.h"
|
||||
#include "frame.h"
|
||||
#include "inferior.h"
|
||||
|
||||
|
@ -420,7 +420,7 @@ remote_wait (status)
|
||||
|
||||
WSETEXIT ((*status), 0);
|
||||
|
||||
ofunc = signal (SIGINT, remote_interrupt);
|
||||
ofunc = (void (*)) signal (SIGINT, remote_interrupt);
|
||||
getpkt ((char *) buf);
|
||||
signal (SIGINT, ofunc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user