mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-28 04:14:08 +03:00
[project @ 2005-04-02 23:57:48 by jmb]
Dump all box trees when SIGFPE raised svn path=/import/netsurf/; revision=1590
This commit is contained in:
parent
f228f3c8da
commit
f5ff372fe8
12
riscos/gui.c
12
riscos/gui.c
@ -34,12 +34,14 @@
|
||||
#include "oslib/wimpspriteop.h"
|
||||
#include "oslib/uri.h"
|
||||
#include "rufl.h"
|
||||
#include "netsurf/content/url_store.h"
|
||||
#include "netsurf/utils/config.h"
|
||||
#include "netsurf/content/content.h"
|
||||
#include "netsurf/content/url_store.h"
|
||||
#include "netsurf/desktop/gui.h"
|
||||
#include "netsurf/desktop/netsurf.h"
|
||||
#include "netsurf/desktop/options.h"
|
||||
#include "netsurf/desktop/tree.h"
|
||||
#include "netsurf/render/box.h"
|
||||
#include "netsurf/render/font.h"
|
||||
#include "netsurf/render/html.h"
|
||||
#include "netsurf/riscos/buffer.h"
|
||||
@ -546,6 +548,14 @@ void gui_quit(void)
|
||||
|
||||
void ro_gui_signal(int sig)
|
||||
{
|
||||
struct content *c;
|
||||
if (sig == SIGFPE) {
|
||||
for (c = content_list; c; c = c->next)
|
||||
if (c->type == CONTENT_HTML && c->data.html.layout) {
|
||||
LOG(("Dumping: '%s'", c->url));
|
||||
box_dump(c->data.html.layout, 0);
|
||||
}
|
||||
}
|
||||
ro_gui_cleanup();
|
||||
raise(sig);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user