[Apple] gdb が動かないと思ったら…

Zsh だと Darwin で gdb が動かない。こんな感じ:

pineapple% gdb
Unable to start GDB: unknown architecture "unknown-apple-darwin5.4"

でも XEmacs から M-x shell して実行した shell (tcsh) だと、こんな感じにきちんと動く。

pineapple: {152} gdb
GNU gdb 5.0-20001113 (Apple version gdb-203) (Wed Nov 7 16:28:57 GMT 2001) (UI_OUT)
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-macos10".

なぜだか よぉ分からんが、まぁいいかぁ。ただ、opensource.apple.com の Bug entry にuname() should include processor typeというエントリがあるんだけど、これも関係あるのかなぁ。





車両系建設機械運転者(整地) の講習