hns - 日記自動生成システム - Version 2.19.9

先月 2013年08月 来月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年08月09日(金) 旧暦 [n年日記] [更新:"2013/08/19 21:12:16"]

#1 [pkgsrc] avr-gdb says -> Symbol format `elf32-avr' unknown.

modena@makoto 10:20:38/130809(..cross/avr-gdb)% (cd ~/avr/simulavr/; avr-gdb)
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64--netbsd --target=avr".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file simple.elf
Reading symbols from /amd/u/u/home/makoto/avr/simulavr/simple.elf
    ...I'm sorry, Dave, I can't do that.  Symbol format `elf32-avr' unknown.
(gdb)
この場所はすぐに分るが、どこから呼出されているか分らないので、 この場所に abort(); を入れて core dump させ、gdb で見てみた。
(gdb) file ~/avr/simulavr/simple.elf
Reading symbols from /amd/u/u/home/makoto/avr/simulavr/simple.elf...
find_sym_fns: symfile.c:1869
zsh: abort (core dumped)  ./work/gdb-7.6/gdb/gdb
modena@makoto 18:14:55/130809(..cross/avr-gdb)% 
modena@makoto 18:15:00/130809(..cross/avr-gdb)% gdb ./work/gdb-7.6/gdb/gdb gdb.core 
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/CHROOT/usr/pkgsrc/cross/avr-gdb/work/gdb-7.6/gdb/gdb
    ...(no debugging symbols found)...done.
[New process 1]
Core was generated by `gdb'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ff68ecfba in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff68ecfba in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ff68ec8f2 in abort () from /usr/lib/libc.so.12
#2  0x000000000049d030 in find_sym_fns.clone.1 ()
#3  0x000000000049f4d5 in syms_from_objfile ()
#4  0x000000000049f910 in symbol_file_add_with_addrs_or_offsets.clone.7 ()
#5  0x00000000004a0316 in symbol_file_add ()
#6  0x00000000004a0665 in symbol_file_add_main_1 ()
#7  0x00000000004a070b in symbol_file_command ()
#8  0x00000000004eda2b in file_command ()
#9  0x000000000056be99 in execute_command ()
#10 0x00000000004c9474 in command_handler ()
#11 0x00000000004c9e20 in command_line_handler ()
#12 0x00000000005aa1c1 in rl_callback_read_char ()
#13 0x00000000004c94c4 in rl_callback_read_char_wrapper ()
#14 0x00000000004c88c8 in process_event ()
#15 0x00000000004c8d37 in gdb_do_one_event ()
#16 0x00000000004c8d87 in start_event_loop ()
#17 0x00000000004c306b in captured_command_loop ()
#18 0x00000000004c1e6b in catch_errors ()
#19 0x00000000004c3e95 in captured_main ()
#20 0x00000000004c1e6b in catch_errors ()
#21 0x00000000004c41d5 in gdb_main ()
#22 0x000000000040516a in main ()
(gdb) 
と思ったが、実はこの前の loop が知りたかった。



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)