OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [testsuite/] [gdb.hp/] [gdb.base-hp/] [hwwatchbus.c] - Rev 1765

Compare with Previous | Blame | View Log

/* This program raises a SIGBUS signal on HP-UX when the
   pointer "bogus_p" is dereferenced.
   */
int *  bogus_p = (int *)3;
 
int main()
{
  *bogus_p = 0xdeadbeef;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.