{"blog_url":"https://inaz2.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finaz2.hatenablog.com%2Fentry%2F2015%2F11%2F24%2F232735\" title=\"gdb\u3092\u4f7f\u3063\u3066\u3044\u3044\u611f\u3058\u306b\u30d7\u30ed\u30bb\u30b9\u30c4\u30ea\u30fc\u3092\u624b\u5143\u306e\u7aef\u672b\u306b\u7e4b\u304e\u5909\u3048\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8 - \u3082\u3082\u3044\u308d\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","type":"rich","categories":["bash"],"width":"100%","height":"190","author_name":"inaz2","image_url":null,"blog_title":"\u3082\u3082\u3044\u308d\u30c6\u30af\u30ce\u30ed\u30b8\u30fc","url":"https://inaz2.hatenablog.com/entry/2015/11/24/232735","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/inaz2/","published":"2015-11-24 23:27:35","description":"\u6b21\u306e\u30a8\u30f3\u30c8\u30ea\u306b\u3042\u308b\u3088\u3046\u306b\u3001gdb\u3092\u4f7f\u3046\u3068\u30d7\u30ed\u30bb\u30b9\u306e\u6a19\u6e96\u5165\u51fa\u529b\u3092\u5225\u306e\u7aef\u672b\uff08tty\uff09\u306b\u7e4b\u304e\u5909\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u5207\u308c\u305f\u30d7\u30ed\u30bb\u30b9\u3092\u6a19\u6e96\u51fa\u529b\u306b\u3064\u306a\u3052\u306a\u304a\u3059 - \u7d76\u54c1\u3086\u3069\u3046\u3075\u306e\u30bf\u30ec \u3057\u304b\u3057\u5b9f\u969b\u306b\u306f\u3042\u308b\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u30b5\u30d6\u30d7\u30ed\u30bb\u30b9\u304c\u8907\u6570\u547c\u3070\u308c\u3066\u3044\u308b\u72b6\u6cc1\u3082\u3042\u308a\u3001\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u306f\u305d\u308c\u305e\u308c\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u3064\u3044\u3066gdb\u3067\u30a2\u30bf\u30c3\u30c1\u3057\u3066\u7aef\u672b\u3092\u7e4b\u304e\u5909\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002 \u305d\u3053\u3067\u3001\u3053\u306e\u64cd\u4f5c\u3092\u697d\u306b\u884c\u3046\u305f\u3081\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u305f\u3002 #!/bin/bash # grabtty.sh rootpid=\"$1\" newtty=$(tty) if [[ $(whoami) != \"root\" ]]; then echo \"m\u2026","version":"1.0","title":"gdb\u3092\u4f7f\u3063\u3066\u3044\u3044\u611f\u3058\u306b\u30d7\u30ed\u30bb\u30b9\u30c4\u30ea\u30fc\u3092\u624b\u5143\u306e\u7aef\u672b\u306b\u7e4b\u304e\u5909\u3048\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8"}