Thread overview
[Issue 22905] gdb backtrace contains wrong location
Mar 20, 2022
Tim
Dec 17, 2022
Iain Buclaw
Dec 28, 2023
Dlang Bot
Dec 28, 2023
Dlang Bot
March 20, 2022
https://issues.dlang.org/show_bug.cgi?id=22905

Tim <tim.dlang@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |DebugInfo

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=22905

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 28, 2023
https://issues.dlang.org/show_bug.cgi?id=22905

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #15961 "Fix issue 22905 - gdb backtrace contains wrong location" fixing this issue:

- Fix issue 22905 - gdb backtrace contains wrong location

  The default argument for function funcC in the example is wrapped in
  an implicit cast expression. The location for this expression was not
  changed to the call site, because the visit function returned earlier
  for unary expressions. Now the location is changed for every type of
  expression.

https://github.com/dlang/dmd/pull/15961

--
December 28, 2023
https://issues.dlang.org/show_bug.cgi?id=22905

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #15961 "Fix issue 22905 - gdb backtrace contains wrong location" was merged into master:

- d7cbcbecdfde13bc5afbb21dc15095b828da815c by Tim Schendekehl:
  Fix issue 22905 - gdb backtrace contains wrong location

  The default argument for function funcC in the example is wrapped in
  an implicit cast expression. The location for this expression was not
  changed to the call site, because the visit function returned earlier
  for unary expressions. Now the location is changed for every type of
  expression.

https://github.com/dlang/dmd/pull/15961

--