tromey at redhat dot com
2014-01-15 16:00:35 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=16454
Bug ID: 16454
Summary: target_shortname abuse
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
Many of the uses of target_shortname in the tree
are actually abuses. E.g.:
if (strcmp (target_shortname, "sim") == 0)
return bfin_sim_breakpoint;
else
return bfin_breakpoint;
In addition to the hack of a name-based decision,
this assumes that the "sim" target will be the topmost
on the target stack.
Bug ID: 16454
Summary: target_shortname abuse
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
Many of the uses of target_shortname in the tree
are actually abuses. E.g.:
if (strcmp (target_shortname, "sim") == 0)
return bfin_sim_breakpoint;
else
return bfin_breakpoint;
In addition to the hack of a name-based decision,
this assumes that the "sim" target will be the topmost
on the target stack.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.