From ba287dd8e0f67ff4ab71f73ea5300505da9e6365 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 19 Mar 2012 11:10:11 +0100 Subject: [PATCH] * grub-core/kern/dl.c (grub_dl_add): Make global in order for gdb_grub to work. --- ChangeLog | 5 +++++ grub-core/kern/dl.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 60df3dbcc..bacd6cc4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-19 Vladimir Serbinenko + + * grub-core/kern/dl.c (grub_dl_add): Make global in order for gdb_grub + to work. + 2012-03-19 Vladimir Serbinenko * grub-core/fs/jfs.c (grub_jfs_label): Use first label if second one diff --git a/grub-core/kern/dl.c b/grub-core/kern/dl.c index cb7f82986..5b0aa6582 100644 --- a/grub-core/kern/dl.c +++ b/grub-core/kern/dl.c @@ -48,7 +48,10 @@ grub_dl_t grub_dl_head = 0; -static grub_err_t +grub_err_t +grub_dl_add (grub_dl_t mod); + +grub_err_t grub_dl_add (grub_dl_t mod) { if (grub_dl_get (mod->name))