From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12634 invoked by alias); 9 Apr 2011 04:14:51 -0000 Received: (qmail 12625 invoked by uid 22791); 9 Apr 2011 04:14:49 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BT,TW_DB X-Spam-Check-By: sourceware.org Received: from mail-px0-f182.google.com (HELO mail-px0-f182.google.com) (209.85.212.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 09 Apr 2011 04:14:45 +0000 Received: by pxi20 with SMTP id 20so1908876pxi.13 for ; Fri, 08 Apr 2011 21:14:45 -0700 (PDT) Received: by 10.142.249.9 with SMTP id w9mr2596957wfh.2.1302322485096; Fri, 08 Apr 2011 21:14:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.52.168 with HTTP; Fri, 8 Apr 2011 21:14:25 -0700 (PDT) In-Reply-To: <4D9F9BB2.1070904@redhat.com> References: <4D9F9BB2.1070904@redhat.com> From: Hui Zhu Date: Sat, 09 Apr 2011 04:14:00 -0000 Message-ID: Subject: Re: [PATCH] Rotate ChangeLog, fix build issues To: Keith Seitz Cc: insight Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2011-q2/txt/msg00001.txt.bz2 I am not sure, bug I got: gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR=3D"\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib -DMI_OUT=3D1 -DTUI=3D1 -DGDBTK -I/usr/include/python2.6 -I/usr/include/python2.6 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Werror -c -o gdbtk-bp.o -MT gdbtk-bp.o -MMD -MP -MF .deps/gdbtk-bp.Tpo -I../../src/gdb/../libgui/src -I/home/teawater/gdb/cvs/src/tcl/generic -I/home/teawater/gdb/cvs/src/tk/generic -DGDBTK_LIBRARY=3D\"/usr/local/share/insight1.0\" -DSRC_DIR=3D\"/home/teawater/gdb/cvs/src/gdb\" ../../src/gdb/gdbtk/generic/gdbtk-bp.c ../../src/gdb/gdbtk/generic/gdbtk-bp.c: In function 'tracepoint_exists': ../../src/gdb/gdbtk/generic/gdbtk-bp.c:834: error: too many arguments to function 'decode_line_1' make[2]: *** [gdbtk-bp.o] Error 1 make[2]: Leaving directory `/home/teawater/gdb/cvs/ba/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/teawater/gdb/cvs/ba' make: *** [all] Error 2 struct symtabs_and_lines decode_line_1 (char **argptr, int funfirstline, struct symtab *default_symt= ab, int default_line, struct linespec_result *canonical) Thanks, Hui On Sat, Apr 9, 2011 at 07:35, Keith Seitz wrote: > Hi, > > Now that I have something to commit, it is time to rotate the ChangeLog f= or > the year... > > I've committed the attached patch, which should fix all the build problems > that have been reported. Additionally, this should fix a crashing problem > that I discovered (some time ago) in the register window. > > If there are any problems, please let me know. > > Keith > > ChangeLog > 2011-04-08 =A0Keith Seitz =A0 > > =A0 =A0 =A0 =A0* generic/gdbtk-bp.c (tracepoint_exists): Update for > =A0 =A0 =A0 =A0decode_line_1 API change. > =A0 =A0 =A0 =A0* generic/gdbtk-cmds.c (gdb_eval): Use comman_val_print > =A0 =A0 =A0 =A0instead of val_print. > =A0 =A0 =A0 =A0(gdb_get_line_command): Update for decode_line_1 API > =A0 =A0 =A0 =A0changes. > =A0 =A0 =A0 =A0(gdb_get_file_command): Likewise. > =A0 =A0 =A0 =A0(gdb_get_function_command): Likewise. > =A0 =A0 =A0 =A0* generic/gdbtk-register.c (get_register_types): Use > =A0 =A0 =A0 =A0get_frame_register_value instead of frame_register. > =A0 =A0 =A0 =A0(get_register): Pass valid VALUE to val_print. > =A0 =A0 =A0 =A0Consolidate calls to get_current_gdbarch. > =A0 =A0 =A0 =A0* generic/gdbtk-stack.c (gdb_get_vars_command): Update > =A0 =A0 =A0 =A0for decode_line_1 API change. >