f85b53f80e
gdb/doc/
...
* gdb.texinfo (JIT Interface): Add documentation on writing and
usind JIT debug info readers.
(Custom Debug Info, Using JIT Debug Info Readers, Writing JIT
Debug Info Readers): New nodes.
2011-11-20 09:20:59 +00:00
3623dc3afb
gdb/
...
* jit.c: Include regcache.h.
(jit_gdbarch_data, jit_frame_unwind): New static variables.
(jit_unwind_reg_set_impl, free_reg_value_impl)
(jit_unwind_reg_get_impl, jit_frame_sniffer)
(jit_frame_unwind_stop_reason, jit_frame_this_id)
(jit_frame_prev_register, jit_dealloc_cache)
(jit_prepend_unwinder, jit_gdbarch_data_init): New functions.
(jit_inferior_init): Prepend (new) pseudo unwinder by calling
jit_prepend_unwinder.
(_initialize_jit): Register new gdbarch data jit_gdbarch_data.
2011-11-20 09:18:48 +00:00
1825a88da1
gdb/
...
* jit.c: Include block.h, dictionary.h and frame-unwind.h.
(add_objfile_entry, jit_target_read_impl, jit_object_open_impl)
(jit_symtab_open_impl, compare_block, jit_block_open_impl)
(jit_symtab_line_mapping_add_impl, jit_symtab_close_impl)
(finalize_symtab, jit_object_close_impl)
(jit_reader_try_read_symtab, jit_bfd_try_read_symtab)
(free_objfile_data): New functions.
(_initialize_jit): Register jit_objfile_data with a proper cleanup
function.
2011-11-20 09:14:45 +00:00
784c47ee81
gdb/
...
* jit.c: Include gdb-dlfcn.h.
(loaded_jit_reader, reader_init_fn_sym): New static variables.
(jit_reader_load, jit_reader_load_command)
(jit_reader_unload_command): New functions.
(_initialize_jit): Add commands "jit-reader-load" and
"jit-reader-unload".
2011-11-20 09:09:56 +00:00
a2d08b9eeb
gdb/
...
* Makefile.in: Add gdb-dlfcn.c and gdb-dlfcn.h to build system.
* config.in: Add new #define HAVE_LIBDL.
* configure.ac: Add check for -ldl.
* configure: Re-generated by autoconf.
* gdb-dlfcn.c: New file.
* gdb-dlfcn.h: New file.
2011-11-20 08:59:56 +00:00
b8e0a31cb5
gdb/
...
* config.in: Add new #defines: JIT_READER_DIR and
JIT_READER_DIR_RELOCATABLE.
* configure.ac: New GDB directory entry for jit-reader-dir.
* configure: Re-generated by autoconf.
* jit.c: New static variable: const char *jit_reader_dir.
(_initialize_jit): Relocate jit_reader_dir.
2011-11-20 08:53:25 +00:00
f997c38354
gdb/
...
* Makefile.in: Add jit-reader.h as a header. Have it installed in
$(includedir)/gdb.
* configure.ac: Generate a correct value for TARGET_PTR for
jit-reader.h. Tell configure to generate jit-reader.h from
jit-reader.in.
* configure: Re-generated by autoconf.
* jit-reader.in: New file.
* jit.c: Include jit-reader.h.
2011-11-20 08:30:59 +00:00
dc8c0494f2
gdb/
...
* MAINTAINERS (Write After Approval): Add myself to the list.
2011-11-20 08:09:52 +00:00
12a0339399
*** empty log message ***
2011-11-20 00:00:32 +00:00
e28adff407
daily update
2011-11-19 23:00:05 +00:00
9b8fcf90e1
*** empty log message ***
2011-11-19 00:00:03 +00:00
4e588827f3
daily update
2011-11-18 23:00:06 +00:00
01efb93640
* findvar.c (read_frame_register_value): Respect value_offset
...
of the register value. Remove big-endian special case.
2011-11-18 20:03:42 +00:00
732f3f122e
PR build/7196:
...
* remote.c (putpkt_for_catch_errors): New function.
(remote_kill): Use it.
2011-11-18 15:38:58 +00:00
bfccc43c12
gdb/
...
* breakpoint.c (create_breakpoint): Produce query message according to
breakpoint's type.
Allocate tracepoint per correct type.
Don't check SALs for pending fast tracepoints.
* tracepoint.c (process_tracepoint_on_disconnect): New.
(disconnect_tracing): Call process_tracepoint_on_disconnect.
gdb/doc/
* gdb.texinfo (Create and Delete Tracepoints): Mention pending
tracepoint.
gdb/testsuite/
* gdb.trace/pending.exp: New.
* gdb.trace/pending.c: New.
* gdb.trace/pendshr1.c: New.
* gdb.trace/pendshr2.c: New.
* gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
tracepoint location becomes pending.
(tracepoint_change_loc_2): New.
2011-11-18 01:21:35 +00:00
3ea46bff73
* breakpoint.c (install_breakpoint): Add one more parameter so that
...
update_global_location_list is called conditionally.
(create_fork_vfork_event_catchpoint): Update.
(create_syscall_event_catchpoint): Update.
(create_breakpoint_sal): Update.
(create_breakpoint_sal): Update. Call do_cleanups before
install_breakpoint.
* ada-lang.c (create_ada_exception_catchpoint): Update.
* breakpoint.h (install_breakpoint): Update declaration.
2011-11-18 01:03:51 +00:00
bb8ed79b6a
*** empty log message ***
2011-11-18 00:00:03 +00:00
eddd4d462d
daily update
2011-11-17 23:00:05 +00:00
628f39beca
2011-11-17 Sterling Augustine <saugustine@google.com>
...
* script.cc (script_include_directive): Implement.
(read_script_file): New local variables name and search_path. Update
comment. Call IS_ABSOLUTE_PATH and Dirsearch::find_file_in_dir_list.
* dirsearch.h (Dirsearch::find_file_in_dir_list): Declare new method.
* dirsearch.cc (Dirsearch::find_file_in_dir_list): Implement it.
2011-11-17 17:46:54 +00:00
a7bbf4e9b9
* config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.
2011-11-17 04:24:56 +00:00
3aaeb7d3ca
* elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that it
...
needs to be translated only once.
2011-11-17 00:20:01 +00:00
715e99ef38
*** empty log message ***
2011-11-17 00:00:03 +00:00
0f9f77ff4b
daily update
2011-11-16 23:00:05 +00:00
598cfb7174
* spu-tdep.c (spu_return_value): Fix handling of
...
TYPE_CALLING_CONVENTION annotation.
2011-11-16 18:30:09 +00:00
caf4328c57
* skip.c (skip_function_command): Work around uninitialized
...
variable warning.
2011-11-16 18:29:34 +00:00
73cd8ab132
* lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
...
target is sparc*-*-linux*
2011-11-16 18:16:27 +00:00
2b54dda2fa
* utils.c (report_command_stats): Cast delta_wall_time 'tv_sec' and
...
'tv_usec' to long for printf since these fields have a type which
varies.
2011-11-16 18:14:53 +00:00
7bd942df4a
gas/
...
* config/tc-mips.c (macro): Fix unsupported opcode message
capitalization.
(mips_ip, mips16_ip): Likewise.
gas/testsuite/
* gas/mips/mips-double-float-flag.l: Adjust according to
unsupported opcode message capitalization fix.
* gas/mips/mips-hard-float-flag.l: Likewise.
* gas/mips/mips-macro-ill-nofp.l: Likewise.
* gas/mips/mips-macro-ill-sfp.l: Likewise.
* gas/mips/mips1-fp.l: Likewise.
* gas/mips/mips16e-64.l: Likewise.
* gas/mips/mips32-sf32.l: Likewise.
* gas/mips/mips32r2-fp32.l: Likewise.
* gas/mips/mips4-branch-likely.l: Likewise.
* gas/mips/mips4-fp.l: Likewise.
* gas/mips/octeon-ill.l: Likewise.
2011-11-16 12:34:34 +00:00
9ddc84cc26
* config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS
...
mode.
2011-11-16 12:29:56 +00:00
2906b03761
* config/tc-mips.c (macro_build_jalr): Reverse a negative
...
conditional.
(mips_ip): Likewise.
2011-11-16 12:27:06 +00:00
514f48bb1d
* micromips-opc.c (micromips_opcodes): Use NODS rather than TRAP
...
for "alnv.ps".
2011-11-16 12:24:08 +00:00
7a795ef4a7
* config/tc-mips.c (mips_cpu_info_table): Add "m14ke" and
...
"m14kec".
* doc/c-mips.texi (MIPS architecture options): Add "m14ke" and
"m14kec" to the list of -march options.
2011-11-16 12:21:35 +00:00
72c4ab07b7
* elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask to
...
zero throughout.
(mips16_elf64_howto_table_rela): Likewise.
(micromips_elf64_howto_table_rela): Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela): Likewise.
(elf_mips16_howto_table_rela): Likewise.
(elf_micromips_howto_table_rela): Likewise.
2011-11-16 12:12:22 +00:00
e3631f0d29
*** empty log message ***
2011-11-16 00:00:03 +00:00
93bf33fd99
* buildsym.c (add_symbol_to_list): Delete outdated comment.
2011-11-15 23:12:30 +00:00
8fdb04896b
daily update
2011-11-15 23:00:04 +00:00
8de33dc288
Obvious: Fix error in name of concerned macro ETIMEDOUT
2011-11-15 22:04:43 +00:00
7742673004
* gdb.python/py-type.exp: New testcases for exceptions on scalar types
2011-11-15 21:17:40 +00:00
9cc10fd150
* python/py-type.c (typy_get_composite): New function.
...
(typy_nonzero): New function.
(typy_values): Rename from typy_fields.
(typy_fields): New function.
(typy_length): Raise exception if not struct, union, or enum type.
(typy_getitem): Ditto.
(typy_has_key): Ditto.
(typy_make_iter): Ditto.
2011-11-15 21:17:04 +00:00
1a69ff95de
* ld/ldlang.c (insert_pad): Change alignment_needed argument to
...
bfd_size_type.
(size_input_section): Change alignment_needed varible to
bfd_size_type.
* ld/ldlang.h (lang_padding_statement_type): Change size field to
bfd_size_type.
2011-11-15 18:22:27 +00:00
c011a4f469
* NEWS: Mention new parameter basenames-may-differ.
...
* dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if
! basenames_may_differ.
* psymtab.c (lookup_partial_symtab): Ditto.
* symtab.c (lookup_symtab): Ditto.
(basenames_may_differ): New global.
(_initialize_symtab): New parameter basenames-may-differ.
* symtab.h (basenames_may_differ): Declare.
doc/
* gdb.texinfo (Files): Document basenames-may-differ.
2011-11-15 17:40:02 +00:00
865ecab4b2
2011-11-15 Pedro Alves <pedro@codesourcery.com>
...
Luis Machado <lgustavo@codesourcery.com>
* auxv.c: Include observer.h.
(auxv_inferior_data_cleanup): New.
(invalidate_auxv_cache_inf): New.
(invalidate_auxv_cache): New.
(get_auxv_inferior_data): New.
(auxv_inferior_data): New static global.
(auxv_info): New structure.
(target_auxv_search): Use get_auxv_inferior_data instead of
target_read_alloc and don't free cached buffers.
(fprint_target_auxv): Likewise
(_initialize_auxv): Register per-inferior auxv cache and register
observers to invalidate auxv cache when needed.
2011-11-15 13:17:05 +00:00
080f9e4f20
* write.c (dump_section_relocs): Don't convert PC-relative relocs
...
that have an in-place addend narrower than the addresses used.
2011-11-15 13:08:17 +00:00
7e51250f06
Fix a typo.
2011-11-15 13:01:20 +00:00
14b2f83106
* elflink.c (_bfd_elf_create_got_section): Replace
...
bfd_make_section_with_flags with bfd_make_section_anyway_with_flags.
(_bfd_elf_link_create_dynamic_sections): Likewise.
* elf32-ppc.c (ppc_elf_create_glink): Likewise.
(ppc_elf_create_dynamic_sections): Likewise.
2011-11-15 11:33:57 +00:00
ed59ded5eb
Make "!" an alias for "shell".
...
* NEWS: Add mention.
* cli/cli-cmds.c (init_cli_cmds): Remove xdb_commands condition on
adding "!" command, always add it.
* cli/cli-decode.c (find_command_name_length): Recognize "!" as a
command of length one.
doc/
* gdb.texinfo (Shell Commands): Document "!".
testsuite/
* gdb.base/shell.exp: New file.
2011-11-15 05:06:35 +00:00
81f5d455de
* elfxx-mips.c (mips_n64_exe_plt0_entry): Use 64-bit move.
2011-11-15 03:23:56 +00:00
3ccd4ac6d3
Fix broken changelog entry.
2011-11-15 01:07:44 +00:00
43ecc66e5d
*** empty log message ***
2011-11-15 00:00:03 +00:00
097befa0b0
daily update
2011-11-14 23:00:05 +00:00