public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: gas/
@ 2009-01-10 23:19 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2009-01-10 23:19 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  69f6bc73a02f2a4d2f1125082dbcf3f5774539f7 (commit)
       via  b3b0cb4d915852276dbc8ace1556565d19d48a87 (commit)
       via  7a56a2c458cc543b6afc9db2dc3aefceedfbc51c (commit)
       via  dda21c0c8bc20cbaa85e2b24a7dfd7c4c0ce394e (commit)
       via  2e95d670cb8ca9b13c88fa6adbc7baef9239d0ea (commit)
       via  7cf22d1d6c85d9b75935dc65af7e12a609209424 (commit)
       via  51e678e7efcbe1e933d970491c733d84becb6768 (commit)
       via  58f8992d79a305a8427d5f592d0ccad451810d87 (commit)
       via  5ff7044261fce3ced393828fe0ed3cf66cf99651 (commit)
       via  9ae07e44039acecbd6047f49907b47131ebae43e (commit)
       via  784c173fcf9c84e1963a573a951291ef83054009 (commit)
       via  91394ed36ab2a6859c9be169f0eb5fccf0e95559 (commit)
       via  5f86b229221212b4c1c52869539798a25cc09455 (commit)
       via  7540d7a5126e83863832aaf8dfb88acdd77775ed (commit)
       via  1e70e6d6733c989b0f62aa4b90e9ca3e31fd601c (commit)
       via  91b400cbb0793ce12e724d0a74c20b2b69ba886a (commit)
       via  f53d9973143fcc59408221cff3695913a733c9d8 (commit)
       via  dfa92f2938a8a455558975906ac4fc6fab1994a9 (commit)
       via  113dc1139de965378886f0cda76aadcac0fc700c (commit)
       via  73b561a36d0072895e39cc25b599180f64bb8358 (commit)
       via  5e5bd1d1aaec8c5dc2d017559310c5d3b1f7e941 (commit)
       via  251821d85bf51b64556ffa53496f8d5b717d1b28 (commit)
       via  fc7825b81de334217f74fb3206bfc793cfa6d426 (commit)
       via  72e31e9dbd9ef0b29f4c217d0e4ec62a8240ed68 (commit)
       via  036999d0a933897c90eedebb8561fd61fe53b9e9 (commit)
       via  7002b113b9e2afed981d3eb9d4157c98a3a3c447 (commit)
       via  8ee6a98bd6643233f00f0c91693ea6a571d54182 (commit)
       via  21f684e3486b49b52365d0e6e012067f75c53a04 (commit)
       via  a296a0ecadd622bf0f1484bd0027196dea637915 (commit)
       via  f1aba448dbe81323a66229bee669b96c1975c092 (commit)
       via  427836f3214de2556bf2058fcbc34406ff8ce095 (commit)
       via  0859dc381bc745337a127755d33638f183e3f75d (commit)
       via  60e49fc0d2c1cb723806c540588a9fc9dc45f779 (commit)
       via  81592205b450e76260e628188cc24720d9d33a9d (commit)
       via  dcc61fc257100b0742340b450af4f958b138673d (commit)
       via  befd85e74b156e716882e75fdbd68ec5b07db36a (commit)
       via  a32f5f7e42cd949873aeb19f97e5308c8cb11a24 (commit)
       via  127bbf3a1da05460653cdc725da8b835cb3e4b28 (commit)
       via  e90465bc2f297fd8ad13589444565e33bc523ee5 (commit)
       via  c401d0f0d9ecf583e1ba7f3615843e6b990af2ee (commit)
       via  db684da85b5b658f953ed0bfa8a0dbd6b94b6222 (commit)
       via  edaa5febe3edb1e9cddeb2ac7600849553d5eb8f (commit)
       via  52e43ba70a07811d551d2c688fd75ce8fd5f8f51 (commit)
       via  10871c6b8a336f2b146936bdb760e5c60974638d (commit)
       via  03738d56d907cc637dc5d598fd733fe9dff3a8d1 (commit)
       via  a5061bc7b92b8e0047c1c8b8c22fb5446b859a1b (commit)
       via  4b91d20df87a5bbdf4d0921548e43a3a9d859fde (commit)
       via  7515bba947f7024128d2e7781ade7103f3e06ef8 (commit)
       via  f3c58c5f3e59ede0c7dcc1a0e6679357a3ffee3f (commit)
      from  26af839fdd5cd7143867acff0012473537ecc667 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 69f6bc73a02f2a4d2f1125082dbcf3f5774539f7
