Skip to content
This repository has been archived by the owner on Jul 4, 2021. It is now read-only.

Commit

Permalink
Removed warning calls from hello viewer.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 7, 2008
1 parent 8569ac0 commit 5e0c894
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dataplugin_tests/hello/viewhello.cpp
Expand Up @@ -5,9 +5,6 @@ static void view_hello(const void *ptr, const GDB_dataplugin_funcs *funcs)
{
Hello hello;

funcs->warning("warning from inside %s, %s:%d ...",
__FUNCTION__, __FILE__, __LINE__);

if (funcs->readmem(ptr, &hello, sizeof (Hello)) != 0)
return;

Expand All @@ -23,8 +20,6 @@ static void view_hello(const void *ptr, const GDB_dataplugin_funcs *funcs)

void GDB_DATAPLUGIN_ENTRY(const GDB_dataplugin_entry_funcs *funcs)
{
funcs->warning("just testing the warning callback");
funcs->warning("another warning, ignore");
funcs->register_viewer("Hello", view_hello);
}

Expand Down

0 comments on commit 5e0c894

Please sign in to comment.