トップ «前の日記(Wed May 01 2002) 最新 次の日記(Fri May 03 2002)» 編集

よこいまさる日記



Thu May 02 2002 [長年日記]

[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".
 (gdb) 

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


2000|10|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|