Author: H.J. Lu <hjl@lucon.org>
Date:   Sat Jan 10 17:25:52 2009 +0000

    gas/
    
    2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
    	.syscall.
    	(i386_align_code): Handle PROCESSOR_COREI7.
    	(md_show_usage): Add corei7, clflush and syscall.
    	(i386_target_format): Replace cpup4 with cpuclflush.
    
    	* gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
    
    	* doc/c-i386.texi: Document corei7, clflush and syscall.
    
    gas/testsuite/
    
    2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* gas/i386/arch-10.s: Add clflush and syscall.
    	* gas/i386/x86-64-arch-2.s: Likewise.
    
    	* gas/i386/arch-10.d: Updated.
    	* gas/i386/arch-10-1.l: Likewise.
    	* gas/i386/arch-10-2.l: Likewise.
    	* gas/i386/arch-10-3.l: Likewise.
    	* gas/i386/arch-10-4.l: Likewise.
    	* gas/i386/x86-64-arch-2.d: Likewise.
    
    opcodes/
    
    2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
    	CpuClflush and CpuSYSCALL, respectively. Remove CpuK8.  Add
    	CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
    	(cpu_flags): Remove CpuP4, CpuK6 and CpuK8.  Add CpuClflush
    	and CpuSYSCALL.
    	(lineno): Removed.
    	(set_bitfield): Take an argument, lineno.  Don't report lineno
    	on error if it is -1.
    	(process_i386_cpu_flag): Take an argument, lineno.
    	(process_i386_opcode_modifier): Likewise.
    	(process_i386_operand_type): Likewise.
    	(output_i386_opcode): Likewise.
    	(opcode_hash_entry): Add lineno.
    	(process_i386_opcodes): Updated.
    	(process_i386_registers): Likewise.
    	(process_i386_initializers): Likewise.
    
    	* i386-opc.h (CpuP4): Removed.
    	(CpuK6): Likewise.
    	(CpuK8): Likewise.
    	(CpuClflush): New.
    	(CpuSYSCALL): Likewise.
    	(CpuMMX): Updated.
    	(i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8.  Add
    	cpuclflush and cpusyscall.
    
    	* i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
    	syscall and sysret.
    	* i386-init.h: Regenerated.
    	* i386-tbl.h: Likewise.

commit b3b0cb4d915852276dbc8ace1556565d19d48a87
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Jan 10 00:00:05 2009 +0000

    daily update

commit 7a56a2c458cc543b6afc9db2dc3aefceedfbc51c
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Jan 10 00:00:02 2009 +0000

    *** empty log message ***

commit dda21c0c8bc20cbaa85e2b24a7dfd7c4c0ce394e
Author: Andreas Schwab <schwab@suse.de>
Date:   Fri Jan 9 21:15:09 2009 +0000

    * Makefile.in (init.c): Set LANG/LC_ALL to C, not c.

commit 2e95d670cb8ca9b13c88fa6adbc7baef9239d0ea
Author: H.J. Lu <hjl@lucon.org>
Date:   Fri Jan 9 20:32:32 2009 +0000

    gas/
    
    2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* config/tc-i386.c (cpu_arch): Add .rdtscp.
    	(md_show_usage): Display rdtscp.
    
    	* doc/c-i386.texi: Document rdtscp.
    
    gas/testsuite/
    
    2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* gas/i386/arch-10.s: Add rdtscp.
    	* gas/i386/x86-64-arch-2.s: Likewise.
    
    	* gas/i386/arch-10.d: Updated.
    	* gas/i386/arch-10-1.l: Likewise.
    	* gas/i386/arch-10-2.l: Likewise.
    	* gas/i386/arch-10-3.l: Likewise.
    	* gas/i386/arch-10-4.l: Likewise.
    	* gas/i386/x86-64-arch-2.d: Likewise.
    
    opcodes/
    
    2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
    	and CPU_AMDFAM10_FLAGS.  Add CPU_RDTSCP_FLAGS.
    	(cpu_flags): Add CpuRdtscp.
    	(set_bitfield): Remove CpuSledgehammer check.
    
    	* i386-opc.h (CpuRdtscp): New.
    	(CpuLM): Updated.
    	(i386_cpu_flags): Add cpurdtscp.
    
    	* i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
    	* i386-init.h: Regenerated.
    	* i386-tbl.h: Likewise.

commit 7cf22d1d6c85d9b75935dc65af7e12a609209424
Author: Peter Bergner <bergner@vnet.ibm.com>
Date:   Fri Jan 9 18:50:57 2009 +0000

    gas/
    	* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
    	Test the new "deprecated" opcode field.
    
    include/opcode/
    	* ppc.h (struct powerpc_opcode): New field "deprecated".
    	(PPC_OPCODE_NOPOWER4): Delete.
    
    opcodes/
    	* ppc-opc.c (PPCNONE): Define.
    	(NOPOWER4): Delete.
    	(powerpc_opcodes): Initialize the new "deprecated" field.

commit 51e678e7efcbe1e933d970491c733d84becb6768
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Jan 9 17:41:52 2009 +0000

    	* gdbtypes.c (append_composite_type_field): Correct the location of
    	appended fields.

commit 58f8992d79a305a8427d5f592d0ccad451810d87
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Jan 9 17:29:51 2009 +0000

    	* defs.h (deprecated_error_hook): Delete declaration.
    	* interps.c (clear_interpreter_hooks): Adjust.
    	* remote-sim.c (gdb_os_error): Don't try to call
    	deprecated_error_hook.  No need to call exit anymore.
    	* top.c (deprecated_error_hook): Delete.

commit 5ff7044261fce3ced393828fe0ed3cf66cf99651
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 11:09:07 2009 +0000

            * arch-utils.c (gdbarch_update_p): Use host_address_to_string
            to print the address of the gdbarch pointer.

commit 9ae07e44039acecbd6047f49907b47131ebae43e
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 11:06:48 2009 +0000

            * gdbarch.sh: Fix all the compilation errors on amd64-windows
            due to casting a pointer to a long when printing a function
            address. Instead, use host_address_to_string to convert our
            address to a string.
            * gdbarch.c: Regenerate.

commit 784c173fcf9c84e1963a573a951291ef83054009
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 11:00:00 2009 +0000

            * event-top.c (async_disconnect, async_stop_sig): use "raise"
            instead of "kill" to raise a signal.

commit 91394ed36ab2a6859c9be169f0eb5fccf0e95559
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 10:58:26 2009 +0000

            * win32-nat.c (get_module_name): Change the type of parameter
            "base_address" to LPVOID.  Remove unnecessary cast.
            (struct lm_info): Change type of load_addr to LPVOID.
            (win32_make_so): Change the type of parameter "load_addr"
            to LPVOID.  Remove some unnecessary casts.
            (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
            (win32_xfer_shared_libraries): Add missing cast.

commit 5f86b229221212b4c1c52869539798a25cc09455
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 10:48:36 2009 +0000

            * win32-nat.c (has_detach_ability, set_process_privilege):
            Cast the result of GetProcAddress to (void *) to avoid
            a compilation warning.

commit 7540d7a5126e83863832aaf8dfb88acdd77775ed
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 10:45:42 2009 +0000

            * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
            already defined.

commit 1e70e6d6733c989b0f62aa4b90e9ca3e31fd601c
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 10:43:37 2009 +0000

            * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
            definition of local variable "done".
            (info_w32_command, handle_exception): Remove unnecessary cast.

commit 91b400cbb0793ce12e724d0a74c20b2b69ba886a
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 10:39:15 2009 +0000

            * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
            DebugSetProcessKillOnExit.  Update all uses in this file.
            (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
            Update all uses in this file.

commit f53d9973143fcc59408221cff3695913a733c9d8
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 10:36:00 2009 +0000

            * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
            and use it when pushing the target.
            (win32_attach, win32_create_inferior): Update call to
            do_initial_win32_stuff.
            (win32_detach, win32_mourn_inferior): Use our ops parameter
            instead of the global win32_ops to unpush the target.

commit dfa92f2938a8a455558975906ac4fc6fab1994a9
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 10:32:34 2009 +0000

            * ser-mingw.c (ser_windows_open): Use proper type when casting
            in call to _open_osfhandle.

commit 113dc1139de965378886f0cda76aadcac0fc700c
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Fri Jan 9 09:33:30 2009 +0000

    2009-01-09  Kai Tietz  <kai.tietz@onevision.com>
    
            * coff-pe-read.c (read_pe_exported_syms): Fix typo.

commit 73b561a36d0072895e39cc25b599180f64bb8358
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Jan 9 04:46:22 2009 +0000

            * CONTRIBUTE: Minor reformatting.

commit 5e5bd1d1aaec8c5dc2d017559310c5d3b1f7e941
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Jan 9 00:00:34 2009 +0000

    *** empty log message ***

commit 251821d85bf51b64556ffa53496f8d5b717d1b28
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Jan 9 00:00:05 2009 +0000

    daily update

commit fc7825b81de334217f74fb3206bfc793cfa6d426
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Thu Jan 8 20:53:32 2009 +0000

    2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
    
    	* coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
    	export directory.

commit 72e31e9dbd9ef0b29f4c217d0e4ec62a8240ed68
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Thu Jan 8 20:46:13 2009 +0000

    2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
    
    	* MAINTAINERS: Add myself to Write After Approval.

commit 036999d0a933897c90eedebb8561fd61fe53b9e9
Author: Nathan Froyd <froydnj@codesourcery.com>
Date:   Thu Jan 8 19:19:26 2009 +0000

    	* remote-sim.c (gdb_os_error): Mark as a noreturn function.
    	Call exit to make it obvious to GCC.

commit 7002b113b9e2afed981d3eb9d4157c98a3a3c447
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 8 16:32:24 2009 +0000

    	PR breakpoints/9350:
    	* varobj.c (varobj_invalidate): Unconditionally free
    	all_rootvarobj.
    	* symfile.c (syms_from_objfile): Free local_addr when returning
    	normally.
    	* exec.c (exec_file_attach): Do cleanups before returning.
    	(exec_file_command): Likewise.
    	* corefile.c (reopen_exec_file): Do cleanups before returning.
    	* breakpoint.c (insert_breakpoint_locations): Do cleanups before
    	returning.
    	(do_vec_free): New function.
    	(update_global_location_list): Make a cleanup for old_locations.
    	Do cleanups before returning.  Remove unused variable 'e'.
    	(find_condition_and_thread): Free result of parsing the
    	expression.
    	(print_it_typical): Do cleanups before returning.
    	(breakpoint_re_set_one): Always free sals.sals.

commit 8ee6a98bd6643233f00f0c91693ea6a571d54182
Author: esuzuki <esuzuki>
Date:   Thu Jan 8 03:58:06 2009 +0000

    * breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
    watchpoints.

commit 21f684e3486b49b52365d0e6e012067f75c53a04
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Jan 8 00:00:33 2009 +0000

    *** empty log message ***

commit a296a0ecadd622bf0f1484bd0027196dea637915
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Jan 8 00:00:04 2009 +0000

    daily update

commit f1aba448dbe81323a66229bee669b96c1975c092
Author: Doug Evans <dje@google.com>
Date:   Wed Jan 7 22:04:47 2009 +0000

    	* top.c (gdb_prompt_string): Delete, unused.

commit 427836f3214de2556bf2058fcbc34406ff8ce095
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Jan 7 21:42:49 2009 +0000

    gdb/
    2009-01-07  Pedro Alves  <pedro@codesourcery.com>
    
    	Delete ONE_PROCESS_WRITETEXT leftovers.
    
    	* breakpoint.c (insert_bp_location): Delete process_warning
    	argument.  Adjust.
    	(insert_breakpoint_locations): Adjust.
    	(reattach_breakpoints): Adjust.
    	* infrun.c (normal_stop): Drop "It might be running in another
    	process" notice.
    
    gdb/doc/
    2009-01-07  Pedro Alves  <pedro@codesourcery.com>
    
    	* gdb.texinfo (Error in Breakpoints): Delete mention of "The same
    	program may be running in another process" errors.
    	* gdbint.texinfo (Native Conditionals): Delete
    	ONE_PROCESS_WRITETEXT description.

commit 0859dc381bc745337a127755d33638f183e3f75d
Author: Stan Shebs <shebs@apple.com>
Date:   Wed Jan 7 21:21:10 2009 +0000

    	* config/pa/linux.mh (XDEPFILES): Remove.

commit 60e49fc0d2c1cb723806c540588a9fc9dc45f779
Author: Doug Evans <dje@google.com>
Date:   Wed Jan 7 20:38:16 2009 +0000

    	* cli/cli-cmds.c (set_debug): Fix cut-n-paste error.

commit 81592205b450e76260e628188cc24720d9d33a9d
Author: DJ Delorie <dj@delorie.com>
Date:   Wed Jan 7 18:52:57 2009 +0000

    merge from gcc

commit dcc61fc257100b0742340b450af4f958b138673d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Jan 7 12:39:12 2009 +0000

    gdb/
    	* f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
    	spacing, a regression from 2008-04-22.
    
    gdb/testsuite/
    	* gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
    	now the output exactly, using less wildcards.  Expect also the output
    	of gfortran-4.3.  Update for the f-valprint.c modification from
    	2008-04-22.
    	* gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
    	Remove gdb_test test names where matching the command.

commit befd85e74b156e716882e75fdbd68ec5b07db36a
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Jan 7 12:11:07 2009 +0000

            * utils.c (gdb_print_host_address): Adjust implementation to
            reuse host_address_to_string. Move comment explaining the conversion
            from host address to string from here...
            (host_address_to_string): ... to there.

commit a32f5f7e42cd949873aeb19f97e5308c8cb11a24
Author: esuzuki <esuzuki>
Date:   Wed Jan 7 09:28:30 2009 +0000

    * MAINTAINERS: Add myself for write after approval privileges.

commit 127bbf3a1da05460653cdc725da8b835cb3e4b28
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Jan 7 04:42:45 2009 +0000

            * gdbint.texinfo (Start of New Year Procedure): Add the "coding"
            emacs local variable to be placed at the end of the ChangeLog.
            Add server.c and gdbreplay.c to the list of files where the
            copyright year needs to be updated.

commit e90465bc2f297fd8ad13589444565e33bc523ee5
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Wed Jan 7 03:28:45 2009 +0000

    	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
    	<case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
    	the program, the known offset starts at the negative size of the
    	TLS section.
    	<case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
    	Similar.

commit c401d0f0d9ecf583e1ba7f3615843e6b990af2ee
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Wed Jan 7 01:12:51 2009 +0000

    	* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
    	(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
    	(SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
    	variant; UQI, UHI, USI, UDI, and cast the result to the signed
    	type, QI, HI, SI, DI.

commit db684da85b5b658f953ed0bfa8a0dbd6b94b6222
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Wed Jan 7 01:12:51 2009 +0000

    	* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
    	(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
    	(SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
    	variant; UQI, UHI, USI, UDI, and cast the result to the signed
    	type, QI, HI, SI, DI.

commit edaa5febe3edb1e9cddeb2ac7600849553d5eb8f
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Wed Jan 7 01:10:23 2009 +0000

    	* sem.c: Regenerate.

commit 52e43ba70a07811d551d2c688fd75ce8fd5f8f51
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 7 00:45:54 2009 +0000

    	* value.c (set_internalvar): Use value_free, not xfree.

commit 10871c6b8a336f2b146936bdb760e5c60974638d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Jan 7 00:00:35 2009 +0000

    *** empty log message ***

commit 03738d56d907cc637dc5d598fd733fe9dff3a8d1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Jan 7 00:00:05 2009 +0000

    daily update

commit a5061bc7b92b8e0047c1c8b8c22fb5446b859a1b
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Tue Jan 6 23:39:28 2009 +0000

    	* callback.c (os_error): Mark as being a noreturn function.
    	* sim-io.h (sim_io_error): Similar for sim_io_error.

commit 4b91d20df87a5bbdf4d0921548e43a3a9d859fde
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Tue Jan 6 23:38:44 2009 +0000

    	* callback.h (struct host_callback_struct): Mark member error as
    	pointing to a noreturn function.

commit 7515bba947f7024128d2e7781ade7103f3e06ef8
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Tue Jan 6 20:50:09 2009 +0000

    	* sim/cris/c/mmap5.c, sim/cris/c/mmap6.c, sim/cris/c/mmap7.c,
    	sim/cris/c/mmap8.c, sim/cris/c/hellodyn3.c: New tests.

commit f3c58c5f3e59ede0c7dcc1a0e6679357a3ffee3f
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Tue Jan 6 20:48:58 2009 +0000

    	* cris/traps.c (abort): Define to call sim_io_error.
    	(create_map): Make -1 imply a non-fixed address, not 0.  All
    	callers changed.  Only prefer the next higher unmapped address if
    	the last mapped address is no less than 0x40000000.  Check that
    	the address to be mapped is not already mapped.  Update head
    	comment.
    	(unmap_pages): Don't call abort when recursive call fails, just
    	note and return an error if a page in the range couldn't be unmapped.
    	(cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
    	(schedule, make_first_thread, cris_pipe_empty): New local variable sd.
    	(cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
    	non-MAP_FIXED argument overlapping existing map.  For MAP_FIXED,
    	don't abort on page not being mapped.  Handle non-anon filemap
    	with length padded to pagesize.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                              |    9 +
 bfd/elf32-cris.c                           |   10 +-
 bfd/version.h                              |    2 +-
 gdb/CONTRIBUTE                             |    3 +-
 gdb/ChangeLog                              |  171 +
 gdb/MAINTAINERS                            |    2 +
 gdb/Makefile.in                            |    4 +-
 gdb/arch-utils.c                           |    8 +-
 gdb/breakpoint.c                           |  151 +-
 gdb/cli/cli-cmds.c                         |    2 +-
 gdb/coff-pe-read.c                         |   25 +-
 gdb/config/pa/linux.mh                     |    1 -
 gdb/corefile.c                             |    5 +-
 gdb/defs.h                                 |    2 -
 gdb/doc/ChangeLog                          |   14 +
 gdb/doc/gdb.texinfo                        |   35 +-
 gdb/doc/gdbint.texinfo                     |   14 +-
 gdb/event-top.c                            |    4 +-
 gdb/exec.c                                 |   11 +-
 gdb/f-typeprint.c                          |    3 +-
 gdb/gdbarch.c                              |  318 +-
 gdb/gdbarch.sh                             |   26 +-
 gdb/gdbtypes.c                             |    7 +-
 gdb/infrun.c                               |    1 -
 gdb/interps.c                              |    1 -
 gdb/remote-sim.c                           |   17 +-
 gdb/ser-mingw.c                            |    2 +-
 gdb/symfile.c                              |    1 +
 gdb/testsuite/ChangeLog                    |    9 +
 gdb/testsuite/gdb.fortran/derived-type.exp |   61 +-
 gdb/testsuite/gdb.fortran/subarray.exp     |   58 +-
 gdb/top.c                                  |    8 -
 gdb/utils.c                                |   11 +-
 gdb/value.c                                |    2 +-
 gdb/varobj.c                               |    2 +-
 gdb/version.in                             |    2 +-
 gdb/win32-nat.c                            |   81 +-
 include/gdb/ChangeLog                      |    5 +
 include/gdb/callback.h                     |    6 +-
 include/opcode/ChangeLog                   |    5 +
 include/opcode/ppc.h                       |    8 +-
 libiberty/ChangeLog                        |    9 +
 libiberty/cp-demangle.c                    |   17 +-
 opcodes/ChangeLog                          |   54 +
 opcodes/i386-gen.c                         |   89 +-
 opcodes/i386-init.h                        |  106 +-
 opcodes/i386-opc.h                         |   22 +-
 opcodes/i386-opc.tbl                       |   17 +-
 opcodes/i386-tbl.h                         | 3558 ++++++++--------
 opcodes/ppc-opc.c                          | 6202 ++++++++++++++--------------
 sim/ChangeLog                              |   17 +
 sim/common/ChangeLog                       |   11 +
 sim/common/callback.c                      |    6 +-
 sim/common/cgen-ops.h                      |   42 +-
 sim/common/sim-io.h                        |    4 +-
 sim/cris/traps.c                           |   75 +-
 sim/frv/ChangeLog                          |    4 +
 sim/frv/sem.c                              |  108 +-
 sim/testsuite/ChangeLog                    |    5 +
 sim/testsuite/sim/cris/c/hellodyn3.c       |    9 +
 sim/testsuite/sim/cris/c/mmap5.c           |   91 +
 sim/testsuite/sim/cris/c/mmap6.c           |    8 +
 sim/testsuite/sim/cris/c/mmap7.c           |   14 +
 sim/testsuite/sim/cris/c/mmap8.c           |    9 +
 64 files changed, 6067 insertions(+), 5517 deletions(-)
 create mode 100644 sim/testsuite/sim/cris/c/hellodyn3.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap5.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap6.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap7.c
 create mode 100644 sim/testsuite/sim/cris/c/mmap8.c

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c114076..da237ce 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,12 @@
+2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
+
+	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
+	<case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
+	the program, the known offset starts at the negative size of the
+	TLS section.
+	<case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
+	Similar.
+
 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
 
 	* config.bfd: Add lm32-*-rtems*.
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index ea268fc..dbc00ba 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -1721,8 +1721,9 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 	      bfd_vma off;
 
 	      /* The symbol is defined in the program, so just write
-		 (1, known_tpoffset) into the GOT.  */
+		 (1, -prog_tls_size+known_tpoffset) into the GOT.  */
 	      relocation -= elf_hash_table (info)->tls_sec->vma;
+	      relocation -= elf_hash_table (info)->tls_sec->size;
 
 	      if (h != NULL)
 		{
@@ -1872,8 +1873,9 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 	      bfd_vma off;
 
 	      /* The symbol is defined in the program, so just write
-		 the known_tpoffset into the GOT.  */
+		 the -prog_tls_size+known_tpoffset into the GOT.  */
 	      relocation -= elf_hash_table (info)->tls_sec->vma;
+	      relocation -= elf_hash_table (info)->tls_sec->size;
 
 	      if (h != NULL)
 		off = h->got.offset;
@@ -2001,7 +2003,9 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 
 	  /* NULL if we had an error.  */
 	  relocation -= elf_hash_table (info)->tls_sec == NULL
-	    ? 0 : elf_hash_table (info)->tls_sec->vma;
+	    ? 0
+	    : (elf_hash_table (info)->tls_sec->vma
+	       + elf_hash_table (info)->tls_sec->size);
 
 	  /* The TLS-relative offset is the relocation.  */
 	  break;
diff --git a/bfd/version.h b/bfd/version.h
index 65dbb42..2bde24f 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20090106
+#define BFD_VERSION_DATE 20090110
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/CONTRIBUTE b/gdb/CONTRIBUTE
index 67a2ed4..75b6ddf 100644
--- a/gdb/CONTRIBUTE
+++ b/gdb/CONTRIBUTE
@@ -49,7 +49,8 @@ o	Copyright Assignment
 	taking care of your contributions) to obtain the relevant
 	forms.
 
-	Small changes can be accepted without a copyright assignment form on file.
+        Small changes can be accepted without a copyright assignment form
+        on file.
 
 	Ref: http://www.gnu.org/prep/maintain.html#SEC6
 
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8c93b4a..9ceec2b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,174 @@
+2009-01-09  Andreas Schwab  <schwab@suse.de>
+
+	* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
+
+2009-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* gdbtypes.c (append_composite_type_field): Correct the location of
+	appended fields.
+
+2009-01-09  Pedro Alves  <pedro@codesourcery.com>
+
+	* defs.h (deprecated_error_hook): Delete declaration.
+	* interps.c (clear_interpreter_hooks): Adjust.
+	* remote-sim.c (gdb_os_error): Don't try to call
+	deprecated_error_hook.  No need to call exit anymore.
+	* top.c (deprecated_error_hook): Delete.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* arch-utils.c (gdbarch_update_p): Use host_address_to_string
+	to print the address of the gdbarch pointer.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdbarch.sh: Fix all the compilation errors on amd64-windows
+	due to casting a pointer to a long when printing a function
+	address. Instead, use host_address_to_string to convert our
+	address to a string.
+	* gdbarch.c: Regenerate.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* event-top.c (async_disconnect, async_stop_sig): use "raise"
+	instead of "kill" to raise a signal.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (get_module_name): Change the type of parameter
+	"base_address" to LPVOID.  Remove unnecessary cast.
+	(struct lm_info): Change type of load_addr to LPVOID.
+	(win32_make_so): Change the type of parameter "load_addr"
+	to LPVOID.  Remove some unnecessary casts.
+	(handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
+	(win32_xfer_shared_libraries): Add missing cast.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (has_detach_ability, set_process_privilege):
+	Cast the result of GetProcAddress to (void *) to avoid
+	a compilation warning.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
+	already defined.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (get_image_name, win32_xfer_memory): Fix type
+	definition of local variable "done".
+	(info_w32_command, handle_exception): Remove unnecessary cast.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
+	DebugSetProcessKillOnExit.  Update all uses in this file.
+	(kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
+	Update all uses in this file.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
+	and use it when pushing the target.
+	(win32_attach, win32_create_inferior): Update call to
+	do_initial_win32_stuff.
+	(win32_detach, win32_mourn_inferior): Use our ops parameter
+	instead of the global win32_ops to unpush the target.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* ser-mingw.c (ser_windows_open): Use proper type when casting
+	in call to _open_osfhandle.
+
+2009-01-09  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coff-pe-read.c (read_pe_exported_syms): Fix typo.
+
+2009-01-09  Joel Brobecker  <brobecker@adacore.com>
+
+	* CONTRIBUTE: Minor reformatting.
+
+2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
+
+	* MAINTAINERS: Add myself to Write After Approval.
+	* coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
+	export directory.
+
+2009-01-08  Nathan Froyd  <froydnj@codesourcery.com>
+
+	* remote-sim.c (gdb_os_error): Mark as a noreturn function.
+	Call exit to make it obvious to GCC.
+
+2009-01-08  Tom Tromey  <tromey@redhat.com>
+
+	PR breakpoints/9350:
+	* varobj.c (varobj_invalidate): Unconditionally free
+	all_rootvarobj.
+	* symfile.c (syms_from_objfile): Free local_addr when returning
+	normally.
+	* exec.c (exec_file_attach): Do cleanups before returning.
+	(exec_file_command): Likewise.
+	* corefile.c (reopen_exec_file): Do cleanups before returning.
+	* breakpoint.c (insert_breakpoint_locations): Do cleanups before
+	returning. 
+	(do_vec_free): New function.
+	(update_global_location_list): Make a cleanup for old_locations.
+	Do cleanups before returning.  Remove unused variable 'e'.
+	(find_condition_and_thread): Free result of parsing the
+	expression.
+	(print_it_typical): Do cleanups before returning.
+	(breakpoint_re_set_one): Always free sals.sals.
+
+2009-01-08  Joel Brobecker  <brobecker@adacore.com>
+	    Emi Suzuki  <emi-suzuki@tjsys.co.jp>
+ 
+	* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
+	watchpoints.
+
+2009-01-07  Doug Evans  <dje@google.com>
+
+	* top.c (gdb_prompt_string): Delete, unused.
+
+2009-01-07  Pedro Alves  <pedro@codesourcery.com>
+
+	Delete ONE_PROCESS_WRITETEXT leftovers.
+
+	* breakpoint.c (insert_bp_location): Delete process_warning
+	argument.  Adjust.
+	(insert_breakpoint_locations): Adjust.
+	(reattach_breakpoints): Adjust.
+	* infrun.c (normal_stop): Drop "It might be running in another
+	process" notice.
+
+2009-01-07  Stan Shebs  <stan@codesourcery.com>
+
+	* config/pa/linux.mh (XDEPFILES): Remove.
+
+2009-01-07  Doug Evans  <dje@google.com>
+
+	* cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
+
+2009-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
+	spacing, a regression from 2008-04-22.
+
+2009-01-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* utils.c (gdb_print_host_address): Adjust implementation to
+	reuse host_address_to_string. Move comment explaining the conversion
+	from host address to string from here...
+	(host_address_to_string): ... to there.
+
+2009-01-07  Emi Suzuki  <emi-suzuki@tjsys.co.jp>
+
+	* MAINTAINERS: Add myself for write after approval privileges.
+
+2009-01-06  Tom Tromey  <tromey@redhat.com>
+
+	* value.c (set_internalvar): Use value_free, not xfree.
+
 2009-01-06  Jim Blandy  <jimb@red-bean.com>
 
 	Check return values of functions declared with warn_unused_result
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index d599826..672d5f7 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -580,10 +580,12 @@ Jackie Smith Cashion				jsmith@redhat.com
 Michael Snyder					msnyder@vmware.com
 Petr Sorfa					petrs@caldera.com
 Andrew Stubbs					ams@codesourcery.com
+Emi Suzuki					emi-suzuki@tjsys.co.jp
 Ian Lance Taylor				ian@airs.com
 Gary Thomas					gthomas@redhat.com
 Jason Thorpe					thorpej@netbsd.org
 Caroline Tice					ctice@apple.com
+Kai Tietz					kai.tietz@onevision.com
 Tom Tromey					tromey@redhat.com
 David Ung					davidu@mips.com
 D Venkatasubramanian				dvenkat@noida.hcltech.com
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 14eaa37..2fe2d7a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1011,8 +1011,8 @@ init.c: $(INIT_FILES)
 	@rm -f init.c-tmp init.l-tmp
 	@touch init.c-tmp
 	@echo gdbtypes > init.l-tmp
-	@-LANG=c ; export LANG ; \
-	LC_ALL=c ; export LC_ALL ; \
+	@-LANG=C ; export LANG ; \
+	LC_ALL=C ; export LC_ALL ; \
 	echo $(INIT_FILES) | \
 	tr ' ' '\012' | \
 	sed \
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 41c4933..c1ea9da 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -495,8 +495,8 @@ gdbarch_update_p (struct gdbarch_info info)
     {
       if (gdbarch_debug)
 	fprintf_unfiltered (gdb_stdlog, "gdbarch_update_p: "
-			    "Architecture 0x%08lx (%s) unchanged\n",
-			    (long) new_gdbarch,
+			    "Architecture %s (%s) unchanged\n",
+			    host_address_to_string (new_gdbarch),
 			    gdbarch_bfd_arch_info (new_gdbarch)->printable_name);
       return 1;
     }
@@ -504,8 +504,8 @@ gdbarch_update_p (struct gdbarch_info info)
   /* It's a new architecture, swap it in.  */
   if (gdbarch_debug)
     fprintf_unfiltered (gdb_stdlog, "gdbarch_update_p: "
-			"New architecture 0x%08lx (%s) selected\n",
-			(long) new_gdbarch,
+			"New architecture %s (%s) selected\n",
+			host_address_to_string (new_gdbarch),
 			gdbarch_bfd_arch_info (new_gdbarch)->printable_name);
   deprecated_current_gdbarch_select_hack (new_gdbarch);
 
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 2e25490..65bbca9 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -1029,14 +1029,14 @@ should_be_inserted (struct bp_location *bpt)
 
 /* Insert a low-level "breakpoint" of some type.  BPT is the breakpoint.
    Any error messages are printed to TMP_ERROR_STREAM; and DISABLED_BREAKS,
-   PROCESS_WARNING, and HW_BREAKPOINT_ERROR are used to report problems.
+   and HW_BREAKPOINT_ERROR are used to report problems.
 
    NOTE drow/2003-09-09: This routine could be broken down to an object-style
    method for each breakpoint or catchpoint type.  */
 static int
 insert_bp_location (struct bp_location *bpt,
 		    struct ui_file *tmp_error_stream,
-		    int *disabled_breaks, int *process_warning,
+		    int *disabled_breaks,
 		    int *hw_breakpoint_error)
 {
   int val = 0;
@@ -1179,9 +1179,6 @@ Note: automatically using hardware breakpoints for read-only addresses.\n"));
 	    }
 	  else
 	    {
-#ifdef ONE_PROCESS_WRITETEXT
-	      *process_warning = 1;
-#endif
 	      if (bpt->loc_type == bp_loc_hardware_breakpoint)
 		{
 		  *hw_breakpoint_error = 1;
@@ -1279,10 +1276,9 @@ insert_breakpoint_locations (void)
   int val = 0;
   int disabled_breaks = 0;
   int hw_breakpoint_error = 0;
-  int process_warning = 0;
 
   struct ui_file *tmp_error_stream = mem_fileopen ();
-  make_cleanup_ui_file_delete (tmp_error_stream);
+  struct cleanup *cleanups = make_cleanup_ui_file_delete (tmp_error_stream);
   
   /* Explicitly mark the warning -- this will only be printed if
      there was an error.  */
@@ -1300,7 +1296,7 @@ insert_breakpoint_locations (void)
 	continue;
 
       val = insert_bp_location (b, tmp_error_stream,
-				    &disabled_breaks, &process_warning,
+				    &disabled_breaks,
 				    &hw_breakpoint_error);
       if (val)
 	error = val;
@@ -1352,14 +1348,11 @@ insert_breakpoint_locations (void)
 			      "Could not insert hardware breakpoints:\n\
 You may have requested too many hardware breakpoints/watchpoints.\n");
 	}
-#ifdef ONE_PROCESS_WRITETEXT
-      if (process_warning)
-	fprintf_unfiltered (tmp_error_stream,
-			    "The same program may be running in another process.");
-#endif
       target_terminal_ours_for_output ();
       error_stream (tmp_error_stream);
     }
+
+  do_cleanups (cleanups);
 }
 
 int
@@ -1405,7 +1398,7 @@ reattach_breakpoints (int pid)
   int val;
   struct cleanup *old_chain = save_inferior_ptid ();
   struct ui_file *tmp_error_stream = mem_fileopen ();
-  int dummy1 = 0, dummy2 = 0, dummy3 = 0;
+  int dummy1 = 0, dummy2 = 0;
 
   make_cleanup_ui_file_delete (tmp_error_stream);
 
@@ -1416,7 +1409,7 @@ reattach_breakpoints (int pid)
       {
 	b->inserted = 0;
 	val = insert_bp_location (b, tmp_error_stream,
-				  &dummy1, &dummy2, &dummy3);
+				  &dummy1, &dummy2);
 	if (val != 0)
 	  {
 	    do_cleanups (old_chain);
@@ -2241,13 +2234,13 @@ watchpoint_value_print (struct value *val, struct ui_file *stream)
 static enum print_stop_action
 print_it_typical (bpstat bs)
 {
-  struct cleanup *old_chain, *ui_out_chain;
+  struct cleanup *old_chain;
   struct breakpoint *b;
   const struct bp_location *bl;
   struct ui_stream *stb;
-  int bp_temp = 0;  
-  stb = ui_out_stream_new (uiout);
-  old_chain = make_cleanup_ui_out_stream_delete (stb);
+  int bp_temp = 0;
+  enum print_stop_action result;
+
   /* bs->breakpoint_at can be NULL if it was a momentary breakpoint
      which has since been deleted.  */
   if (bs->breakpoint_at == NULL)
@@ -2255,6 +2248,9 @@ print_it_typical (bpstat bs)
   bl = bs->breakpoint_at;
   b = bl->owner;
 
+  stb = ui_out_stream_new (uiout);
+  old_chain = make_cleanup_ui_out_stream_delete (stb);
+
   switch (b->type)
     {
     case bp_breakpoint:
@@ -2277,7 +2273,7 @@ print_it_typical (bpstat bs)
 	}
       ui_out_field_int (uiout, "bkptno", b->number);
       ui_out_text (uiout, ", ");
-      return PRINT_SRC_AND_LOC;
+      result = PRINT_SRC_AND_LOC;
       break;
 
     case bp_shlib_event:
@@ -2285,20 +2281,20 @@ print_it_typical (bpstat bs)
 	 variable?  (If so, we report this as a generic, "Stopped due
 	 to shlib event" message.) */
       printf_filtered (_("Stopped due to shared library event\n"));
-      return PRINT_NOTHING;
+      result = PRINT_NOTHING;
       break;
 
     case bp_thread_event:
       /* Not sure how we will get here. 
 	 GDB should not stop for these breakpoints.  */
       printf_filtered (_("Thread Event Breakpoint: gdb should not stop!\n"));
-      return PRINT_NOTHING;
+      result = PRINT_NOTHING;
       break;
 
     case bp_overlay_event:
       /* By analogy with the thread event, GDB should not stop for these. */
       printf_filtered (_("Overlay Event Breakpoint: gdb should not stop!\n"));
-      return PRINT_NOTHING;
+      result = PRINT_NOTHING;
       break;
 
     case bp_watchpoint:
@@ -2309,17 +2305,16 @@ print_it_typical (bpstat bs)
 	  (uiout, "reason",
 	   async_reason_lookup (EXEC_ASYNC_WATCHPOINT_TRIGGER));
       mention (b);
-      ui_out_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "value");
+      make_cleanup_ui_out_tuple_begin_end (uiout, "value");
       ui_out_text (uiout, "\nOld value = ");
       watchpoint_value_print (bs->old_val, stb->stream);
       ui_out_field_stream (uiout, "old", stb);
       ui_out_text (uiout, "\nNew value = ");
       watchpoint_value_print (b->val, stb->stream);
       ui_out_field_stream (uiout, "new", stb);
-      do_cleanups (ui_out_chain);
       ui_out_text (uiout, "\n");
       /* More than one watchpoint may have been triggered.  */
-      return PRINT_UNKNOWN;
+      result = PRINT_UNKNOWN;
       break;
 
     case bp_read_watchpoint:
@@ -2328,13 +2323,12 @@ print_it_typical (bpstat bs)
 	  (uiout, "reason",
 	   async_reason_lookup (EXEC_ASYNC_READ_WATCHPOINT_TRIGGER));
       mention (b);
-      ui_out_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "value");
+      make_cleanup_ui_out_tuple_begin_end (uiout, "value");
       ui_out_text (uiout, "\nValue = ");
       watchpoint_value_print (b->val, stb->stream);
       ui_out_field_stream (uiout, "value", stb);
-      do_cleanups (ui_out_chain);
       ui_out_text (uiout, "\n");
-      return PRINT_UNKNOWN;
+      result = PRINT_UNKNOWN;
       break;
 
     case bp_access_watchpoint:
@@ -2346,7 +2340,7 @@ print_it_typical (bpstat bs)


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-10 23:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-10 23:19 [SCM] master: gas/ jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).