Skip to content

GDB overlay support for RISC-V #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions gdb/riscv-tdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -3638,6 +3638,9 @@ riscv_gdbarch_init (struct gdbarch_info info,

register_riscv_ravenscar_ops (gdbarch);

/* Support simple overlay manager. */
set_gdbarch_overlay_update (gdbarch, simple_overlay_update);

return gdbarch;
}

Expand Down
6 changes: 3 additions & 3 deletions gdb/symfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -3294,7 +3294,7 @@ overlay_auto_command (const char *args, int from_tty)
overlay_debugging = ovly_auto;
enable_overlay_breakpoints ();
if (info_verbose)
printf_unfiltered (_("Automatic overlay debugging enabled."));
printf_unfiltered (_("Automatic overlay debugging enabled.\n"));
}

/* Function: overlay_manual_command
Expand All @@ -3307,7 +3307,7 @@ overlay_manual_command (const char *args, int from_tty)
overlay_debugging = ovly_on;
disable_overlay_breakpoints ();
if (info_verbose)
printf_unfiltered (_("Overlay debugging enabled."));
printf_unfiltered (_("Overlay debugging enabled.\n"));
}

/* Function: overlay_off_command
Expand All @@ -3320,7 +3320,7 @@ overlay_off_command (const char *args, int from_tty)
overlay_debugging = ovly_off;
disable_overlay_breakpoints ();
if (info_verbose)
printf_unfiltered (_("Overlay debugging disabled."));
printf_unfiltered (_("Overlay debugging disabled.\n"));
}

static void
Expand Down