[haiku-bugs] Re: [Haiku] #12291: [Debugger] Exhibits inconsistent behavior & doesn't save a crash report

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Mon, 10 Aug 2015 21:02:52 -0000

#12291: [Debugger] Exhibits inconsistent behavior & doesn't save a crash report
-------------------------------------+----------------------------
Reporter: waddlesplash | Owner: anevilyak
Type: bug | Status: closed
Priority: normal | Milestone: Unscheduled
Component: Applications/Debugger | Version: R1/Development
Resolution: fixed | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
-------------------------------------+----------------------------

Comment (by anevilyak):

Replying to [comment:11 bonefish]:

Looks good. We do have a `B_DEFINE_WEAK_ALIAS()` macro in BeBuild.h,
though, and there's also a `__weak_reference()` macro in cdefs.h (uses
inline assembly instead of a function attribute, but should have the same
semantics). So it shouldn't be necessary to define a macro to do the same
in the source file.

Thanks for the hint, adjusted it to use __weak_reference(), as it's
already including cdefs, and applied in hrev49527.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12291#comment:12>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: