public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  jankratochvil/ipv6: Merge branch 'gnulibupdate-gnulibplus2' into gnulibupdate-gnulibplus2-ipv6
@ 2013-04-21 18:15 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2013-04-21 18:15 UTC (permalink / raw)
  To: archer-commits

The branch, jankratochvil/ipv6 has been updated
       via  e3005ec0a2efaf9c727f3bd6fe14f60e54dc5211 (commit)
       via  57683ce40e9839a060f13795dcd7f30cf9e9cff8 (commit)
       via  b9e696babcbb4f4579e8f3bae64a8f53d328bd3b (commit)
       via  e200200d9072f5a1ad80ece2b654e78a66a113ef (commit)
       via  870badd303625b196baec1dca8d1cee9c88f047c (commit)
       via  e34ac3181084e40a07c2c8483cc8989849b3e4a2 (commit)
       via  7617501aff269a4344f5ba0d3af0ab11e75e6c32 (commit)
       via  aaaf434047129fb0ef07ba6b450105d5cfdefe73 (commit)
       via  4446bed0a79dfe38e1390cb563d8f146a9f07feb (commit)
       via  064089ea8bff6088c25347790569670735fff568 (commit)
       via  9d98d54e5dd823ce1db8eaa5565786353bde08d2 (commit)
       via  5461f4b4302ed312ae837284661f63bcbb5f0150 (commit)
       via  f857351bba8ed38f911fae105fb163ecbb891f38 (commit)
       via  105a5d1d91e1262b3f9c41cba005de5bb67d1d8b (commit)
       via  df3f6541130aef717e500bc647efa1bde2ac65d3 (commit)
       via  19c227dcd47973ba3d4ab7b69967b94840df0e34 (commit)
       via  f7eb9e8a850efb3f2c65d29cdacaf88ada15f8bd (commit)
       via  5e5c0ff1bb5f27ebd180c0696a104f2816d0c145 (commit)
       via  0d9856c8507b0b2e0a88fda3fc14404228218c74 (commit)
       via  86beac1070093ae3f91c9e1cd3009bed3e475fa6 (commit)
       via  295123e116bd75f28ca1a6c310471668960f2fc0 (commit)
       via  bf63885a12b4ff83174a400335f6258536e0ff2a (commit)
       via  72ba79c167998175b9302b5b83cb472625f886b8 (commit)
       via  3b3be33462801c7945e328c6570f7e3d6a4acbac (commit)
       via  c3f787aca95e3ecb7215b6b42be6f4620fc7c02c (commit)
       via  70685987aab47cea63a45e038097fde4fef548fd (commit)
       via  29fc1b0ae32e3110fac0313a6720aca198de02c9 (commit)
       via  1016d2d11a157ae44dd2f29620bbfd9d459ab7c8 (commit)
       via  3b0b4cc40ad6020112bc02ccd539fb0d9b0c6ede (commit)
       via  5e50ec2db34555434bdf0c61996647573945f047 (commit)
       via  34bcb4e371534d9a450ea11a578adff28704fa23 (commit)
       via  ea029ce7c43cebe294b644bc316eeefcc774d992 (commit)
       via  d6617aac65a3e5acc91ea0905a0bdd543a821f2d (commit)
       via  a2429991882d4235f1eb017ddd0a9d8f1e8b5398 (commit)
       via  045f778a4c12658419d10ec5485bd0347935a39d (commit)
       via  1d3d38e1eacb431efb1d0a4a67e6eacf15c0f2b2 (commit)
       via  31bfb03710f59e01c2cd123bf01be2f991f29e22 (commit)
       via  4b42dc673381808a31f0f6cc7ed7eccd3c9043b8 (commit)
       via  cea2b1f6f345e375adba8f2eb9861b004d33c1e8 (commit)
       via  5c6f64738585ff93d63f5782b9bb044eca637fa0 (commit)
       via  7b6538165a92ffa94a76d4c7677c8c0a5de527b9 (commit)
       via  49c16422a06186b20f0fc33380113b131c20c8f8 (commit)
       via  05920b10b4f7e7c44329c13644bbfa14c427ae92 (commit)
       via  1614db2f39d46d6ba389e88edfeed3eeef6e3e7e (commit)
       via  f78a17cc8b54f718d16b6cfd63163a39a6df738b (commit)
      from  f4ed32f7fd2b27bddf234e6d3aaf3ea750ff83e9 (commit)

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

- Log -----------------------------------------------------------------
commit e3005ec0a2efaf9c727f3bd6fe14f60e54dc5211
Merge: e200200 57683ce
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 20:14:39 2013 +0200

    Merge branch 'gnulibupdate-gnulibplus2' into gnulibupdate-gnulibplus2-ipv6

commit 57683ce40e9839a060f13795dcd7f30cf9e9cff8
Merge: 4446bed b9e696b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 20:14:39 2013 +0200

    Merge branch 'gnulibupdate' into gnulibupdate-gnulibplus2

commit b9e696babcbb4f4579e8f3bae64a8f53d328bd3b
Merge: e8e5c1d 064089e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 20:14:38 2013 +0200

    Merge remote-tracking branch 'gdb/master' into gnulibupdate

commit e200200d9072f5a1ad80ece2b654e78a66a113ef
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 20:08:25 2013 +0200

    .

commit 870badd303625b196baec1dca8d1cee9c88f047c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 19:54:03 2013 +0200

    .

commit e34ac3181084e40a07c2c8483cc8989849b3e4a2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 19:44:24 2013 +0200

    .

commit 7617501aff269a4344f5ba0d3af0ab11e75e6c32
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 19:44:09 2013 +0200

    .

commit aaaf434047129fb0ef07ba6b450105d5cfdefe73
Merge: 4446bed f4ed32f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 19:00:23 2013 +0200

    Merge branch 'gnulibupdate-gnulibplus-ipv6' into gnulibupdate-gnulibplus2-ipv6

commit 4446bed0a79dfe38e1390cb563d8f146a9f07feb
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 21 18:59:51 2013 +0200

    .

commit 064089ea8bff6088c25347790569670735fff568
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 21 00:00:32 2013 +0000

    *** empty log message ***

commit 9d98d54e5dd823ce1db8eaa5565786353bde08d2
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 21 00:00:05 2013 +0000

    daily update

commit 5461f4b4302ed312ae837284661f63bcbb5f0150
Author: qiyao <qiyao>
Date:   Sat Apr 20 07:38:39 2013 +0000

    gdb/
    
    	* ctf.c (ctf_fetch_registers): Change the type of 'regs' from
    	'char *' to 'gdb_byte *'.  Cast the return value of
    	'bt_ctf_get_char_array' to 'gdb_byte *'.

commit f857351bba8ed38f911fae105fb163ecbb891f38
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 20 00:00:32 2013 +0000

    *** empty log message ***

commit 105a5d1d91e1262b3f9c41cba005de5bb67d1d8b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 20 00:00:04 2013 +0000

    daily update

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

Summary of changes:
 bfd/version.h                        |    2 +-
 gdb/ChangeLog                        |  305 +++++++++++++
 gdb/Makefile.in                      |    2 +-
 gdb/aarch64-tdep.c                   |    6 +-
 gdb/ada-lang.c                       |    5 +-
 gdb/ada-tasks.c                      |    2 +-
 gdb/alpha-tdep.c                     |    6 +-
 gdb/alphanbsd-tdep.c                 |    8 +-
 gdb/arm-linux-tdep.c                 |   16 +-
 gdb/arm-tdep.c                       |   12 +-
 gdb/arm-tdep.h                       |    6 +-
 gdb/arm-wince-tdep.c                 |    4 +-
 gdb/armnbsd-tdep.c                   |    8 +-
 gdb/armobsd-tdep.c                   |    4 +-
 gdb/avr-tdep.c                       |    8 +-
 gdb/c-lang.c                         |    2 +-
 gdb/coff-pe-read.c                   |    7 +-
 gdb/common/agent.c                   |    3 +-
 gdb/config.in                        |    3 +
 gdb/configure                        |    9 +-
 gdb/configure.ac                     |    7 +-
 gdb/cp-valprint.c                    |    2 +-
 gdb/cris-tdep.c                      |   26 +-
 gdb/ctf.c                            |   19 +-
 gdb/defs.h                           |   14 -
 gdb/doc/ChangeLog                    |   10 +
 gdb/doc/gdbint.texinfo               |   13 +-
 gdb/dwarf2-frame.c                   |    6 +-
 gdb/dwarf2loc.c                      |    4 +-
 gdb/dwarf2read.c                     |   10 +-
 gdb/frv-tdep.c                       |   10 +-
 gdb/gdb_select.h                     |    3 -
 gdb/gnulib/Makefile.in               |    1 +
 gdb/gnulib/aclocal.m4                |    1 +
 gdb/gnulib/config.in                 |   31 ++
 gdb/gnulib/configure                 |  827 +++++++++++++++++++++++-----------
 gdb/gnulib/import/Makefile.am        |   29 ++-
 gdb/gnulib/import/Makefile.in        |   41 +-
 gdb/gnulib/import/connect.c          |   56 +++
 gdb/gnulib/import/getsockopt.c       |   79 ++++
 gdb/gnulib/import/gettimeofday.c     |  154 +++++++
 gdb/gnulib/import/m4/gettimeofday.m4 |  140 ++++++
 gdb/gnulib/import/m4/gnulib-cache.m4 |    5 +-
 gdb/gnulib/import/m4/gnulib-comp.m4  |   23 +
 gdb/gnulib/update-gnulib.sh          |    3 +-
 gdb/hppa-hpux-tdep.c                 |   16 +-
 gdb/hppa-tdep.c                      |    4 +-
 gdb/i386-cygwin-tdep.c               |    6 +-
 gdb/ia64-tdep.c                      |   24 +-
 gdb/linux-tdep.c                     |    8 +-
 gdb/m32c-tdep.c                      |    3 +-
 gdb/m68hc11-tdep.c                   |   14 +-
 gdb/maint.h                          |   13 +
 gdb/mep-tdep.c                       |    2 +-
 gdb/mips-tdep.c                      |    6 +-
 gdb/mipsnbsd-tdep.c                  |    2 +-
 gdb/mn10300-tdep.c                   |   11 +-
 gdb/monitor.c                        |   14 +-
 gdb/moxie-tdep.c                     |   14 +-
 gdb/ppc-linux-tdep.c                 |    2 +-
 gdb/ppc-ravenscar-thread.c           |    6 +-
 gdb/python/py-inferior.c             |    2 +-
 gdb/python/py-prettyprint.c          |   10 +-
 gdb/python/py-value.c                |    3 +-
 gdb/ravenscar-thread.c               |    2 +-
 gdb/record-full.c                    |   10 +-
 gdb/record.c                         |    2 +-
 gdb/remote-m32r-sdi.c                |    2 +-
 gdb/remote-mips.c                    |   34 +-
 gdb/remote.c                         |   31 +-
 gdb/remote.h                         |   22 +
 gdb/reverse.c                        |    4 +-
 gdb/s390-tdep.c                      |    8 +-
 gdb/score-tdep.c                     |    2 +-
 gdb/ser-base.c                       |    9 +-
 gdb/ser-base.h                       |    2 +-
 gdb/ser-go32.c                       |   21 +-
 gdb/ser-tcp.c                        |    7 +-
 gdb/serial.c                         |   16 +-
 gdb/serial.h                         |    6 +-
 gdb/sh-tdep.c                        |   44 +-
 gdb/sh64-tdep.c                      |   41 +-
 gdb/solib-darwin.c                   |   10 +-
 gdb/solib-dsbt.c                     |    2 +-
 gdb/solib-frv.c                      |    2 +-
 gdb/solib-irix.c                     |   12 +-
 gdb/solib-som.c                      |    2 +-
 gdb/solib-spu.c                      |    2 +-
 gdb/solib-svr4.c                     |    6 +-
 gdb/sparc-ravenscar-thread.c         |    6 +-
 gdb/spu-multiarch.c                  |    2 +-
 gdb/spu-tdep.c                       |   18 +-
 gdb/symfile.c                        |   14 +-
 gdb/tic6x-tdep.c                     |    2 +-
 gdb/tic6x-tdep.h                     |    2 +-
 gdb/tracepoint.c                     |   19 +-
 gdb/utils.c                          |    1 +
 gdb/utils.h                          |    5 -
 gdb/version.in                       |    2 +-
 gdb/xcoffread.c                      |    2 +-
 gdb/xstormy16-tdep.c                 |   10 +-
 gdb/xtensa-tdep.c                    |   10 +-
 include/timeval-utils.h              |    5 +
 sim/ChangeLog                        |    4 +
 sim/ppc/ppc-instructions             |   13 +
 105 files changed, 1843 insertions(+), 663 deletions(-)
 create mode 100644 gdb/gnulib/import/connect.c
 create mode 100644 gdb/gnulib/import/getsockopt.c
 create mode 100644 gdb/gnulib/import/gettimeofday.c
 create mode 100644 gdb/gnulib/import/m4/gettimeofday.m4

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index e5462d7..33424d9 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130419
+#define BFD_VERSION_DATE 20130421
 #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/ChangeLog b/gdb/ChangeLog
index 80fb6de..e553b41 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,308 @@
+2013-04-20  Yao Qi  <yao@codesourcery.com>
+
+	* ctf.c (ctf_fetch_registers): Change the type of 'regs' from
+	'char *' to 'gdb_byte *'.  Cast the return value of
+	'bt_ctf_get_char_array' to 'gdb_byte *'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* configure.ac (build_warnings): Replace -Wno-pointer-sign with
+	-Wpointer-sign.
+	* configure: Regenerate.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* ser-tcp.c (net_read_prim): Cast second argument to recv to
+	'void *'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* monitor.c (monitor_write_memory, monitor_write_memory_bytes):
+	Change type of 'myaddr' parameter to gdb_byte pointer.
+	(monitor_write_memory_longlongs): Likewise.  Cast 'myaddr' pointer
+	to 'long long' pointer instead of to 'unsigned long long'.
+	(monitor_write_memory_block, monitor_read_memory_single)
+	(monitor_read_memory): Change type of 'myaddr' parameter to
+	gdb_byte pointer.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* record.c (validate_history_size): Make parameter 'setting'
+	unsigned.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts
+	to 'gdb_byte *'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* cp-valprint.c (cp_print_class_member): Change type of 'fieldno'
+	local to int.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* ada-lang.c (print_it_exception): Add cast to gdb_byte *.
+	* ada-tasks.c (read_fat_string_value): Likewise.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local
+	unsigned.  Pass 'tmp' to safe_read_uleb128 instead of the signed
+	'offset', and adjust.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *.
+	(read_index_from_section): Add cast to 'char *'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* xcoffread.c (xcoff_initial_scan): Add cast to 'char *'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* coff-pe-read.c (read_pe_exported_syms): Handle strings as char.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* record-full.c (record_full_get_bookmark): Change local 'ret'
+	type to char * and add cast to gdb_byte *.
+	(record_full_goto_bookmark): Handle 'bookmark' argument as a
+	string.
+	* reverse.c (goto_bookmark_command): Add casts to gdb_byte *.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte
+	* python/py-prettyprint.c (print_string_repr): Change type of
+	'output' local to char *.  Add cast to gdb_byte * in
+	LA_PRINT_STRING call.
+	(print_children): Change type of 'output' local to char *.
+	* python/py-value.c (valpy_string): Add cast to const char * in
+	PyUnicode_Decode call.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* remote-mips.c (mips_cksum): Rename 'data' parameter to 'datastr'
+	and change its type to 'const char *'.  Adjust.
+	(mips_send_packet): Add cast to 'char *', and remove cast to
+	'unsigned char *'.
+	(mips_receive_packet): Remove cast to 'unsigned char *'.
+	(mips_load_srec): Use bfd_byte.
+	(pmon_makeb64, pmon_zeroset): Make 'chksum' parameter unsigned.
+	(pmon_checkset): Make 'value' parameter unsigned.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* common/agent.c (agent_run_command): Add cast to gdb_byte *.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* remote.c (remote_write_bytes_aux, compare_sections_command)
+	(remote_read_qxfer)
+	(remote_search_memory, remote_hostio_pwrite, remote_hostio_pread)
+	(remote_hostio_readlink, remote_bfd_iovec_pread)
+	(remote_set_trace_notes): Use gdb_byte when RSP buffer is used as
+	binary buffer, and char when buffer is used as string.
+	* tracepoint.c (encode_source_string, tfile_write_uploaded_tp)
+	(trace_save, tfile_open, traceframe_walk_blocks)
+	(tfile_fetch_registers): Likewise.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* ser-base.c (ser_base_write): Change prototype -- take 'void *'
+	buffer and size_t size.  Adjust.
+	* ser-base.h (ser_base_write): Adjust.
+	* ser-go32.c (cnts): Change type to size_t.
+	(dos_write): Change prototype -- take 'void *'
+	buffer and size_t size.  Adjust.
+	(dos_info): Print elements of 'cnts' as unsigned long.
+	* serial.c (serial_write): Likewise.
+	* serial.h (serial_write): Adjust.
+	(struct serial_ops) <write>: Change prototype -- take 'void *'
+	buffer and size_t size.  Adjust.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* c-lang.c (evaluate_subexp_c): Cast result of obstack_base to
+	gdb_byte *.
+	* linux-tdep.c (linux_make_mappings_corefile_notes): Likewise.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* alpha-tdep.c (alpha_extract_return_value): Use
+	regcache_cooked_read_unsigned to read 'v0'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* xtensa-tdep.c (execute_l32e, execute_s32e): Change type of
+	parameters 'at', 'as' and 'offset' to uint32_t.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* aarch64-tdep.c (aarch64_analyze_prologue): Change type of local
+	'is64' to signed 'int'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* s390-tdep.c (is_rs, is_rsy, is_rx, is_rxy): Change type of 'd2'
+	parameter to int *.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* ppc-linux-tdep.c (ppc_skip_trampoline_code): Change local
+	'insnbuf' buffer type to unsigned int[].
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* mips-tdep.c (mips_read_pc): Change local 'pc' type to LONGEST.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* mep-tdep.c (mep_get_insn): Change 'insn' parameter type to
+	unsigned long *.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* alpha-tdep.c (heuristic_fence_post): Change type to int.
+	(alpha_heuristic_proc_start): Adjust to check -1 instead of
+	UINT_MAX.
+	* mips-tdep.c (heuristic_fence_post): Change type to int.
+	(heuristic_proc_start): Adjust to check -1 instead of UINT_MAX.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* cris-tdep.c (usr_cmd_cris_version): Make unsigned.
+	(struct gdbarch_tdep) <cris_version>: Make unsigned.
+	(cris_spec_reg_applicable, cris_gdbarch_init): Adjust locals.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* avr-tdep.c (avr_io_reg_read_command): New local 'bufstr'.  Use
+	it to get a string view of the byte buffer.
+	* i386-cygwin-tdep.c (core_process_module_section): Change local 'buf'
+	type to gdb_byte *.  Adjust.
+	* linux-tdep.c (linux_info_proc, linux_find_memory_regions_full):
+	Change local to char *.
+	* solib-darwin.c (find_program_interpreter): Change return type to
+	char *.  Adjust.
+	(darwin_solib_get_all_image_info_addr_at_init): Adjust.
+	* solib-dsbt.c (enable_break2): Change local 'buf' to char *.
+	* solib-frv.c (enable_break2): Change local 'buf' to char *.
+	* solib-spu.c (spu_current_sos): Add gdb_byte * cast.
+	* solib-svr4.c (find_program_interpreter): Change return type to
+	char *.  Adjust.
+	(enable_break): Change local 'interp_name' to char *.
+	* spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'.
+	* spu-tdep.c (spu_pseudo_register_read_spu): Add cast to 'char *'.
+	(spu_pseudo_register_write_spu): Use char for string buffer.
+	Adjust.
+	(info_spu_event_command, info_spu_signal_command): Add casts to
+	'char *'.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
+	* aarch64-tdep.c (aarch64_default_breakpoint): Change type to
+	gdb_byte[].
+	(aarch64_breakpoint_from_pc): Change return type to gdb_byte *.
+	* ada-lang.c (ada_value_assign): Use gdb_byte.
+	* alphanbsd-tdep.c (sigtramp_retcode): Change type to gdb_byte[].
+	(alphanbsd_sigtramp_offset): Use gdb_byte.
+	* arm-linux-tdep.c (arm_linux_arm_le_breakpoint)
+	(arm_linux_arm_be_breakpoint, eabi_linux_arm_le_breakpoint)
+	(eabi_linux_arm_be_breakpoint, arm_linux_thumb_be_breakpoint)
+	(arm_linux_thumb_le_breakpoint, arm_linux_thumb2_be_breakpoint)
+	(arm_linux_thumb2_le_breakpoint): Change type to gdb_byte[].
+	* arm-tdep.c (arm_stub_unwind_sniffer)
+	(arm_displaced_init_closure): Use gdb_byte.
+	(arm_default_arm_le_breakpoint, arm_default_arm_be_breakpoint)
+	(arm_default_thumb_le_breakpoint)
+	(arm_default_thumb_be_breakpoint): Change type to gdb_byte[].
+	* arm-tdep.h (struct gdbarch_tdep) <arm_breakpoint,
+	thumb_breakpoint, thumb2_breakpoint>: Change type to gdb_byte *.
+	* arm-wince-tdep.c (arm_wince_le_breakpoint)
+	(arm_wince_thumb_le_breakpoint): Change type to gdb_byte[].
+	* armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint)
+	(arm_nbsd_arm_be_breakpoint, arm_nbsd_thumb_le_breakpoint)
+	(arm_nbsd_thumb_be_breakpoint): Change type to gdb_byte[].
+	* armobsd-tdep.c (arm_obsd_thumb_le_breakpoint)
+	(arm_obsd_thumb_be_breakpoint): Change type to gdb_byte[].
+	* cris-tdep.c (push_stack_item, cris_push_dummy_call)
+	(cris_store_return_value, cris_extract_return_value): Use
+	gdb_byte.
+	(constraint): Change type of parameter to char * from signed
+	char*.  Use gdb_byte.
+	* dwarf2loc.c (read_pieced_value, write_pieced_value): Change type
+	of local buffer to gdb_byte *.
+	* dwarf2read.c (read_index_from_section): Use gdb_byte.
+	(create_dwp_hash_table): Change type of locals to gdb_byte *.
+	(add_address_entry): Change type of local buffer to gdb_byte[].
+	* frv-tdep.c (frv_adjust_breakpoint_address, find_func_descr)
+	(frv_push_dummy_call): Use gdb_byte.
+	* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code)
+	(hppa_hpux_supply_ss_fpblock, hppa_hpux_supply_ss_wide)
+	(hppa_hpux_supply_save_state): Use gdb_byte.
+	* hppa-tdep.c (hppa32_push_dummy_call)
+	(hppa64_convert_code_addr_to_fptr): Use gdb_byte.
+	* ia64-tdep.c (extract_bit_field, replace_bit_field)
+	(slotN_contents, replace_slotN_contents): Change type of parameter
+	to gdb_byte *.
+	(fetch_instruction, ia64_pseudo_register_write)
+	(ia64_register_to_value, ia64_value_to_register)
+	(ia64_extract_return_value, ia64_store_return_value)
+	(ia64_push_dummy_call): Use gdb_byte.
+	* m32c-tdep.c (m32c_return_value): Remove cast.
+	* m68hc11-tdep.c (m68hc11_pseudo_register_write)
+	(m68hc11_push_dummy_call, m68hc11_store_return_value): Use
+	gdb_byte.
+	* mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use gdb_byte.
+	* mn10300-tdep.c (mn10300_store_return_value)
+	(mn10300_breakpoint_from_pc, mn10300_push_dummy_call): Use
+	gdb_byte.
+	* moxie-tdep.c (moxie_process_readu): Use gdb_byte.
+	(moxie_process_record): Remove casts.
+	* ppc-ravenscar-thread.c (supply_register_at_address)
+	(ppc_ravenscar_generic_store_registers): Use gdb_byte.
+	* ravenscar-thread.c (get_running_thread_id): Use gdb_byte.
+	* remote-m32r-sdi.c (m32r_fetch_register): Use gdb_byte.
+	* remote-mips.c (mips_xfer_memory): Use gdb_byte.
+	* remote.c (compare_sections_command): Use gdb_byte.
+	* score-tdep.c (score7_free_memblock): Change type of parameter to
+	gdb_byte *.
+	* sh-tdep.c (sh_justify_value_in_reg): Change return type to
+	gdb_byte *.  Use gdb_byte.
+	(sh_push_dummy_call_fpu): Use gdb_byte.
+	(sh_extract_return_value_nofpu, sh_extract_return_value_fpu)
+	(sh_store_return_value_nofpu, sh_store_return_value_fpu)
+	(sh_register_convert_to_virtual, sh_register_convert_to_raw):
+	Change parameter type to 'gdb_byte *'.  Use gdb_byte.
+	(sh_pseudo_register_read, sh_pseudo_register_write): Use gdb_byte.
+	* sh64-tdep.c (sh64_push_dummy_call): Use gdb_byte.
+	(sh64_store_return_value, sh64_register_convert_to_virtual):
+	Change parameter type to 'gdb_byte *'.  Use gdb_byte.
+	(sh64_pseudo_register_write): Use gdb_byte.
+	* solib-darwin.c (darwin_current_sos): Add casts to 'gdb_byte *'.
+	* solib-irix.c (fetch_lm_info): Likewise.  Use gdb_byte for byte
+	buffer.
+	(irix_current_sos): Use gdb_byte.
+	* solib-som.c (som_current_sos): Use gdb_byte.
+	* sparc-ravenscar-thread.c (supply_register_at_address)
+	(sparc_ravenscar_generic_store_registers): Use gdb_byte.
+	* spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'.
+	* spu-tdep.c (spu_get_overlay_table): Use gdb_byte.
+	* tic6x-tdep.c (tic6x_breakpoint_from_pc): Change return type to
+	'gdb_byte *'.
+	* tic6x-tdep.h (struct gdbarch_tdep) <breakpoint>: Change type to
+	'gdb_byte *'.
+	* tracepoint.c (tfile_fetch_registers): Use gdb_byte.
+	* xstormy16-tdep.c (xstormy16_extract_return_value)
+	(xstormy16_store_return_value): Change parameter type to
+	'gdb_byte *'.  Adjust.
+	(xstormy16_push_dummy_call): Use gdb_byte.
+	* xtensa-tdep.c (xtensa_scan_prologue, call0_ret)
+	(call0_analyze_prologue, execute_code): Use gdb_byte.
+
 2013-04-19  Vladimir Kargov <kargov@gmail.com>
 	    Pedro Alves  <palves@redhat.com>
 
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index dd874ce..064eb21 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -481,7 +481,7 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
 	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
 	$(LIBEXPAT) $(LIBLZMA) $(LIBBABELTRACE) \
-	$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
+	$(LIBIBERTY) $(LIBGNU) $(WIN32LIBS)
 CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
 	$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
 
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c
index 2b03106..8c38ef3 100644
--- a/gdb/aarch64-tdep.c
+++ b/gdb/aarch64-tdep.c
@@ -683,7 +683,7 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch,
       int op_is_sub;
       int32_t imm;
       unsigned cond;
-      unsigned is64;
+      int is64;
       unsigned is_link;
       unsigned op;
       unsigned bit;
@@ -1897,11 +1897,11 @@ aarch64_gdb_print_insn (bfd_vma memaddr, disassemble_info *info)
 /* AArch64 BRK software debug mode instruction.
    Note that AArch64 code is always little-endian.
    1101.0100.0010.0000.0000.0000.0000.0000 = 0xd4200000.  */
-static const char aarch64_default_breakpoint[] = {0x00, 0x00, 0x20, 0xd4};
+static const gdb_byte aarch64_default_breakpoint[] = {0x00, 0x00, 0x20, 0xd4};
 
 /* Implement the "breakpoint_from_pc" gdbarch method.  */
 
-static const unsigned char *
+static const gdb_byte *
 aarch64_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr,
 			    int *lenptr)
 {
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 0329dd9..fdfc0b4 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -2518,7 +2518,7 @@ ada_value_assign (struct value *toval, struct value *fromval)
       int len = (value_bitpos (toval)
 		 + bits + HOST_CHAR_BIT - 1) / HOST_CHAR_BIT;
       int from_size;
-      char *buffer = (char *) alloca (len);
+      gdb_byte *buffer = alloca (len);
       struct value *val;
       CORE_ADDR to_addr = value_address (toval);
 
@@ -11532,7 +11532,8 @@ print_it_exception (enum exception_catchpoint_kind ex, bpstat bs)
 
 	  if (addr != 0)
 	    {
-	      read_memory (addr, exception_name, sizeof (exception_name) - 1);
+	      read_memory (addr, (gdb_byte *) exception_name,
+			   sizeof (exception_name) - 1);
 	      exception_name [sizeof (exception_name) - 1] = '\0';
 	    }
 	  else
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index b0835f6..c5c7491 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -433,7 +433,7 @@ read_fat_string_value (char *dest, struct value *val, int max_len)
 
   /* Extract LEN characters from the fat string.  */
   array_val = value_ind (value_field (val, array_fieldno));
-  read_memory (value_address (array_val), dest, len);
+  read_memory (value_address (array_val), (gdb_byte *) dest, len);
 
   /* Add the NUL character to close the string.  */
   dest[len] = '\0';
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index e394605..a8b90b9 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -517,7 +517,7 @@ alpha_extract_return_value (struct type *valtype, struct regcache *regcache,
 	  break;
 
 	case 32:
-	  regcache_cooked_read_signed (regcache, ALPHA_V0_REGNUM, &l);
+	  regcache_cooked_read_unsigned (regcache, ALPHA_V0_REGNUM, &l);
 	  read_memory (l, valbuf, 32);
 	  break;
 
@@ -1032,7 +1032,7 @@ static const struct frame_unwind alpha_sigtramp_frame_unwind = {
 /* Heuristic_proc_start may hunt through the text section for a long
    time across a 2400 baud serial line.  Allows the user to limit this
    search.  */
-static unsigned int heuristic_fence_post = 0;
+static int heuristic_fence_post = 0;
 
 /* Attempt to locate the start of the function containing PC.  We assume that
    the previous function ends with an about_to_return insn.  Not foolproof by
@@ -1059,7 +1059,7 @@ alpha_heuristic_proc_start (struct gdbarch *gdbarch, CORE_ADDR pc)
   if (func)
     return func;
 
-  if (heuristic_fence_post == UINT_MAX
+  if (heuristic_fence_post == -1
       || fence < tdep->vm_min_address)
     fence = tdep->vm_min_address;
 
diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c
index dd76bea..757bc46 100644
--- a/gdb/alphanbsd-tdep.c
+++ b/gdb/alphanbsd-tdep.c
@@ -199,7 +199,7 @@ alphanbsd_regset_from_core_section (struct gdbarch *gdbarch,
    sequence and can then check whether we really are executing in the
    signal trampoline.  If not, -1 is returned, otherwise the offset from the
    start of the return sequence is returned.  */
-static const unsigned char sigtramp_retcode[] =
+static const gdb_byte sigtramp_retcode[] =
 {
   0x00, 0x00, 0x1e, 0xa6,	/* ldq a0, 0(sp) */
   0x10, 0x00, 0xde, 0x23,	/* lda sp, 16(sp) */
@@ -212,11 +212,11 @@ static const unsigned char sigtramp_retcode[] =
 static LONGEST
 alphanbsd_sigtramp_offset (struct gdbarch *gdbarch, CORE_ADDR pc)
 {
-  unsigned char ret[RETCODE_SIZE], w[4];
+  gdb_byte ret[RETCODE_SIZE], w[4];
   LONGEST off;
   int i;
 
-  if (target_read_memory (pc, (char *) w, 4) != 0)
+  if (target_read_memory (pc, w, 4) != 0)
     return -1;
 
   for (i = 0; i < RETCODE_NWORDS; i++)
@@ -230,7 +230,7 @@ alphanbsd_sigtramp_offset (struct gdbarch *gdbarch, CORE_ADDR pc)
   off = i * 4;
   pc -= off;
 
-  if (target_read_memory (pc, (char *) ret, sizeof (ret)) != 0)
+  if (target_read_memory (pc, ret, sizeof (ret)) != 0)
     return -1;
 
   if (memcmp (ret, sigtramp_retcode, RETCODE_SIZE) == 0)
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 953e525..1502bdc 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -62,9 +62,9 @@ extern int arm_apcs_32;
    of the software interrupt the kernel stops the inferior with a
    SIGTRAP, and wakes the debugger.  */
 
-static const char arm_linux_arm_le_breakpoint[] = { 0x01, 0x00, 0x9f, 0xef };
+static const gdb_byte arm_linux_arm_le_breakpoint[] = { 0x01, 0x00, 0x9f, 0xef };
 
-static const char arm_linux_arm_be_breakpoint[] = { 0xef, 0x9f, 0x00, 0x01 };
+static const gdb_byte arm_linux_arm_be_breakpoint[] = { 0xef, 0x9f, 0x00, 0x01 };
 
 /* However, the EABI syscall interface (new in Nov. 2005) does not look at
    the operand of the swi if old-ABI compatibility is disabled.  Therefore,
@@ -72,24 +72,24 @@ static const char arm_linux_arm_be_breakpoint[] = { 0xef, 0x9f, 0x00, 0x01 };
    version 2.5.70 (May 2003), so should be a safe assumption for EABI
    binaries.  */
 
-static const char eabi_linux_arm_le_breakpoint[] = { 0xf0, 0x01, 0xf0, 0xe7 };
+static const gdb_byte eabi_linux_arm_le_breakpoint[] = { 0xf0, 0x01, 0xf0, 0xe7 };
 
-static const char eabi_linux_arm_be_breakpoint[] = { 0xe7, 0xf0, 0x01, 0xf0 };
+static const gdb_byte eabi_linux_arm_be_breakpoint[] = { 0xe7, 0xf0, 0x01, 0xf0 };
 
 /* All the kernels which support Thumb support using a specific undefined
    instruction for the Thumb breakpoint.  */
 
-static const char arm_linux_thumb_be_breakpoint[] = {0xde, 0x01};
+static const gdb_byte arm_linux_thumb_be_breakpoint[] = {0xde, 0x01};
 
-static const char arm_linux_thumb_le_breakpoint[] = {0x01, 0xde};
+static const gdb_byte arm_linux_thumb_le_breakpoint[] = {0x01, 0xde};


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


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

only message in thread, other threads:[~2013-04-21 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-21 18:15 [SCM] jankratochvil/ipv6: Merge branch 'gnulibupdate-gnulibplus2' into gnulibupdate-gnulibplus2-ipv6 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).