当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Gdb/Armulator 源代码分析 文章作者:陈亘 HE
 

 

    摘要:  也许用到的机会很少,但jdk还是为我们提供了这个的功能。像许多软件中的打印预览功能,还有某些文本编辑器中为了获得更大的编辑画面,也用到了全屏幕模式,如果你有兴趣写一个像acdsee这样的软件,使用全屏幕模式可以让用户看到更大的图片画面。 全文阅读:java的秘密武器:使用全屏幕模式 ......
 ·using the webservice behavior     »显示摘要«
    摘要: using the webservice behavior internet development index this article explains how to use the webservice behavior to call remote methods from web services. the webservice behavior is im......


[转贴]Gdb/Armulator 源代码分析
gdb/armulator 源代码分析

作者email: anti_chen2000@sohu.com 【程序编程相关:EJB的Home和Object

文章作者:陈亘 【推荐阅读:[收藏]C++大师Stan Lippma

    gdb/armulator 是gdb自带的arm7模拟器,是调试arm程序的一个好工具.而了解它的原码结构对扩展它的io功能有重要意义.本文介绍了从armulator的启动到其内部运作与io扩展的大部分原代码功能. 【扩展信息:r.a.d treeview 3.0使用

    摘要

    说明

    源代码用的是gdb-5.0.tar+ gdb-5.0-uclinux-armulator-20021127.patch

    a. 与gdb间的通迅

    armulator一般与gdb通讯有两种方式,其一是在gdb内部直接调用模拟器的相关函数,另一方法则是用pipe或socket传递rdp协议来连接gdb与amulator.而第一种方法是现在gdb/armulator所真正使用的(第二种是早期使用的方法),下面就分析了函数直接调用法.

    函数直接调用

这个方法是由steve (sac@cygnus.com) 修改原rdp方法而来的,steve本人的描述如下:

/******************************************************

this directory contains the standard release of the armulator from

advanced risc machines, and was ftp´d from.

ftp.cl.cam.ac.uk:/arm/gnu

it likes to use tcp/ip between the simulator and the host, which is

nice, but is a pain to use under anything non-unix.

i´ve added created a new makefile.in (the original in makefile.orig)

to build a version of the simulator without the tcp/ip stuff, and a

wrapper.c to link directly into gdb and the run command.

it should be possible (barring major changes in the layout of

the armulator) to upgrade the simulator by copying all the files

out of a release into this directory and renaming the makefile.


...   下一页
 ·实现hibernate分页查询原理解读    »显示摘要«
    摘要:那么hibernate底层如何实现分页的呢?实际上hibernate的查询定义在net.sf.hibernate.loader.loader这个类里面,仔细阅读该类代码,就可以把问题彻底搞清楚。全文阅读:实现hibernate分页查询原理解读 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE