OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [ChangeLog] - Blame information for rev 860

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 225 jeremybenn
2010-07-27  Jeremy Bennett  
2
 
3
        * or1k-tdep.c (or1k_single_step_through_delay): Correct check for
4
        first instruction of exception handler.
5
 
6 216 jeremybenn
2010-07-20  Jeremy Bennett  
7
 
8
        * configure.ac: Added test for zlib from binutils/bfd
9
        * configure: Regenerated.
10
 
11 146 jeremybenn
2010-06-30  Jeremy Bennett  
12
 
13
        * or1k-tdep.c (or1k_fetch_instruction): Logic flow made clearer.
14
        (or1k_analyse_inst, or1k_analyse_L_addi)
15
        (or1k_analyse_l_sw): Added.
16
        (or1k_frame_size, or1k_frame_fp_loc, or1k_frame_size_check)
17
        (or1k_link_address, or1k_get_saved_reg): Removed.
18
        (or1k_skip_prologue, or1k_frame_unwind_cache): Rewritten to use
19
        or1k_analyse_inst functions.
20
        * or1k_tdep.h : #define
21
        added.
22
 
23
2010-06-10  Jeremy Bennett  
24
 
25
        * eval.c (evaluate_subexp_standard): Initialize subscript_array,
26
        to avoid picky compiler complaints.
27
        * or1k-jtag.c (jp1_ll_read_jp1): Initialize data, to avoid picky
28
        compiler complaints.
29
 
30 24 jeremybenn
2008-11-08  Jeremy Bennett  
31 146 jeremybenn
 
32 24 jeremybenn
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr): Moved here from
33
        remote-or1k.c and made local to this file. Rewritten to use
34
        commands via the target remote command (to_rcmd) function.
35
        * or1k-tdep.c (or1k_spr_command). Invalidates register cache when
36
        SPR is written.
37
        * or1k-tdep.h: or1k_read_spr and Or1k_write_spr are removed as
38
        global functions.
39
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr). Functions removed
40
        and made local to or1k-tdep.c. All or1k-tdep.c references to these
41
        functions changed to use or1k_jtag_read_spr and
42
        or1k_jtag_write_spr (for which these were only wrappers).
43
        * or1k-tdep.c (or1k_rcmd): Function added to process SPR access
44
        requests.
45
 
46 146 jeremybenn
2008-10-23  Jeremy Bennett  
47
 
48 24 jeremybenn
        * or1k-tdep.h, or1k-tdep.c: Extend the number of registers to
49
        include the PPC as well as the NPC
50
 
51
2008-08-13  Jeremy Bennett  
52
 
53
        * or1k-tdep.c, or1k-tdep.h, remote-or1k.c: Numerous bug fixes
54
        * or1k-jtag.c (or1k_jtag_read_mem, or1k_jtag_write_mem): Problems
55
        with small data without alignment fixed.
56
        * doc/or1k.texinfo: Small changes to bring in to line with bug
57
        fixes.
58
        * doc/gdb.texinfo: Sections relating to OpenRISC 1000 rewritten
59
        * opcodes/or32-dis.c: Signed offsets reinstated. Symbolic branch
60
        targets added.
61
        * opcodes/or32-opc.c: l.nop immediate arg made unsigned
62
        * gdb/breakpoint.c (bpstat_stop_status): The test to disallow a
63
        read watchpoint if the value had changed was unreliable and has
64
        been deleted. Trust the HW on this one.
65 146 jeremybenn
 
66 24 jeremybenn
2008-07-30  Jeremy Bennett  
67
 
68
        * NEWS: Details of OpenRISC 1000 port
69
        * or1k-tdep.c: New file, based on the OpenCores 5.3 port
70
        * or1k-tdep.h: New file, based on the OpenCores 5.3 port
71
        * or1k-jtag.c: New file, based on the OpenCores 5.3 port
72
        * or1k-jtag.h: New file, based on the OpenCores 5.3 port
73
        * remote-or1k.c: New file, based on the OpenCores 5.3 port
74
        * configure.tgt: Updated description of OpenRISC 1000 files
75
        * bfd/config.bfd: or32-*-*linux* added as match for
76
        targ_defvec=bfd_elf32_or32_big_vec
77
        * doc/or1k.texinfo: New file: Documentation of the OpenRISC 1000
78
        * doc/Makefile.in: Added OpenRISC 1000 document
79 146 jeremybenn
 
80 24 jeremybenn
2008-03-27  Joel Brobecker  
81
 
82
        * NEWS: Replace "Changes since GDB 6.7" into changes in GDB 6.8".
83
 
84
2008-03-27  Joel Brobecker  
85
 
86
        * README: Update GDB version number to 6.8.
87
        * version.in: Likewise.
88
 
89
2008-03-21  Thomas Mittelstaedt    (tiny change)
90
 
91
        * aix-thread.c (pdc_read_regs): Fix compiler warning.
92
        (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
93
        (store_regs_kernel_thread): Likewise.
94
 
95
2008-03-17  Daniel Jacobowitz  
96
 
97
        * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
98
        * symmisc.c (dump_symtab_1): Likewise.
99
        * wrapper.c (gdb_value_struct_elt): Likewise.
100
 
101
2008-03-17  Nick Hudson  
102
 
103
        * Makefile.in (amd64nbsd-nat.o): New dependency.
104
        * amd64nbsd-nat.c: Include "nbsd-nat.h".
105
        (_initialize_amd64nbsd_nat): Update target vector to use
106
        nbsd_pid_to_exec_file.
107
        * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
108
 
109
2008-03-13  Joel Brobecker  
110
 
111
        * version.in: Set version to 6.7.90.20080313-cvs.
112
 
113
2008-03-13  Joel Brobecker  
114
 
115
        GDB 6.7.90 released.
116
 
117
2008-03-13  Joel Brobecker  
118
 
119
        * version.in: Set version to 6.7.90.
120
 
121
2008-03-13  Joel Brobecker  
122
 
123
        * README: Update GDB version number to 6.7.90.
124
 
125
2008-03-12  Pedro Alves  
126
 
127
        * thread.c (add_thread): Use printf_unfiltered to print.
128
 
129
2008-03-12  Joel Brobecker  
130
 
131
        * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
132
        that is true only on x86-solaris and x86_64-solaris.
133
        * procfs.c: Likewise. Move procfs_find_LDT_entry up together
134
        with proc_get_LDT_entry.
135
 
136
2008-03-10  Matt Rice  
137
 
138
        * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
139
 
140
2008-03-04  Daniel Jacobowitz  
141
 
142
        * frame.c (reinit_frame_cache): Only annotate if frames were
143
        previously valid.
144
 
145
2008-03-04  Greg Law  
146
 
147
        * regcache.c (registers_changed): Call reinit_frame_cache.
148
 
149
2008-03-04  Thiago Jung Bauermann  
150
 
151
        * amd64-tdep.c (amd64_classify): Add support for decimal float
152
        types.
153
        * i386-tdep.c (i386_return_value): Make 128-bit decimal float
154
        use the struct return convention.
155
 
156
2008-02-29  Joel Brobecker  
157
 
158
        GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
159
        * version.in: Bump version to 6.7.90.20080226-cvs.
160
 
161
2008-02-26  Nick Roberts  
162
 
163
        * breakpoint.c (print_one_breakpoint_location): Revert Enb field
164
        to old format.  Discard breakpoint address if shared library is
165
        unloaded.
166
        (breakpoint_1): Adjust formatting of table header accordingly.
167
 
168
2008-02-25  Vladimir Prus  
169
 
170
       * remote.c (remote_get_threadlist): If the response
171
       is empty, don't try to parse it.
172
 
173
2008-02-23  Vladimir Prus  
174
 
175
        Unbreak 'target async'.
176
        * serial.c (serial_async): Set the
177
        handler function before enabling async
178
        mode.
179
 
180
2008-02-22  Daniel Jacobowitz  
181
 
182
        * solib-svr4.c (enable_break): Convert r_brk to a code address.
183
 
184
2008-02-21  Pedro Alves  
185
 
186
        * remote.c (extended_remote_attach_1): Set attach_flag.
187
        (extended_remote_create_inferior_1): Clear attach_flag.
188
 
189
2008-02-20  Daniel Jacobowitz  
190
 
191
        * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
192
        r_brk_offset.
193
        (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
194
        * solib-svr4.c (solib_svr4_r_brk): New.
195
        (open_symbol_file_object, svr4_current_sos): Always check the
196
        debug base.
197
        (svr4_fetch_objfile_link_map): Do not set debug_base.
198
        (enable_break): Use r_brk if it is set.
199
        (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
200
        (svr4_lp64_fetch_link_map_offsets): Likewise.
201
        * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
202
 
203
2008-02-20  Markus Deuling  
204
            Mark Kettenis  
205
 
206
        * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
207
        trad_frame_saved_reg.
208
        (trad-frame.h): New include.
209
 
210
        (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
211
        instead of frame_obstack_zalloc.
212
        (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
213
 
214
        * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
215
 
216
2008-02-20  Markus Deuling  
217
 
218
        * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
219
        from disassemble_info instead of gdbarch_byte_order.
220
 
221
        * mips-tdep.c (gdb_print_insn_mips): Likewise.
222
        * arm-tdep.c (gdb_print_insn_arm): Likewise.
223
 
224
2008-02-20  Markus Deuling  
225
 
226
        * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
227
        gdbarch as parameter.
228
 
229
        * gdbarch.{c,h}: Regenerate.
230
 
231
        * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
232
        parameter.
233
        * mem-break.c (default_memory_insert_breakpoint)
234
        (default_memory_remove_breakpoint): Likewise.
235
        * target.h (default_memory_remove_breakpoint)
236
        (default_memory_insert_breakpoint): Likewise.
237
 
238
        * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
239
        parameter. Replace current_gdbarch by gdbarch.
240
        * m32r-tdep.c (m32r_memory_insert_breakpoint)
241
        (m32r_memory_remove_breakpoint): Likewise.
242
 
243
2008-02-19  Daniel Jacobowitz  
244
 
245
        * MAINTAINERS: Add Vladimir Prus as MI maintainer.
246
 
247
2008-02-19  Joel Brobecker  
248
 
249
        * NEWS: Add entry describing Add support improvements.
250
 
251
2008-02-18  Markus Deuling  
252
 
253
        * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
254
        M68K_FP0_REGNUM.
255
 
256
2008-02-18  Markus Deuling  
257
 
258
        * sentinel-frame.c (sentinel_frame_prev_register): Do not call
259
        register_offset_hack anymore.
260
 
261
        * regcache.{c,h} (register_offset_hack): Remove.
262
 
263
2008-02-18  Markus Deuling  
264
 
265
        * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
266
 
267
        * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
268
        current_gdbarch by gdbarch.
269
        (hppa64_hpux_find_global_pointer): Likewise.
270
        * hppa-tdep.c (hppa_find_global_pointer): Likewise.
271
        (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
272
        find_global_pointer.
273
 
274
        * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
275
        parameter.
276
        * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
277
 
278
        * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
279
        of gdbarch_num_regs.
280
 
281
        * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
282
        replace current_gdbarch by gdbarch.
283
        (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
284
 
285
2008-02-18  Markus Deuling  
286
 
287
        * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
288
        and replace current_gdbarch by gdbarch.
289
 
290
        (store_register): Update call for exec_one_dummy_insn.
291
        (fetch_register, store_register): Update call of regmap.
292
 
293
        * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
294
        parameter and replace current_gdbarch by gdbarch.
295
 
296
        (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
297
        the current architecture. Update call for getregs_supplies and
298
        getfpregs_supplies.
299
        (ppcnbsd_fetch_inferior_registers): Likewise.
300
 
301
        * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
302
        replace current_gdbarch by gdbarch.
303
        (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
304
        get_regcache_arch to get at the current architecture. Update call for
305
        getfpregs_supplies.
306
 
307
2008-02-18  Markus Deuling  
308
 
309
        * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
310
        variables.
311
 
312
2008-02-15  Markus Deuling  
313
 
314
        * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
315
 
316
2008-02-14  Vladimir Prus  
317
 
318
        * NEWS: Mention pending breakpints in MI.
319
 
320
2008-02-14  Markus Deuling  
321
 
322
        * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
323
 
324
2008-02-13  Markus Deuling  
325
 
326
        Add script to build and test GDB using enable-targets=all.
327
 
328
        * gdb_buildall.sh: New file.
329
 
330
2008-02-11  Maxim Grigoriev  
331
 
332
        * NEWS (New native configurations): Xtensa GNU/Linux.
333
        (New targets): Xtensa GNU/Linux.
334
        * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
335
        xtensa-linux-tdep.o
336
        (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
337
        (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
338
        * configure.tgt (xtensa*-*-linux*): New entry.
339
        * xtensa-config.c (xtensa_tdep): New variable.
340
        (xtensa_config_byte_order, xtensa_config_tdep): Removed.
341
        (rmap): Change format based on new macro XTREG.
342
        (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
343
        * xtensa-linux-nat.c: New.
344
        * xtensa-linux-tdep.c: New.
345
        * xtensa-xtregs.c: New.
346
        * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
347
        (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
348
        (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
349
        (xtensa_register_t): New field coprocessor.
350
        (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
351
        * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
352
        (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
353
        Update to handle privileged registers.
354
        (xtensa_supply_gregset) Remove exccause and excvaddr registers.
355
        (xtensa_push_dummy_call): Set windowstart register correctly.
356
        (call0_analyze_prologue): Initialize xtensa_default_isa.
357
        (xtensa_derive_tdep): New.
358
        (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
359
        xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
360
        Call xtensa_derive_tdep().
361
        * config/xtensa/linux.mh: New.
362
        * regformats/reg-xtensa.dat: New.
363
 
364
2008-02-09  Aleksandar Ristovski    (tiny change)
365
 
366
        * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
367
        (filenames.h): New include.
368
        * Makefile.in (corelow.o): Add dependency for filenames.h.
369
 
370
2008-02-08  Doug Evans  
371
 
372
        * source.c (find_and_open_source): Always rewrite absolute filenames.
373
 
374
2008-02-07  Doug Evans  
375
 
376
        * breakpoint.c: #include "hashtab.h".
377
        (ambiguous_names_p): New fn.
378
        (update_breakpoint_locations): When restoring bp enable status, don't
379
        compare function names if any functions have same name.
380
        * Makefile.in (breakpoint.o): Add hashtab.h dependency.
381
 
382
2008-02-07  Joel Brobecker  
383
 
384
        * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
385
        instead of just a VEC*. Update use of SV.
386
        (ada_make_symbol_completion_list): Update symbol_completion_add calls.
387
 
388
2007-02-07  Joel Brobecker  
389
 
390
        * NEWS: Put all new commands since gdb-6.7 together.
391
 
392
2007-02-07  Joel Brobecker  
393
 
394
        * ada-lang.c: #include "vec.h".
395
        (struct string_vector, new_string_vector, string_vector_append):
396
        Delete.
397
        (char_ptr): New typedef.
398
        (DEF_VEC_P (char_ptr)): New VEC type.
399
        (symbol_completion_add): Update profile to take the new VEC type
400
        instead of the old string_vector structure. Update code accordingly.
401
        (ada_make_symbol_completion_list): Use the new VEC type instead of
402
        the old string_vector structure, and update the code accordingly.
403
        * Makefile.in (ada-lang.o): Add dependency on vec.h.
404
 
405
2008-02-06  Pierre Muller  
406
 
407
        * p-exp.y: Set current_type in missing places.
408
        (leftdiv_is_integer): New static variable.
409
        Typecast right operand of BINOP_DIV to long_double if both operands
410
        are integers.
411
 
412
2008-02-06  Maciej W. Rozycki  
413
 
414
        * remote-mips.c (set_breakpoint): Rename to...
415
        (mips_set_breakpoint): ... this.
416
        (clear_breakpoint): Rename to...
417
        (mips_clear_breakpoint): ... this.
418
        (common_breakpoint): Rename to...
419
        (mips_common_breakpoint): ... this.
420
        (check_lsi_error): Rename to...
421
        (mips_check_lsi_error): ... this.
422
 
423
2007-02-05  Joel Brobecker  
424
 
425
        * language.h (struct language_defn): Add new field
426
        la_make_symbol_completion_list.
427
        * symtab.c (default_make_symbol_completion_list): Renames
428
        make_symbol_completion_list.
429
        (make_symbol_completion_list): New function.
430
        * symtab.h (default_make_symbol_completion_list): Add declaration.
431
        * langauge.c (unknown_language): Set la_make_symbol_completion_list.
432
        (auto_language, local_language): Likewise.
433
        * objc-lang.c (objc_language_defn): Likewise.
434
        * scm-lang.c (scm_language_defn): Likewise.
435
        * m2-lang.c (m2_language_defn): Likewise.
436
        * f-lang.c (f_language_defn): Likewise.
437
        * jv-lang.c (java_language_defn): Likewise.
438
        * p-lang.c (pascal_language_defn): Likewise.
439
        * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
440
        (minimal_language_defn): Likewise.
441
        * ada-lang.c (struct string_vector): New structure.
442
        (new_string_vector, string_vector_append, ada_unqualified_name)
443
        (add_angle_brackets, symbol_completion_match, symbol_completion_add)
444
        (ada_make_symbol_completion_list): New functions.
445
        (ada_language_defn): Set la_make_symbol_completion_list.
446
        * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
447
        this function is static.
448
 
449
2008-02-05  Kevin Buettner  
450
 
451
        * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
452
        to account for call site optimizations.
453
 
454
2008-02-05  Andrzej Zaborowski  
455
 
456
        * tracepoint.c (read_actions): Handle end-of-text indicator
457
        in action list properly.  (Committed by Jim Blandy)
458
 
459
2008-02-05  Jim Blandy  
460
 
461
        * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
462
        pseudoregister, not an internal error.
463
        Reported by: Andrzej Zaborowski
464
 
465
2008-02-04  Vladimir Prus  
466
 
467
        * varobj.c (c_value_of_variable): Use xstrdup.
468
 
469
2008-02-04  Vladimir Prus  
470
 
471
        Update stored rendition of varobj value when format changes.
472
        * varobj.c (varobj_set_display_format): Recomputed
473
        print_value.
474
        (c_value_of_variable): Return print_value.
475
 
476
2008-02-03  Doug Evans  
477
 
478
        * eval.c (evaluate_subexp_standard): Fix type of result of mixed
479
        integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
480
        * valops.c (value_one): New function.
481
        * value.h (value_one): Declare.
482
 
483
        Fix argument promotion for binary arithmetic ops for C.
484
        * valarith.c (unop_result_type): New fn.
485
        (binop_result_type): New fn.
486
        (value_binop): Move result type computation to binop_result_type.
487
        (value_pos, value_neg, value_complement): Move result type
488
        computation to unop_result_type.
489
 
490
        PR 2384
491
        * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
492
        Return basetype, fieldno if found.  All callers updated.
493
        Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
494
        objfile.
495
        * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
496
        * symfile.h (fill_in_vptr_fieldno): Delete.
497
 
498
2008-02-02  Doug Evans  
499
 
500
        * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
501
 
502
        * typeprint.c (*): Whitespace cleanup.
503
 
504
2008-02-02  Mark Kettenis  
505
            Luis Machado  
506
            Thiago Jung Bauermann  
507
 
508
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
509
        don't fit into registerson the stack the way GCC does.
510
 
511
2008-02-01  Joel Brobecker  
512
 
513
        * symtab.c (symbol_set_names): Do not add an entry in the demangling
514
        hash table for Ada symbols. Just store the linkage name as is,
515
        and leave the demangled_name as NULL.
516
 
517
2007-02-01  Joel Brobecker  
518
 
519
        * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
520
        in the global scope.
521
        (new_symbol): Likewise.
522
 
523
2008-02-01  Vladimir Prus  
524
 
525
        * breakpoint.c (break_command_1): Return void.
526
        (break_command_really): Return void.  Rethrow
527
        exceptions instead of returning.
528
        (gdb_breakpoint): Remove the error_message parameter.
529
        Return void.  Rename to set_breakpoint.
530
        * gdb.h (gdb_breakpoint): Rename and move to...
531
        * breakpoint.h (set_breakpoint): ...here.
532
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
533
        event hooks even if exception is thrown.  Adjust to
534
        gdb_breakpoint interface changes.
535
 
536
 
537
2008-02-01  Thiago Jung Bauermann  
538
 
539
        * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
540
        float in both first and second word in the doubleword, to support
541
        old and new ABIs.
542
 
543
2008-02-01  Vladimir Prus  
544
 
545
        Properly rethrow exception.  This fixes errors
546
        about non-existent functions for -break-insert.
547
        * breakpoint.c (break_command_really): Use throw_exception
548
        for rethrowing.  If rethrowing, don't print the exception.
549
 
550
2008-01-31  Thiago Jung Bauermann  
551
 
552
        * NEWS: Mention Decimal Floating Point support.
553
 
554
2008-01-31  Joel Brobecker  
555
 
556
        * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
557
        value type to builtin_type_void_func_ptr.
558
 
559
2008-01-31  Andreas Krebbel  
560
 
561
        * s390-tdep.c (is_float_singleton, is_float_like,
562
        alignment_of, s390_return_value): Make checks for
563
        TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
564
 
565
2008-01-31  Luis Machado  
566
            Thiago Jung Bauermann  
567
 
568
        * infcmd.c (default_print_registers_info): Also print hex
569
        raw contents for TYPE_CODE_DECFLOAT registers.
570
        * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
571
        * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
572
        (rs6000_register_name): Add support for DFP pseudo-registers.
573
        (rs6000_pseudo_register_type): Likewise.
574
        rs6000_pseudo_register_reggroup_p): Likewise.
575
        (ppc_pseudo_register_read): New function.
576
        (ppc_pseudo_register_write): Likewise.
577
        (rs6000_pseudo_register_read): Likewise.
578
        (rs6000_pseudo_register_write): Likewise.
579
        (e500_pseudo_register_read): Move checks to
580
        rs6000_pseudo_register_read.
581
        (e500_pseudo_register_write): Move checks to
582
        rs6000_pseudo_register_write.
583
        (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
584
        rs6000_pseudo_register_read and rs6000_pseudo_register_write
585
        in gdbarch if SPE or DFP is available.  Adjust gdbarch's
586
        num_pseudo_regs to account for DFP pseudo regs.
587
 
588
2008-01-31  Thiago Jung Bauermann  
589
 
590
        * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
591
        * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
592
        (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
593
        rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
594
        e500_pseudo_register_read, e500_pseudo_register_write): Use
595
        IS_SPE_PSEUDOREG macro.
596
        (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
597
        (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
598
        Remove initialization of tdep->ppc_ev31_regnum.
599
 
600
2008-01-08  Paul Hilfinger  
601
 
602
        * printcmd.c (print_formatted): Handle references as for unformatted
603
        prints.
604
 
605
2008-01-30  Joel Brobecker  
606
 
607
        * eval.c (evaluate_subexp_standard): Add handling of user
608
        registers when in EVAL_AVOID_SIDE_EFFECTS mode.
609
 
610
2008-01-30  Pierre Muller  
611
 
612
        * eval.c (evaluate_subexp_standard): Support
613
        BINOP_INTDIV opcode.
614
 
615
2008-01-30  Paul N. Hilfinger  
616
 
617
        * valarith.c (value_binop): Add floating-point BINOP_MIN and
618
        BINOP_MAX cases.
619
        For BINOP_EXP, use length and signedness of left operand only for
620
        result, as for shifts.
621
        For integral operands to BINOP_EXP, use new integer_pow and
622
        uinteger_pow functions so as to get full range of results.
623
        (integer_pow): New function.
624
        (uinteger_pow): New function.
625
 
626
2008-01-30  Vladimir Prus  
627
 
628
        Use vector for varobj_list_children interface.
629
        * gdb/varobj.c (varobj_list_children): Return vector
630
        of varobjs.
631
        * gdb/varobj.h (varobj_list_children): Adjust
632
        prototype.
633
        (varobj_p): Declare.  Declare vector thereof.
634
        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
635
        for varobj_list_children change.
636
        * Makefile.in (varobj_h): Update dependencies.
637
 
638
2008-01-30  Thiago Jung Bauermann  
639
 
640
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
641
        TYPE_CODE_DECFLOAT arguments.
642
        (ppc64_sysv_abi_push_dummy_call) Likewise.
643
        (get_decimal_float_return_value): New function.
644
        (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
645
        values by calling get_decimal_float_return_value.
646
        (ppc64_sysv_abi_return_value): Likewise.
647
 
648
2008-01-30  Nick Roberts  
649
 
650
        * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):  Add field
651
        for preprocessor macro information.  Formatting changes.
652
 
653
2008-01-29  Daniel Jacobowitz  
654
 
655
        * remote.c (struct remote_state): Add cached_wait_status.
656
        (remote_exec_file): New variable.
657
        (PACKET_vAttach, PACKET_vRun): New constants.
658
        (extended_remote_restart): Do not query for status.
659
        (struct start_remote_args): New.
660
        (remote_start_remote): Take it as a second argument.  Check
661
        whether the target is running.  Issue an error for non-running
662
        non-extended targets.  Cache the wait status.  Set inferior_ptid
663
        here.
664
        (remote_open_1): Prompt to disconnect non-running targets.  Make
665
        sure the target is marked running.  Do not set inferior_ptid here.
666
        Update call to remote_start_remote.  Do not call remote_check_symbols
667
        if the target is not running.
668
        (remote_detach_1): Rename from remote_detach.  Take an EXTENDED
669
        argument.  Handle a non-running target.
670
        (remote_detach): Use it.
671
        (extended_remote_detach): New.
672
        (remote_disconnect): Fix typo.  Use remoute_mourn_1.
673
        (extended_remote_attach_1, extended_remote_attach)
674
        (extended_async_remote_attach): New.
675
        (remote_vcont_resume): Remove unused variable.
676
        (remote_wait, remote_async_wait): Use any cached wait status.
677
        (putpkt_binary, getpkt): Clear any cached wait status.
678
        (extended_remoute_mourn_1): New.
679
        (extended_remote_mourn): Use it.
680
        (extended_async_remote_mourn, extended_remote_run): New.
681
        (extended_remote_create_inferior_1): New.
682
        (extended_remote_create_inferior): Use it.
683
        (extended_remote_async_create_inferior): Likewise.
684
        (remote_xfer_partial): Skip for non-executing targets.
685
        (init_extended_remote_ops): Set to_detach and to_attach.
686
        (init_extended_async_remote_ops): Likewise.  Use
687
        extended_async_remote_mourn.
688
        (_initialize_remote): Register vAttach, vRun, and
689
        set remote exec-file.
690
        * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
691
 
692
2008-01-29  Daniel Jacobowitz  
693
 
694
        * Makefile.in (symfile.o): Update.
695
        * NEWS: Mention exec tracing support.
696
        * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
697
        exec events.
698
        * infcmd.c (kill_if_already_running, detach_command)
699
        (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
700
        * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
701
        (follow_exec): Do not check may_follow_exec.  Do not mourn and push
702
        targets.  Apply the sysroot path to the loaded executable.  Use
703
        no_shared_libraries.
704
        * linux-nat.c (linux_child_follow_fork): Print fork following
705
        messages if verbose.
706
        (kill_wait_callback): Kill again before waiting a second time.
707
        * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
708
        no_shared_libraries.
709
 
710
2008-01-29  Joel Brobecker  
711
 
712
        * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
713
 
714
2008-01-29  Joel Brobecker  
715
 
716
        * nto-tdep.h: Remove #include "defs.h".
717
        * nto-tdep.c: Add #include "defs.h".
718
        * Makefile.in (nto_tdep_h): Update dependencies.
719
        (nto-tdep.o): Likewise.
720
 
721
2008-01-29  Joel Brobecker  
722
 
723
        * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
724
        and use it.
725
        (proceed, start_remote): Update call to wait_for_inferior.
726
        * inferior.h (wait_for_inferior): Update declaration.
727
        * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
728
        solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
729
        * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
730
        TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
731
 
732
2008-01-29  Aleksandar Ristovski  
733
 
734
        * varobj (adjust_value_for_child_access): Added checking for
735
        returned value from gdb_value_ind.
736
        (c_describe_child): Likewise.
737
        (cplus_describe_child): Fixed a typo.
738
 
739
2008-01-29  Jim Blandy  
740
 
741
        * MAINTAINERS: Update my info.
742
 
743
2008-01-29  Vladimir Prus  
744
 
745
        Use multiple locations for hardware watchpoints.
746
        This eliminates the need to traverse value chain, doing
747
        various checks, in three different places.
748
 
749
        * breakpoint.h (struct bp_location): New fields
750
        lengths and watchpoint_type.
751
        (struct breakpoint): Remove the val_chain field.
752
        * breakpoint.c (is_hardware_watchpoint): New.
753
        (free_valchain): Remove.
754
        (update_watchpoint): New.
755
        (insert_bp_location): For hardware watchpoint, just
756
        directly insert it.
757
        (insert_breakpoints): Call update_watchpoint_locations
758
        on all watchpoints.  If we have failed to insert
759
        any location of a hardware watchpoint, remove all inserted
760
        locations.
761
        (remove_breakpoint): For hardware watchpoints, directly
762
        remove location.
763
        (watchpoints_triggered): Iterate over locations.
764
        (bpstat_stop_status): Use only first location of
765
        a resource watchpoint.
766
        (delete_breakpoint): Don't call free_valchain.
767
        (print_one_breakpoint): Don't print all
768
        locations for watchpoints.
769
        (breakpoint_re_set_one): Use update_watchpoint for
770
        watchpoints.
771
 
772
2008-01-29  Vladimir Prus  
773
 
774
        Don't reset watchpoint block on solib load.
775
 
776
        * breakpoint.c (insert_bp_location): For watchpoints,
777
        recompute condition.
778
        (breakpoint_re_set_one): Instead of recomputing value
779
        and condition for watchpoints, just reset value and
780
        let insert_breakpoints/insert_bp_location recompute it.
781
        Don't do anything about disabled watchpoint.
782
 
783
2008-01-29  Pierre Muller  
784
 
785
        * valarith.c (value_binop): Handle unsigned integer
786
        division by zero.
787
 
788
2008-01-28  Kevin Buettner  
789
 
790
        * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
791
        instruction pattern that appears frequently in position
792
        independent code.  Fix bug in code which looks for "fmov" and
793
        backtracks if no "fmov" is found.
794
 
795
2008-01-28  Doug Evans  
796
 
797
        * dbxread.c (read_dbx_symtab): Fix indentation.
798
        Reformat comments to 80 columns.
799
        Move local var def closer to only use.
800
 
801
2008-01-28  Daniel Jacobowitz  
802
 
803
        * fork-child.c (SHELL_FILE): Remove #ifndef.
804
        (fork_inferior): Remove SHELL_COMMAND_CONCAT.
805
 
806
2008-01-25  Pierre Muller  
807
 
808
        * i386-tdep.c (i386_skip_noop): New function.
809
        (i386_analyze_prologue): Call i386_skip_noop function.
810
 
811
2008-01-24  Michael Snyder  
812
 
813
        * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
814
        * win32-nat.c (win32_xfer_partial): Ditto.
815
        * target.c (default_xfer_partial): Minor whitespace adjustment.
816
 
817
2008-01-24  Pedro Alves  
818
 
819
        * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
820
        strip bit 1 even if pc doesn't point to thumb code.
821
 
822
2008-01-23  Daniel Jacobowitz  
823
 
824
        * remote.c (remote_wait): Handle SIGINT between packets.
825
        (remote_async_wait): Likewise.
826
 
827
2008-01-23  Vladimir Prus  
828
            Chris Demetriou  
829
 
830
        * thread.c (add_thread_silent): Renamed
831
        from add_thread.
832
        (print_thread_events): New variable definition.
833
        (show_print_thread_events): New function.
834
        (_initialize_thread): Add "set print thread-events" and
835
        "show print thread-events" commands.
836
        (add_thread): Announce new thread.
837
        * gdbthread.h (add_thread_silent): Declare.
838
        (print_thread_events): New variable declaration.
839
        * inf-ttrace.c (inf_ttrace_wait): Don't
840
        inform about new thread, as add_thread is always
841
        called too, and will take care of that.
842
        * infrun.c (handle_inferior_event): Likewise.
843
        * procfs.c (procfs_wait): Likewise.
844
        * remote.c (remote_currthread): Likewise.
845
        * sol-thread.c (sol_thread_wait): Likewise.
846
        * win32-nat.c (get_win32_debug_event): Likewise.
847
        * linux-thread-db.c (attach_thread): Likewise.
848
        Remove the verbose parameter.
849
        (check_event): Make detach_thread be verbose
850
        only if print_thread_events is set.
851
        * linux-nat.c (lin_lwp_attach_lwp): Don't inform
852
        about new thread.  This is called only from
853
        linux-thread-db.c:attach_thread, which will take care.
854
        Remove the verbose parameter.
855
        * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
856
 
857
2008-01-23  Nick Roberts  
858
 
859
        * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
860
 
861
2008-01-22  Vladimir Prus  
862
 
863
        * breakpoint.c (break_command_really): New parameter
864
        ignore_count.
865
        (break_command_1): Pass 0 as
866
        ignore_count to break_command_really.
867
        (gdb_breakpoint): Pass ignore_count to
868
        break_command_really.
869
 
870
2008-01-21  Kevin Buettner  
871
 
872
        * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
873
        sigcontext struct via pointer.
874
        (struct sigframe comment): Update to show new field `psc'.
875
 
876
2008-01-21  Vladimir Prus  
877
 
878
        * infrun.c (handle_inferior_event): If
879
        we failed to remove breakpoints, error,
880
        don't try to increment PC by hand.
881
 
882
2008-01-18  Nick Hudson  
883
 
884
        Add NetBSD/hppa target and host support.
885
 
886
        * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
887
        (hppabsd_gregset): Move to ...
888
        (hppabsd_regset_from_core_section): Rename
889
        hppaobsd_regset_from_core_section and move to ...
890
        (hppabsd_find_global_pointer): Update comment.
891
        (hppabsd_init_abi): Make global. Do not register
892
        hppabsd_regset_from_core_section.
893
        (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
894
        move to ...
895
        (_initialize_hppabsd_tdep): Move to ...
896
        * hppaobsd-tdep.c: ... here. New file.
897
        * hppnbsd-tdep.c: New file.
898
        * hppnbsd-nat.c: New file.
899
        * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
900
        (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
901
        (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
902
        (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
903
        * configure.host (hppa*-*-netbsd*): New entry.
904
        * configure.tgt (hppa*-*-netbsd*): New entry.
905
        (hppa*-*-openbsd*): Update.
906
        * NEWS (New native configuration): Mention NetBSD/hppa.
907
        (New targets): Mention NetBSD/hppa.
908
 
909
2008-01-18  Markus Deuling  
910
 
911
        * gdbarch.sh (function_list): Add new property bits_big_endian to
912
        gdbarch structure.
913
        * gdbarch.{c,h}: Regenerate.
914
 
915
        * value.c (struct value): Replace BITS_BIG_ENDIAN by
916
        gdbarch_bits_big_endian (comment).
917
        (unpack_field_as_long, modify_field): Likewise.
918
        * value.h: Likewise (comment).
919
        * valops.c (value_slice): Likewise.
920
        * valarith.c (value_subscript, value_bit_index): Likewise.
921
        * gdbtypes.h (field): Likewise (comment).
922
        * eval.c (evaluate_subexp_standard): Likewise.
923
        * dwarf2read.c (dwarf2_add_field): Likewise.
924
        * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
925
        (move_bits, ada_value_assign, value_assign_to_component): Likewise.
926
 
927
        * defs.h (BITS_BIG_ENDIAN): Remove.
928
 
929
2008-01-18  Markus Deuling  
930
 
931
        * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
932
        function calls.
933
        * m2-exp.y (yylex): Likewise.
934
        * objc-exp.y (yylex): Likewise.
935
 
936
        * defs.h (DEPRECATED_STREQN): Remove.
937
 
938
2008-01-17  H.J. Lu  
939
 
940
        * MAINTAINERS: Update my email address.
941
 
942
2008-01-17  Jim Blandy  
943
 
944
        * README: Mention gdbserver/README.
945
 
946
2008-01-17  Pierre Muller  
947
 
948
        * valarith.c (value_binop): Handle BINOP_INTDIV
949
        for unsigned and signed integers.
950
 
951
2008-01-17  Ulrich Weigand  
952
 
953
        * s390-tdep.c (s390_gdbarch_init): Set default long double
954
        type to 128-bit IEEE quad.
955
 
956
2008-01-17  Joel Brobecker  
957
 
958
        * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
959
 
960
2008-01-16  Mark Kettenis  
961
 
962
        * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
963
 
964
        * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
965
        * value.c: All callers changed.
966
 
967
2008-01-16  Markus Deuling  
968
 
969
        * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
970
        DEPRECATED_STREQ by its expression.
971
        * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
972
        * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
973
        (scan_xcoff_symtab): Likewise.
974
        * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
975
        * f-lang.c (find_common_for_function): Likewise.
976
        * objc-exp.y (parse_number): Likewise.
977
 
978
        * defs.h (DEPRECATED_STREQ): Remove.
979
 
980
2008-01-16  Markus Deuling  
981
 
982
        * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
983
        * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
984
        get_frame_arch to get at the current_architecture. Update AM33_MODE
985
        call.
986
        (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
987
        (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
988
        architecture.
989
        (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
990
 
991
2008-01-16  Markus Deuling  
992
 
993
        * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
994
        parameter.
995
        * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
996
 
997
        (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
998
        current_gdbarch by gdbarch. Update caller.
999
 
1000
        * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
1001
        (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
1002
        the current architecture. Update calls of
1003
        amd64_native_gregset_supplies_p.
1004
        * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
1005
        (amd64bsd_store_inferior_registers): Likewise.
1006
 
1007
2008-01-16  Markus Deuling  
1008
 
1009
        * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
1010
        Replace current_gdbarch by gdbarch. Update caller.
1011
 
1012
2008-01-16  Markus Deuling  
1013
 
1014
        * dbxread.c (repeated_header_complaint, dbx_symfile_init)
1015
        (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
1016
        (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
1017
        (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
1018
        (stabsect_build_psymtabs): Fix indentation.
1019
 
1020
2008-01-15  Michael Snyder  
1021
 
1022
        * corelow.c (core_xfer_partial): Comment, cut/paste error.
1023
 
1024
2008-01-14  Pierre Muller  
1025
 
1026
        * win32-nat.c (win32_create_inferior): Restore code calling
1027
        CloseHandle on ProcessInformation structure.
1028
 
1029
2008-01-13  Nick Hudson  
1030
 
1031
        * configure.ac: Check for void * as 3 argument of ptrace.
1032
        * configure: regenerate.
1033
 
1034
2008-01-11  Markus Deuling  
1035
 
1036
        * alpha-tdep.c (alpha_heuristic_proc_start)
1037
        (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
1038
        current_gdbarch by gdbarch.
1039
 
1040
        (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
1041
        current architecture by frame_info. Update alpha_heuristic_proc_start
1042
        call.
1043
 
1044
        (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
1045
        get_frame_arch to get at the current architecture by frame_info. Update
1046
        alpha_sigtramp_register_address call.
1047
 
1048
        * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
1049
        current_gdbarch by gdbarch. Update caller.
1050
        (convert_to_extended, convert_from_extended): Add endianess parameter
1051
        for comparison. Update caller.
1052
        (arm_extract_return_value, arm_store_return_value): Use
1053
        get_regcache_arch to get at the current architecture.
1054
 
1055
        * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
1056
        current_gdbarch by gdbarch. Update caller.
1057
        (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
1058
        gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
1059
 
1060
        * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
1061
        gdbarch as parameter. Update caller.
1062
        (h8300_init_frame_cache): Add gdbarch as parameter. Replace
1063
        current_gdbarch by gdbarch. Update caller.
1064
 
1065
        * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
1066
        update caller. Replace current_gdbarch by gdbarch.
1067
 
1068
        * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
1069
        the current architecture. Replace current_gdbarch by gdbarch.
1070
        * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1071
        (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
1072
        expression. Add gdbarch as parameter and replace current_gdbarch with
1073
        it. Update caller.
1074
        (M6811_TDEP): Remove.
1075
        (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
1076
        architecture.
1077
        (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
1078
        current_gdbarch by gdbarch. Update caller.
1079
 
1080
        * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1081
        update caller.
1082
        (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1083
        by gdbarch.
1084
 
1085
        * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1086
        caller. Relace current_gdbarch by gdbarch.
1087
        (altivec_register_p, spe_register_p): Likewise.
1088
        * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1089
        parameter.
1090
        * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1091
        altivec_register_p and spe_register_p.
1092
 
1093
        * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1094
        caller. Replace current_gdbarch by gdbarch.
1095
        (score_analyze_prologue): use get_frame_arch to get at the current
1096
        architecture.
1097
 
1098
        * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1099
        * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1100
        current_gdbarch by gdbarch. Update caller.
1101
        (sparc_frame_cache): Use get_frame_arch to get at the current
1102
        architecture.
1103
        * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1104
        sparc_analyze_prologue.
1105
 
1106
        * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1107
        parameter.
1108
 
1109
2008-01-11  Markus Deuling  
1110
 
1111
        * exec.c: #include "arch-utils.h"
1112
         (print_section_info): Use gdbarch_from_bfd to get at the
1113
        current architecture. Replace current_gdbarch. Fix indention. Replace
1114
        deprecated_print_address_numeric by paddress.
1115
        * Makefile.in (exec.o) Add dependency to arch-utils.h.
1116
 
1117
        * valprint.c (val_print_string): Replace
1118
        deprecated_print_address_numeric.
1119
        * tracepoint.c (trace_mention, scope_info): Likewise.
1120
        * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1121
        (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1122
        (maintenance_check_symtabs): Likewise.
1123
        * symfile.c (list_overlays_command): Likewise.
1124
        * stack.c (frame_info, print_block_frame_labels): Likewise.
1125
        * printcmd.c (print_address, print_address_demangle)
1126
        (address_info): Likewise.
1127
        * corefile.c (memory_error): Likewise.
1128
        * infcmd.c (jump_command): Likewise.
1129
        * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1130
        (mention, delete_breakpoint): Likewise.
1131
        * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1132
        * dwarf2read.c (dump_die): Likewise.
1133
        * ada-valprint.c (ada_val_print_1): Likewise.
1134
        * f-valprint.c (f_val_print): Likewise.
1135
        * linux-fork.c (info_forks_command): Likewise.
1136
        * m32r-com.c (m32r_load_section, m32r_load)
1137
        (m32r_upload_command): Likewise.
1138
 
1139
        * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1140
 
1141
2008-01-11  Markus Deuling  
1142
 
1143
        * gdbarch.sh (skip_prologue): Add gdbarch
1144
        as parameter.
1145
        * gdbarch.{c,h}: Regenerate.
1146
 
1147
        * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1148
        * amd64-tdep.c (amd64_skip_prologue): Likewise.
1149
        * avr-tdep.c (avr_skip_prologue): Likewise.
1150
        * cris-tdep.c (cris_skip_prologue): Likewise.
1151
        * frv-tdep.c (frv_skip_prologue): Likewise.
1152
        * h8300-tdep.c (h8300_skip_prologue): Likewise.
1153
        * hppa-tdep.c (hppa_skip_prologue): Likewise.
1154
        * i386-tdep.c (i386_skip_prologue): Likewise.
1155
        * ia64-tdep.c (ia64_skip_prologue): Likewise.
1156
        * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1157
        * m32r-tdep.c (m32r_skip_prologue): Likewise.
1158
        * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1159
        * m68k-tdep.c (m68k_skip_prologue): Likewise.
1160
        * m88k-tdep.c (m88k_skip_prologue): Likewise.
1161
        * mep-tdep.c (mep_skip_prologue): Likewise.
1162
        * mips-tdep.c (mips_skip_prologue): Likewise.
1163
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1164
        * mt-tdep.c (mt_skip_prologue): Likewise.
1165
        * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1166
        * score-tdep.c (score_skip_prologue): Likewise.
1167
        * sh64-tdep.c (sh64_skip_prologue): Likewise.
1168
        * sh-tdep.c (sh_skip_prologue): Likewise.
1169
        * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1170
        * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1171
        * spu-tdep.c (spu_skip_prologue): Likewise.
1172
        * v850-tdep.c (v850_skip_prologue): Likewise.
1173
        * vax-tdep.c (vax_skip_prologue): Likewise.
1174
        * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1175
        * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1176
 
1177
        * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1178
        current_gdbarch by gdbarch.
1179
        * m32c-tdep.c (m32c_skip_prologue): Likewise.
1180
        * s390-tdep.c (s390_skip_prologue): Likewise.
1181
 
1182
2008-01-10  Doug Evans  
1183
 
1184
        * defs.h (struct continuation_arg): Fix typo in comment.
1185
        * target.c (target_translate_tls_address): Fix comment spelling error.
1186
 
1187
2008-01-09  Thiago Jung Bauermann  
1188
 
1189
        * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1190
        (DOUBLEST_SCAN_FORMAT): Likewise.
1191
        * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1192
        * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1193
        * c-exp.y (parse_number): Likewise.
1194
        * jv-exp.y (parse_number): Likewise.
1195
        * objc-exp.y (parse_number): Likewise.
1196
        * p-exp.y (parse_number): Likewise.
1197
 
1198
2008-01-09  Joel Brobecker  
1199
 
1200
        * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1201
        (check_typedef): Likewise.
1202
 
1203
2008-01-09  Luis Machado  
1204
 
1205
        * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1206
        seen_double_big_d, treat the new H, D, and DD modifiers as length
1207
        modifiers.
1208
 
1209
2008-01-08  Joel Brobecker  
1210
 
1211
        * dwarf2read.c (read_enumeration_type): Add comment.
1212
 
1213
2008-01-08  Thiago Jung Bauermann  
1214
 
1215
        * config.in: Regenerate.
1216
 
1217
2008-01-08  Joel Brobecker  
1218
 
1219
        * ada-lang.c (ada_convert_actual): Renames convert_actual.
1220
        Make non-static.
1221
        (ada_convert_actuals): Delete.
1222
        * ada-lang.h (ada_convert_actual): Add declaration.
1223
        (ada_convert_actuals): Remove declaration.
1224
        * infcall.c: #include "ada-lang.h".
1225
        (value_arg_coerce): Add new parameter sp.  Update function
1226
        documetnation.  Add handling of Ada function call parameters.
1227
        * Makefile.in (infcall.o): Update dependencies.
1228
 
1229
2008-01-08  Paul Hilfinger  
1230
 
1231
        * ada-lang.c (ensure_lval): Fix value lval kind.
1232
        (convert_actual): Add handling for arguments passed by reference.
1233
 
1234
2008-01-08  Doug Evans  
1235
 
1236
        * dbxread.c (read_dbx_symtab): Fix indentation.
1237
 
1238
2008-01-07  Thiago Jung Bauermann  
1239
 
1240
        * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1241
        (valarith.o): Depend on dfp.h.
1242
        (valops.o): Likewise.
1243
        * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1244
        (set_decnumber_context): New function.
1245
        (decimal_check_errors): Likewise.
1246
        (decimal_from_number): Likewise.
1247
        (decimal_to_number): Likewise.
1248
        (decimal_from_string): Use set_decnumber_context and
1249
        decimal_check_errors.
1250
        (decimal_from_integral): New function.
1251
        (decimal_from_floating): Likewise.
1252
        (decimal_to_double): Likewise.
1253
        (promote_decimal): Likewise.
1254
        (decimal_binop): Likewise.
1255
        (decimal_is_zero): Likewise.
1256
        (decimal_compare): Likewise.
1257
        (decimal_convert): Likewise.
1258
        * dfp.h (decimal_from_integral): New prototype.
1259
        (decimal_from_floating): Likewise.
1260
        (decimal_to_double): Likewise.
1261
        (decimal_binop): Likewise.
1262
        (decimal_is_zero): Likewise.
1263
        (decimal_compare): Likewise.
1264
        (decimal_convert): Likewise.
1265
        * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1266
        call to value_from_decfloat.
1267
        * valarith.c: Include dfp.h.
1268
        (value_args_as_decimal): New function.
1269
        (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1270
        (value_logical_not): Likewise.
1271
        (value_equal): Likewise.
1272
        (value_less): Likewise.
1273
        (value_pos): Likewise.
1274
        (value_neg): Formatting fix.
1275
        * valops.c: Include dfp.h.
1276
        (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1277
        * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1278
        (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1279
        (value_from_decfloat): Remove expect_type argument.
1280
        * value.h (value_from_decfloat): Update prototype.
1281
 
1282
2008-01-07  Vladimir Prus  
1283
 
1284
        Ignore change in name of dynamic linker during
1285
        execution on Solaris.  This also unbreaks pending breakpoints.
1286
 
1287
        * solist.h (struct target_so_ops): New field same.
1288
        * solib-svr4.c (svr4_same): New.
1289
        (_initialize_svr4_solib): Register svr4_same.
1290
        * solib.c (update_solib_list): Use ops->same, if available.
1291
 
1292
2008-01-06  Christopher Faylor  
1293
 
1294
        * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1295
        when using MS-DOS paths.
1296
 
1297
2008-01-05  Pedro Alves  
1298
 
1299
        * NEWS: Mention --pid and --core command line behaviour changes.
1300
 
1301
2008-01-05  Pedro Alves  
1302
 
1303
        * main.c (captured_main): Remove 'count' varible and the
1304
        ALIGN_STACK_ON_ENTRY block that used it.  Error out if --core and
1305
        --pid options were issued simultaneously.  If an explicit pid
1306
        option was passed, don't fallback to core file.  Detect extra
1307
        arguments better in the presence of explicit pid or core
1308
        arguments.
1309
 
1310
2008-01-05  Joel Brobecker  
1311
 
1312
        * ada-lang.c (ada_which_variant_applies): Correctly compute
1313
        the value of the discriminant when the variant record is packed.
1314
 
1315
2008-01-04  Joel Brobecker  
1316
 
1317
        * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1318
        that are used to differentiate homonyms.
1319
 
1320
2008-01-04  Jerome Guitton  
1321
 
1322
        * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1323
        when the type is an anonymous pointer type.
1324
        (ada_check_typedef): Avoid a seg fault when the type is null.
1325
        * ada-typeprint.c (print_array_type): Add support for pointer
1326
        to packed arrays.
1327
 
1328
2008-01-04  Paul N. Hilfinger  
1329
 
1330
        * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1331
 
1332
2008-01-04  Joel Brobecker  
1333
 
1334
        * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1335
        EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1336
 
1337
2008-01-04  Joel Brobecker  
1338
 
1339
        * ada-exp.y (chop_separator): New function.
1340
        (write_selectors): Rewrite to re-use chop_separator.
1341
        (ada_nget_field_index, get_symbol_field_type): New functions.
1342
        (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1343
        expressions.
1344
 
1345
2008-01-03  Thiago Jung Bauermann  
1346
 
1347
        * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1348
        of SYMBOL_VALUE when working with function symbols.
1349
 
1350
2008-01-03  Joel Brobecker  
1351
 
1352
        * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1353
        expressions.  These expressions do not need to be rewriten.
1354
 
1355
2008-01-03  Joel Brobecker  
1356
 
1357
        * dwarf2read.c (read_enumeration_type): Flag type as stub if
1358
        the given die is a declaration.
1359
 
1360
2008-01-03  Joel Brobecker  
1361
 
1362
        * ada-lang.c (ada_array_bound_from_type): Make non-static.
1363
        Handle properly the case when the index type is an enumerated type.
1364
        Do not return the subtype of the bounds type, just return the
1365
        bounds type directly - this is not needed and is more consistent
1366
        with what we do for arrays when no XA parallel type exists.
1367
 
1368
2008-01-03  Joel Brobecker  
1369
 
1370
        * ada-lang.c (static_unwrap_type): Add forward declaration.
1371
        (template_to_static_fixed_type): Fields of dynamic types sometimes
1372
        also need to be unwrapped. Take this into account.
1373
        (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1374
        (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1375
        * ada-typeprint.c (ada_print_type): Get the typename from
1376
        the original type, not the base type.
1377
 
1378
2008-01-03  Jerome Guitton  
1379
 
1380
        * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1381
        (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1382
        Update calls to ada_to_fixed_type.
1383
        (ada_template_to_fixed_record_type_1): Ditto, but without looking
1384
        for the tag.
1385
        (ada_to_fixed_type): Add check_tag parameter; do not look for
1386
        tag if null.  When looking for a tag, use a fixed record type.
1387
        * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1388
        * ada-valprint.c (printable_val_type, ada_value_print): Update
1389
        calls to ada_to_fixed_type.
1390
 
1391
2008-01-03  Luis Machado  
1392
 
1393
        * doublest.c (convert_floatformat_to_doublest): Call
1394
        floatformat_to_doublest instead of floatformat_to_double and use
1395
        DOUBLEST variables.
1396
        (convert_doublest_to_floatformat): Call floatformat_from_doublest
1397
        instead of floatformat_from_double and use DOUBLEST variables.
1398
 
1399
2008-01-03  Nick Hudson  
1400
 
1401
        * MAINTAINERS (Write After Approval): Add self.
1402
 
1403
2008-01-03  Joel Brobecker  
1404
 
1405
        * symfile.c (set_initial_language): Make non-static.
1406
        * symfile.h (set_initial_language): Add declaration.
1407
        * language.c: #include "symfile.h".
1408
        (set_language): Call set_initial_language if the frame language
1409
        could not be determined.
1410
 
1411
2008-01-03  Paul N. Hilfinger  
1412
 
1413
        * eval.c (evaluate_subexp_for_address): Provide frame address to
1414
        locate_var_value only if it will be needed.
1415
 
1416
2008-01-02  Jan Kratochvil  
1417
 
1418
        * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1419
 
1420
2008-01-02  Joel Brobecker  
1421
 
1422
        * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1423
        when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1424
        This is needed to make sure that any other treatment applied
1425
        to the resulting value does not fail for spurious reason,
1426
        such as trying to take the address of this value.
1427
 
1428
2008-01-02  Joel Brobecker  
1429
 
1430
        * ada-lang.c (ada_value_equal): Dereference reference types when
1431
        comparing arrays.
1432
 
1433
2008-01-01  Daniel Jacobowitz  
1434
 
1435
        Updated copyright notices for most files.
1436
 
1437
2008-01-01  Christopher Faylor  
1438
 
1439
        * win32-nat.c (psapi_module_handle): Remove static.
1440
        (get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to
1441
        return first module found if base_address is zero.  Don't initialize
1442
        psapi function pointers here.  Convert to cygwin paths when
1443
        appropriate.
1444
        (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1445
        executable name.  Use get_module_name when that fails or when
1446
        !__CYGWIN__.
1447
        (_initialize_psapi): New function.  Initialize psapi stuff before it is
1448
        needed or issue a warning if it is not found.  Move psapi_module_handle
1449
        here.
1450
 
1451
2008-01-01  Joel Brobecker  
1452
 
1453
        * ada-lang.c (ada_remove_trailing_digits): New function.
1454
        (ada_remove_po_subprogram_suffix): New function.
1455
        (ada_decode): Improve. Move the description of the algorithm
1456
        directly inside the code, instead of in the function global
1457
        description.
1458
 
1459
2008-01-01  Joel Brobecker  
1460
 
1461
        * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1462
        and always print the dereferenced value.
1463
 
1464
2008-01-01  Joel Brobecker  
1465
 
1466
        * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1467
        of the case where the first argument is a reference.
1468
        (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1469
 
1470
2008-01-01  Joel Brobecker  
1471
 
1472
        Implement support for Ada interface types.
1473
 
1474
        * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1475
        (ada_is_ignored_field): Ignore fields that are a dispatch table
1476
        of a tagged type.
1477
 
1478
2008-01-01  Joel Brobecker  
1479
 
1480
        * top.c (print_gdb_version): Update copyright year.
1481
 
1482
2008-01-01  Joel Brobecker  
1483
 
1484
        * ChangeLog-2007: New ChangeLog rotation.
1485
        * ChangeLog: Reset for 2008.
1486
        * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1487
        ChangeLog-2007.
1488
 
1489
For older changes see ChangeLog-2007.
1490
 
1491
Local Variables:
1492
mode: change-log
1493
left-margin: 8
1494
fill-column: 74
1495
version-control: never
1496
coding: utf-8
1497
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.