
{"id":1427,"date":"2010-05-05T16:56:17","date_gmt":"2010-05-05T11:26:17","guid":{"rendered":"http:\/\/www.jeffrin.in\/?p=1427"},"modified":"2010-05-05T16:56:17","modified_gmt":"2010-05-05T11:26:17","slug":"gdb-info-files","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/05\/05\/gdb-info-files\/","title":{"rendered":"names of targets and files being debugged"},"content":{"rendered":"<pre class=\"brush:text\">\nFrom gdb.\ninfo files -- Names of targets and files being debugged\n<\/pre>\n<pre class=\"brush:bash\">\nLocal exec file:\n        `\/usr\/bin\/xine', file type elf64-x86-64.\n        Entry point: 0x409e30\n        0x0000000000400200 - 0x000000000040021c is .interp\n        0x000000000040021c - 0x000000000040023c is .note.ABI-tag\n        0x000000000040023c - 0x0000000000400260 is .note.gnu.build-id\n        0x0000000000400260 - 0x0000000000400dac is .hash\n        0x0000000000400db0 - 0x0000000000400e6c is .gnu.hash\n        0x0000000000400e70 - 0x0000000000403960 is .dynsym\n        0x0000000000403960 - 0x00000000004053f8 is .dynstr\n        0x00000000004053f8 - 0x000000000040578c is .gnu.version\n        0x0000000000405790 - 0x0000000000405860 is .gnu.version_r\n        0x0000000000405860 - 0x0000000000405920 is .rela.dyn\n        0x0000000000405920 - 0x0000000000408278 is .rela.plt\n        0x0000000000408278 - 0x0000000000408290 is .init\n        0x0000000000408290 - 0x0000000000409e30 is .plt\n        0x0000000000409e30 - 0x00000000004a0ed8 is .text\n        0x00000000004a0ed8 - 0x00000000004a0ee6 is .fini\n        0x00000000004a0f00 - 0x00000000004c5098 is .rodata\n        0x00000000004c5098 - 0x00000000004c8334 is .eh_frame_hdr\n        0x00000000004c8338 - 0x00000000004d47ec is .eh_frame\n        0x00000000006d47f0 - 0x00000000006d4800 is .ctors\n        0x00000000006d4800 - 0x00000000006d4810 is .dtors\n        0x00000000006d4810 - 0x00000000006d4818 is .jcr\n        0x00000000006d4818 - 0x00000000006d4a88 is .dynamic\n        0x00000000006d4a88 - 0x00000000006d4a90 is .got\n        0x00000000006d4a90 - 0x00000000006d5870 is .got.plt\n        0x00000000006d5880 - 0x00000000006d68f0 is .data\n        0x00000000006d6900 - 0x00000000006d9ac0 is .bss\n<\/pre>\n<pre class=\"brush:bash\">\n$objdump -h \/usr\/bin\/xine | grep .text\n 13 .text         000970a8  0000000000409e30  0000000000409e30  00009e30  2**4\n$objdump -h \/usr\/bin\/xine | grep .init\n 11 .init         00000018  0000000000408278  0000000000408278  00008278  2**2\n$\n<\/pre>\n<p>objdump &#8211; display information from object files.<br \/>\n-h switch = Display summary information from the section headers of the object file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From gdb. info files &#8212; Names of targets and files being debugged Local exec file: `\/usr\/bin\/xine&#8217;, file type elf64-x86-64. Entry point: 0x409e30 0x0000000000400200 &#8211; 0x000000000040021c is .interp 0x000000000040021c &#8211; 0x000000000040023c is .note.ABI-tag 0x000000000040023c &#8211; 0x0000000000400260 is .note.gnu.build-id 0x0000000000400260 &#8211; 0x0000000000400dac is .hash 0x0000000000400db0 &#8211; 0x0000000000400e6c is .gnu.hash 0x0000000000400e70 &#8211; 0x0000000000403960 is .dynsym 0x0000000000403960 &#8211; 0x00000000004053f8 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/05\/05\/gdb-info-files\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;names of targets and files being debugged&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[812,1420],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1427"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=1427"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1427\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=1427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=1427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=1427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}