Fix dbgfmt loading (should call load_dbgfmt not load_objfmt).

svn path=/trunk/yasm/; revision=815
This commit is contained in:
Peter Johnson 2002-11-21 05:32:27 +00:00
parent ca47740b40
commit 4ff55cd473
2 changed files with 2 additions and 2 deletions

View file

@ -569,7 +569,7 @@ static int
opt_dbgfmt_handler(/*@unused@*/ char *cmd, char *param, /*@unused@*/ int extra)
{
assert(param != NULL);
cur_dbgfmt = load_objfmt(param);
cur_dbgfmt = load_dbgfmt(param);
if (!cur_dbgfmt) {
print_error(_("unrecognized debugging format `%s'"), param);
return 1;

View file

@ -569,7 +569,7 @@ static int
opt_dbgfmt_handler(/*@unused@*/ char *cmd, char *param, /*@unused@*/ int extra)
{
assert(param != NULL);
cur_dbgfmt = load_objfmt(param);
cur_dbgfmt = load_dbgfmt(param);
if (!cur_dbgfmt) {
print_error(_("unrecognized debugging format `%s'"), param);
return 1;