Bug 273293 - lldb shell command will not allow output to be piped to another command - when using the zsh shell
Summary: lldb shell command will not allow output to be piped to another command - whe...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-22 14:41 UTC by pdh
Modified: 2023-09-08 01:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pdh 2023-08-22 14:41:08 UTC
when using the shell command with lldb the output can not be piped to another command. To reproduce this issue: open any executable file in lldb and
type
sh objdump -t <filename> | grep main
it will respond with:
| file not found
grep file not found
main file not found
the gdb debugger will correctly find the main function in the symbol table list
generated by the objdump command
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-08-23 06:45:43 UTC
^Triage: assigning to proper Product.

Since no other indication was made, I guess the OP is talking about lldb in base.
Comment 2 pdh 2023-09-08 01:16:46 UTC
this only affects users who are using the zsh shell